:root {
  --bg: #07112f;
  --bg-deep: #050d28;
  --blue: #1837d8;
  --blue-bright: #2448ff;
  --text: #ffffff;
  --muted: #aeb6ca;
  --line: rgba(255,255,255,.18);
  --card: #ffffff;
  --ink: #0b1736;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1336px, calc(100% - 88px));
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 20;
  padding: 28px 0 0;
}

.header__inner {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 28px;
}

.logo {
  width: 145px;
  min-width: 145px;
  height: 86px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo__car {
  position: absolute;
  bottom: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #f6f4ed;
}

.logo__text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #efe2b4;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.6vw, 44px);
  margin-left: 28px;
  flex: 1;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  color: #f5f6fb;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.nav a:hover {
  opacity: .72;
}

.nav__languages {
  display: none;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.phone__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;

  filter: brightness(0) saturate(100%) invert(82%) sepia(44%)
    saturate(3532%) hue-rotate(146deg) brightness(105%) contrast(104%);
}

.langs {
  display: flex;
  gap: 4px;
  font-size: 14px;
  margin-left: 5px;
}

.langs span {
  opacity: .88;
}

.langs strong {
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 32px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-bright);
}

.btn--outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.9);
}

.btn--outline:hover {
  background: rgba(255,255,255,.07);
}

.header__button {
  min-height: 66px;
  min-width: 197px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -5px;
  padding: 98px 0 0;
  background:
    radial-gradient(circle at 70% 47%, rgba(24,55,216,.11), transparent 25%),
    var(--bg);
}

.hero__inner {
  min-height: 662px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 4;
  padding-bottom: 102px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #1c47fb;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .01em;
}

.hero h1 {
  max-width: 705px;
  margin: 0;
  font-size: clamp(46px, 4.25vw, 65px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 800;
}

.hero h1 span {
  color: #2448ff;
}

.hero__description {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.3;
  color: #f4f6fb;
}

.advantages {
  display: flex;
  gap: 58px;
  margin-top: 64px;
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.advantage__icon {
  width: 50px;
  height: 56px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid currentColor;
  font-size: 27px;
  font-weight: 800;
  background: rgba(24,55,216,.08);
}

.advantage__image {
  width: 34px;
  height: 34px;
  object-fit: contain;

  filter: brightness(0) saturate(100%) invert(82%) sepia(44%)
    saturate(3532%) hue-rotate(146deg) brightness(105%) contrast(104%);
}

.advantage__icon--cyan {
  color: #16d4ff;
}

.advantage__icon--purple {
  color: #844dff;
}

.advantage h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.03;
  font-weight: 800;
}

.advantage p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.3;
  color: #a8b0c5;
}

.hero__actions {
  display: flex;
  gap: 40px;
  margin-top: 55px;
}

.hero__actions .btn {
  min-width: 198px;
}

.hero__actions .btn--outline {
  min-width: 278px;
}

.hero__visual {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(2%, -2%);
}

.car-card {
  position: relative;
  width: min(760px, 56vw);
  /* aspect-ratio: 1.47; */
  border-radius: 50%;
  transform: rotate(29deg);
  overflow: visible;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .34));
}

.car-card::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(42,93,255,.45), transparent 68%);
  filter: blur(28px);
  z-index: -1;
}

.car-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 1;
}

/* .car-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 34% 66% 43% 57% / 39% 38% 62% 61%;
  mix-blend-mode: screen;
  opacity: .88;
  box-shadow: 0 0 70px rgba(28,71,255,.22);
} */

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.glow--one {
  width: 230px;
  height: 230px;
  right: 26%;
  top: 28%;
  background: rgba(38,93,255,.2);
}

.glow--two {
  width: 170px;
  height: 170px;
  right: 2%;
  bottom: 20%;
  background: rgba(49,75,255,.17);
}

.service-card {
  position: relative;
  z-index: 8;
  margin-top: -16px;
  min-height: 192px;
  padding: 22px 36px 34px;
  border-radius: 30px 30px 0 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 -2px 0 rgba(0,0,0,.04);
}

.service-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.service-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap: 15px;
  margin-top: 28px;
}

