:root {
  color-scheme: light;
  --canvas: #f8f6fc;
  --ink: #241c38;
  --muted: #514764;
  --dark: #32274b;
  --lavender: #eee7f8;
  --periwinkle: #e3e6fa;
  --tan: #f5e6d9;
  --chocolate: #613924;
  --red: #b73c23;
  --red-hover: #963019;
  --line: #e0d8eb;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  background: var(--canvas);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1.125rem; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .brand { font-family: "Archivo", Arial, sans-serif; font-weight: 800; }
h1, h2, h3 { text-wrap: balance; }
p, a, h1, h2, h3 { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #6850ab; outline-offset: 4px; }
.dark :focus-visible { outline-color: #ffd0b9; }
[id] { scroll-margin-top: 1.5rem; }
.icon-library { display: none; }
.icon { width: 1.35rem; height: 1.35rem; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(calc(100% - 2rem), 73rem); margin-inline: auto; }

.header { background: #fcfaff; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto; gap: .45rem .6rem; padding-block: .6rem; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 56px; width: fit-content; font-size: 1.45rem; letter-spacing: -.06em; }
.brand-mark { display: grid; place-items: center; background: var(--dark); color: #fff; width: 2.3rem; height: 2.3rem; border-radius: .72rem; }
.brand-mark .icon { width: 1.38rem; height: 1.38rem; }
.header-phone { grid-row: 2; display: flex; align-items: center; gap: .35rem; min-height: 56px; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.header-phone:hover { color: var(--red); }
.language-picker { grid-row: 1; grid-column: 2; position: relative; }
.language-picker select {
  min-height: 56px; padding: .5rem 1.9rem .5rem .65rem; appearance: none; font-size: .98rem;
  border: 1px solid #bfb4d0; border-radius: .75rem; color: var(--ink); background: #fcfaff; font-weight: 700; cursor: pointer;
}
.language-picker .icon { position: absolute; top: 50%; translate: 0 -50%; pointer-events: none; width: 1rem; height: 1rem; }
.language-chevron { right: .55rem; }
.language-globe { display: none; left: .7rem; }

.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: .75rem; font-weight: 700; line-height: 1.23; transition: background-color .18s, border-color .18s; }
.header-cta { font-size: .98rem; padding-inline: .75rem; }
.primary { background: var(--red); color: #fff; }
.primary:hover { background: var(--red-hover); }
.secondary { border-color: #bdb0cf; background: #fcfaff; color: var(--ink); }
.secondary:hover { background: #eee7f8; border-color: #8b7ba4; }

.hero {
  margin-top: 1.1rem;
  padding: 1.35rem 1.2rem clamp(12rem, 57vw, 25rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, var(--lavender) 8%, rgb(238 231 248 / .96) 24%, rgb(238 231 248 / 0) 58%)
      center bottom / 100% clamp(15rem, 74vw, 34rem) no-repeat,
    url("truck.webp") center bottom / 100% auto no-repeat var(--lavender);
}
.hero-content { align-self: center; }
.trial-badge { display: inline-flex; align-items: center; gap: .4rem; background: #eee6fa; color: #4b326c; font-weight: 700; font-size: .96rem; letter-spacing: .03em; border-radius: 3rem; padding: .45rem .8rem; }
.trial-badge .icon { width: 1rem; height: 1rem; stroke-width: 2.5; }
h1 { font-size: clamp(2.65rem, 8.5vw, 5.1rem); line-height: .99; letter-spacing: -.07em; margin-top: 1rem; }
.hero-description { max-width: 31rem; margin-top: 1rem; color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.3rem); white-space: pre-wrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.hero-actions .button { flex: 1 1 auto; }

.section { margin-top: 2.8rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.06; letter-spacing: -.052em; margin-bottom: 1.12rem; }
h3 { font-size: 1.38rem; line-height: 1.15; letter-spacing: -.032em; }
.cards { display: grid; gap: .8rem; }
.card { min-width: 0; border-radius: 1.18rem; padding: 1.2rem; }
.card p { margin-top: .5rem; color: var(--muted); white-space: pre-wrap; }
.service .service-emphasis { color: var(--red-hover); font-weight: 700; }
.service-list { margin: .5rem 0 0; padding-inline-start: 1.25em; overflow-wrap: anywhere; }
.service-list li + li { margin-top: .2em; }
.lavender { background: var(--lavender); }
.periwinkle { background: var(--periwinkle); }
.service-training { background: #f2e5ef; }
.service-systems { background: #f2eddf; }
.service-systems .icon-tile { color: var(--chocolate); background: #eadac4; }
.tan { background: var(--tan); color: #3e291e; }
.tan p { color: #5c4031; }
.dark { background: var(--dark); color: #fff; }
.dark p { color: #eee7f9; }
.service p { color: var(--red-hover); }
.service.dark p { color: #ffab9b; }
.icon-tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .8rem; margin-bottom: .85rem; color: #553979; background: #e0d2f2; }
.icon-tile .icon { width: 1.55rem; height: 1.55rem; }
.tan .icon-tile { color: var(--chocolate); background: #ecd0bd; }
.dark .icon-tile { color: #f6e8fe; background: #524369; }
.steps-panel { background: #e9e8f9; padding: 1.25rem; border-radius: 1.45rem; }
.steps-panel ol { list-style: none; padding: 0; margin: 0; }
.step { display: flex; align-items: flex-start; gap: .8rem; background: #fcfaff; }
.step-number { flex: none; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: 50%; background: #e8ddf6; color: #584071; font-weight: 800; font-size: 1.28rem; }
.step:nth-child(2) .step-number { background: #f3e0cf; color: var(--chocolate); }

.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan .price { font-family: "Archivo", Arial, sans-serif; margin-top: .8rem; font-size: 1.38rem; font-weight: 800; line-height: 1.16; color: inherit; }
.plan .trial-price { color: var(--red); font-size: 2rem; letter-spacing: -.045em; }
.period { font-family: "Atkinson Hyperlegible", Arial, sans-serif; font-size: 1.04rem; font-weight: 400; }
.contract-badge { padding: .3rem .65rem; border-radius: .5rem; background: #f1dac9; color: #4e2d1d; font-size: .98rem; line-height: 1.3; font-weight: 700; margin-top: .6rem; }
.features { display: grid; gap: .52rem; list-style: none; padding: 0; margin: 1.1rem 0 1.35rem; }
.features li { display: flex; gap: .55rem; align-items: flex-start; }
.features .icon { width: 1.05rem; height: 1.05rem; margin-top: .31rem; stroke-width: 2.2; }
.plan .button { width: 100%; margin-top: auto; }
.answer h3 { font-size: 1.25rem; }
.contact { position: relative; display: grid; gap: 1.3rem; padding: 1.65rem 1.25rem; border-radius: 1.48rem; }
.contact::before { content: ""; position: absolute; inset: .45rem; border: 1px solid #86789d; border-radius: 1.09rem; pointer-events: none; }
.contact h2 { margin-bottom: .55rem; }
.contact p { max-width: 26rem; }
.contact-links { display: grid; gap: .55rem; min-width: 0; }
.contact-link { display: flex; gap: .65rem; align-items: center; min-height: 64px; padding: .62rem .78rem; border: 1px solid #7c6c95; border-radius: .73rem; background: #49395f; transition: background-color .18s; }
.contact-link:hover { background: #605174; }
.contact-link > span { display: grid; min-width: 0; line-height: 1.23; }
.contact-link > span span { color: #eee6f8; font-size: 1.04rem; }
.contact-link .icon { color: #f4d4c4; }
.footer { display: grid; gap: .45rem; padding-block: 1.2rem 1.6rem; }
.footer p { color: var(--muted); font-size: 1rem; }

@media (min-width: 36rem) {
  .container { width: min(calc(100% - 3rem), 73rem); }
  .language-picker select { padding-left: 2rem; }
  .language-globe { display: block; }
  .header-cta { padding-inline: 1.1rem; }
  .hero-actions .button { flex: 0 1 auto; }
  .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .header-inner { grid-template-columns: 1fr auto auto auto; gap: .85rem; padding-block: .7rem; }
  .header-phone, .language-picker { grid-area: auto; }
  .header-phone { font-size: 1.06rem; margin-right: .3rem; }
  .hero {
    display: grid;
    align-items: center;
    min-height: clamp(27rem, 46vw, 35rem);
    margin-top: 2rem;
    padding: 2rem clamp(2rem, 4vw, 3.5rem);
    border-radius: 2rem;
    background:
      linear-gradient(90deg, var(--lavender) 27%, rgb(238 231 248 / .97) 46%, rgb(238 231 248 / 0) 69%),
      url("truck.webp") right center / auto 100% no-repeat var(--lavender);
  }
  .hero-content { max-width: 50%; }
  h1 { font-size: clamp(2.85rem, 6.2vw, 5.1rem); text-wrap: initial; }
  html[lang="ru"] h1, html[lang="uz"] h1 { font-size: clamp(2.55rem, 5vw, 4.3rem); }
  .section { margin-top: 3.45rem; }
  .cards { gap: 1rem; }
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 1.35rem; }
  .steps-panel { padding: 1.55rem; }
  .contact { padding: 2.05rem; }
  .footer { grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
}
@media (min-width: 64rem) {
  .card { padding: 1.48rem; }
  .section { margin-top: 3.65rem; }
  .contact { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 2rem; padding: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
