@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #111111;
  --hero-black: #080808;
  --gray: #858585;
  --card: #f5f5f5;
  --white: #ffffff;
  --border: #e5e5e5;
  --telegram: #229ed9;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  overflow-x: hidden;
  background: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: var(--white);
}

.hero {
  position: relative;
  height: 586px;
  overflow: hidden;
  background: var(--white);
}

.hero__scene,
.hero__fade-left {
  position: absolute;
  inset: 0;
}

.hero__background,
.hero__car {
  position: absolute;
  top: 15px;
  left: 215px;
  width: 985px;
  height: 555px;
  object-fit: cover;
}

.hero__fade-left {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 24%,
    rgba(255, 255, 255, 0.94) 36%,
    rgba(255, 255, 255, 0.68) 48%,
    rgba(255, 255, 255, 0.34) 58%,
    rgba(255, 255, 255, 0.08) 66%,
    rgba(255, 255, 255, 0) 73%
  );
}

.hero__fade-bottom {
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 34%,
    rgba(255, 255, 255, 0.18) 56%,
    rgba(255, 255, 255, 0.48) 74%,
    rgba(255, 255, 255, 0.84) 90%,
    #fff 100%
  );
}

.brand {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 96px;
  display: flex;
  width: 188px;
  height: 48px;
  align-items: center;
  gap: 8px;
}

.brand__mark {
  width: 64px;
  height: 48px;
  flex: none;
  object-fit: contain;
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: 1.2px;
}

.hero__title {
  position: absolute;
  z-index: 2;
  top: 76px;
  left: 96px;
  width: 700px;
  margin: 0;
  color: var(--hero-black);
  font-size: 75px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -3px;
}

.hero__title span {
  display: block;
}

.hero__title span + span {
  margin-top: 16px;
}

.hero__description {
  position: absolute;
  z-index: 4;
  top: 330px;
  left: 96px;
  width: 360px;
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.hero__description > span {
  display: block;
}

.hero__desktop-break {
  height: 20px;
}

.hero__actions {
  position: absolute;
  z-index: 4;
  top: 442px;
  left: 96px;
  display: grid;
  width: 252px;
  gap: 12px;
}

.button {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.14);
}

.button:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.36);
  outline-offset: 3px;
}

.button--telegram {
  color: #fff;
  background: var(--telegram);
}

.button--max {
  color: #fff;
  background: var(--black);
}

.button__mobile-label {
  display: none;
}

.services {
  min-height: 958px;
  padding: 71px 60px 120px;
  background: var(--white);
}

.services__header h2 {
  margin: 0;
  font-size: 36.667px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.1px;
}

.services__header p {
  margin: 2px 0 0;
  color: var(--gray);
  font-size: 14.167px;
  line-height: 17px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px 26.667px;
  margin-top: 31px;
}

.service-card {
  grid-column: span 3;
  min-width: 0;
  height: 366.667px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
}

.service-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-card__content {
  padding: 17px 20px 20px;
}

.service-card h3 {
  margin: 0;
  font-size: 18.333px;
  font-weight: 600;
  line-height: 22.5px;
}

.service-card p {
  margin: 7px 0 0;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 18.333px;
}

.hero-enter,
.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.is-ready .hero-enter--1 { transition-delay: 40ms; }
.is-ready .hero-enter--2 { transition-delay: 110ms; }
.is-ready .hero-enter--3 { transition-delay: 180ms; }
.is-ready .hero-enter--4 { transition-delay: 230ms; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 480ms ease-out, transform 480ms ease-out;
}