.form-field {
  height: 52px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid #e0e5ef;
  border-radius: 13px;
  color: #6b7489;
  background: #f8f9fc;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field::placeholder {
  color: #6b7489;
  opacity: 1;
}

.form-field:hover {
  border-color: #aab7d4;
}

.form-field:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 55, 216, .12);
}

.form-field:invalid:not(:placeholder-shown) {
  border-color: #d83b54;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: -5px 0 0;
  color: #1837d8;
  font-size: 14px;
  font-weight: 600;
}

.footer {
  padding: 70px 0 24px;
  background: #fff;
  color: var(--ink);
}

.footer__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px clamp(28px, 5vw, 76px);
  padding-bottom: 48px;
  justify-content: space-between;
}

.footer__logo {
  display: block;
  width: 150px;
  height: 72px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p {
  max-width: 290px;
  margin: 14px 0 0;
  color: #687088;
  font-size: 15px;
  line-height: 1.5;
}

.footer__label {
  margin: 0 0 13px;
  color: #687088;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

.footer__contacts {
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  transform: translateX(-50%);
}

.footer__phone {
  color: var(--ink);
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer__links a {
  color: #5e687e;
  font-size: 14px;
  line-height: 1.35;
  transition: color .2s ease;
}

.footer__links a:hover {
  color: var(--blue);
}

.footer__links .footer__to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: var(--blue);
  font-weight: 800;
}

.footer__to-top span {
  font-size: 18px;
  transition: transform .2s ease;
}

.footer__to-top:hover span {
  transform: translateY(-3px);
}

.footer__bottom {
  padding-top: 20px;
  border-top: 1px solid #e2e6ef;
}

.footer__bottom small {
  color: #97a0b1;
  font-size: 12px;
}

@media (max-width: 1000px) {
  .footer__top {
    gap: 38px 28px;
  }

  .footer__brand {
    flex-basis: calc(50% - 14px);
  }

  .footer__contacts {
    position: static;
    width: auto;
    flex: 1 1 calc(50% - 14px);
    transform: none;
  }

  .footer__links {
    flex: 1 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
  }

  .footer__links .footer__to-top {
    margin-top: 0;
  }
}

@media (max-width: 540px) {
  .footer {
    padding: 54px 0 20px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer__brand {
    flex-basis: auto;
    text-align: center;
  }

  .footer__contacts,
  .footer__links {
    flex-basis: auto;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }

  .footer__logo {
    width: 132px;
    height: 63px;
  }
}

.service-card__button {
  min-height: 52px;
  border-radius: 13px;
}

.placeholder-section {
  padding: 120px 0;
  background: var(--bg);
}

.placeholder-section--light {
  background: #fff;
  color: var(--ink);
}

.placeholder-section h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .2s ease;
}

.desktop-only {
  display: inline;
}

.work-section {
  overflow: hidden;
  padding: 110px 0 125px;
  background: #fff;
  color: #0b1736;
}

.work-section__heading {
  text-align: center;
}

.work-section__heading .eyebrow {
  margin-bottom: 12px;
}

.work-section h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.work-section__progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.work-section__progress::before,
.work-section__progress::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #1837d8;
}

.work-section__progress span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1837d8;
}

.work-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 70px;
}

.work-steps::before {
  content: "";
  position: absolute;
  top: 66px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #d4dbf5 0 9px,
    transparent 9px 25px
  );
}

.work-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.work-step__number {
  position: absolute;
  top: -14px;
  left: 6%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #2448ff;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.work-step__icon {
  display: grid;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #dfe4ff;
}

.work-step__icon img {
  width: 66px;
  height: 66px;
  
  fill: none;
  stroke: #2448ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.work-step__content {
  max-width: 210px;
  margin: 20px auto 0;
}

.work-step h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.work-step p {
  margin: 8px 0 0;
  color: #687088;
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .work-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 30px;
  }

  .work-steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .work-section {
    padding: 76px 0;
  }

  .work-steps {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 50px;
  }

  .work-step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    text-align: left;
  }

  .work-step__number {
    top: -6px;
    left: 0;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .work-step__icon {
    width: 82px;
    height: 82px;
  }

  .work-step__icon img {
    width: 42px;
    height: 42px;
  }

  .work-step__content {
    max-width: none;
    margin: 16px 0 0;
  }
}

.reviews-carousel {
  position: relative;
  margin-top: 52px;
}

.reviews-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-carousel__track::-webkit-scrollbar {
  display: none;
}

.review-car {
  flex: 0 0 calc((100% - 60px) / 4);
  overflow: hidden;
  aspect-ratio: 0.82;
  border-radius: 20px;
  scroll-snap-align: start;
  background: #11204a;
}

.review-car img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.review-car:hover img {
  transform: scale(1.06);
}

.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: #07112f;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.carousel-button:hover {
  background: #2448ff;
  transform: translateY(-50%) scale(1.06);
}

.carousel-button--prev {
  left: -24px;
}

.carousel-button--next {
  right: -24px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 58px;
}

.trust-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.trust-item__icon {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border-radius: 50%;
  background: #11256d;
}

.trust-item__icon img {
  width: 75px;
  height: 75px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(44%) saturate(3532%) hue-rotate(146deg) brightness(105%) contrast(104%);
}

.trust-item:nth-child(2) svg,
.trust-item:nth-child(3) svg {
  stroke: #16c8ff;
}

.trust-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

.trust-item p {
  margin: 8px 0 0;
  color: #e0e4f2;
  font-size: 16px;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .trust-list {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .trust-item {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .trust-item__icon {
    width: 94px;
    height: 94px;
  }

  .trust-item__icon img {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 980px) {
  .review-car {
    flex-basis: calc((100% - 20px) / 2);
  }

  .carousel-button--prev {
    left: -14px;
  }

  .carousel-button--next {
    right: -14px;
  }
}

@media (max-width: 640px) {
  .reviews-carousel {
    margin-top: 34px;
  }

  .review-car {
    flex-basis: 86%;
  }

  .carousel-button {
    display: none;
  }
}

@media (max-width: 1260px) {
  .container {
    width: min(100% - 54px, 1100px);
  }

  .nav {
    gap: 18px;
    margin-left: 10px;
  }

  .nav a {
    font-size: 14px;
  }

  .phone {
    font-size: 15px;
  }

  .header__button {
    min-width: 165px;
    padding: 0 22px;
  }

  .hero__inner {
    grid-template-columns: 51% 49%;
  }

  .hero h1 {
    font-size: clamp(42px, 4vw, 57px);
  }

  .advantages {
    gap: 30px;
  }

  .hero__actions {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .header {
    padding-top: 18px;
  }

  .header__inner {
    min-height: 70px;
  }

  .nav,
  .header__right {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav--open {
    display: flex;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 78px;
    margin: 0;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: #091536;
    box-shadow: 0 18px 40px rgba(0,0,0,.24);
  }

  .nav--open a {
    padding: 13px 0;
    font-size: 16px;
  }

  .nav--open .nav__languages {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .nav--open .nav__languages a {
    flex: 1;
    padding: 10px 0;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }

  .nav--open .nav__languages a:hover,
  .nav--open .nav__languages .nav__language--active {
    border-color: #2448ff;
    background: #2448ff;
    opacity: 1;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero__visual {
    height: 420px;
    margin-top: 8px;
    transform: none;
  }

  .car-card {
    width: min(680px, 92vw);
  }

  .service-card {
    margin-top: -2px;
  }

  .service-card__body {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .car-card {
    aspect-ratio: 1.47;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .logo {
    width: 118px;
    flex-basis: 118px;
  }

  .logo__mark {
    width: 56px;
    height: 44px;
  }

  .logo__text {
    font-size: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.02;
  }

  .hero__description {
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .advantages {
    flex-direction: column;
    gap: 23px;
    margin-top: 42px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 36px;
  }

  .hero__actions .btn,
  .hero__actions .btn--outline {
    min-width: 0;
    width: 100%;
  }

  .hero__visual {
    height: 330px;
    margin-top: 18px;
  }

  .car-card {
    width: 112vw;
    max-width: 650px;
  }

  .service-card {
    padding: 22px 18px 24px;
    border-radius: 22px 22px 0 0;
  }

  .service-card__body {
    grid-template-columns: 1fr;
  }

  .service-card h2 {
    font-size: 16px;
  }

  .placeholder-section {
    padding: 84px 0;
  }
}