@media (max-width: 900px) and (min-width: 601px) {
  .site-shell {
    width: 100%;
  }

  .hero {
    height: 620px;
  }

  .brand,
  .hero__title,
  .hero__description,
  .hero__actions {
    left: 48px;
  }

  .hero__title {
    top: 88px;
    width: 620px;
    font-size: 66px;
  }

  .hero__background,
  .hero__car {
    top: 86px;
    left: 110px;
    width: 780px;
    height: 438px;
  }

  .hero__description {
    top: 352px;
  }

  .hero__actions {
    top: 464px;
  }

  .services {
    padding: 56px 40px 80px;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card,
  .service-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: 100%;
  }

  .hero {
    height: 680px;
  }

  .brand {
    top: 20px;
    left: 20px;
    width: 164px;
    height: 40px;
    gap: 10px;
  }

  .brand__mark {
    width: 54px;
    height: 40px;
  }

  .brand__name {
    font-size: 16px;
    line-height: 17px;
    letter-spacing: 0;
  }

  .hero__title {
    top: 84px;
    left: 20px;
    width: calc(100% - 40px);
    font-size: 50px;
    line-height: 46px;
    letter-spacing: -2px;
  }

  .hero__title span + span {
    margin-top: 0;
  }

  .hero__background,
  .hero__car {
    top: 226px;
    left: 0;
    width: 110.25%;
    height: 270px;
  }

  .hero__background {
    width: 100%;
    object-position: center;
  }

  .hero__car {
    left: 50%;
    width: auto;
    object-fit: contain;
    max-width: none;
    transform: translateX(-50%);
  }

  .hero__fade-left {
    top: 226px;
    height: 270px;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.76) 44%, rgba(255,255,255,.12) 72%, transparent 100%);
  }

  .hero__fade-bottom {
    bottom: 184px;
    height: 112px;
  }

  .hero__description {
    top: 496px;
    left: 20px;
    width: calc(100% - 40px);
    font-size: 14px;
    line-height: 20px;
  }

  .hero__description > span {
    display: inline;
  }

  .hero__desktop-break {
    display: none;
  }

  .hero__description > span:last-child {
    display: block;
  }

  .hero__actions {
    top: 566px;
    left: 20px;
    width: calc(100% - 40px);
    gap: 11px;
  }

  .button {
    height: 48px;
    border-radius: 6px;
  }

  .button--telegram {
    background: var(--black);
  }

  .button--max {
    color: var(--black);
    border-color: var(--border);
    background: var(--white);
  }

  .button__desktop-label {
    display: none;
  }

  .button__mobile-label {
    display: inline;
  }

  .services {
    min-height: 0;
    padding: 34px 20px 36px;
  }

  .services__header h2 {
    max-width: 350px;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: -0.8px;
  }

  .services__header p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .service-card,
  .service-card:nth-child(5) {
    display: grid;
    grid-column: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    height: 96px;
  }

  .service-card img {
    width: 112px;
    height: 96px;
  }

  .service-card__content {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 12px 16px 12px 18px;
  }

  .service-card h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .service-card p {
    display: none;
  }

  .hero-enter,
  .reveal {
    transform: translateY(8px);
  }
}

@media (max-width: 350px) {
  .hero {
    height: 638px;
  }

  .brand {
    left: 16px;
    width: 150px;
  }

  .brand__mark {
    width: 50px;
  }

  .hero__title {
    top: 78px;
    left: 16px;
    width: calc(100% - 32px);
    font-size: 42px;
    line-height: 40px;
    letter-spacing: -1.6px;
  }

  .hero__background,
  .hero__car {
    top: 204px;
    height: 236px;
  }

  .hero__car {
    left: 50%;
    width: auto;
  }

  .hero__fade-left {
    top: 204px;
    height: 236px;
  }

  .hero__fade-bottom {
    bottom: 198px;
  }

  .hero__description {
    top: 457px;
    left: 16px;
    width: calc(100% - 32px);
    font-size: 13px;
    line-height: 19px;
  }

  .hero__actions {
    top: 523px;
    left: 16px;
    width: calc(100% - 32px);
    gap: 14px;
  }

  .services {
    padding: 30px 16px 36px;
  }

  .services__header h2 {
    font-size: 26px;
    line-height: 29px;
  }

  .services__header p {
    max-width: 280px;
  }

  .services__grid {
    gap: 10px;
  }

  .service-card,
  .service-card:nth-child(5) {
    grid-template-columns: 98px minmax(0, 1fr);
    height: 94px;
  }

  .service-card img {
    width: 98px;
    height: 94px;
  }

  .service-card__content {
    padding: 12px 12px 12px 14px;
  }

  .service-card h3 {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
