/* JOL LOGISTICS — styles
   Tokens ------------------------------------------------------------ */
:root {
  --ink: #0F0F10;        /* deep navy, primary */
  --ink-2: #1B1B1D;      /* navy, raised band */
  --ink-3: #343437;      /* navy hairlines */
  --paper: #F1F1EF;      /* cool light grey ground */
  --white: #FFFFFF;
  --line: #DCDCDA;       /* hairlines on light */
  --steel: #5C5C61;      /* secondary text on light (5.9:1 on white) */
  --mist: #A6A6AB;       /* secondary text on navy (8:1) */
  --signal: #D91E18;     /* route orange, fills & marks */
  --signal-text: #C01A14;/* orange for text on light (5.0:1) */
  --wa: #25D366;

  --font: "Geologica", "Segoe UI", system-ui, -apple-system, sans-serif;
  --han: "Noto Serif SC", "Songti SC", "SimSun", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 350;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--white); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--white); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type scale (1.25, display steps up) ------------------------------ */
.h2 {
  overflow-wrap: break-word;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.muted { color: var(--steel); }
.link { color: var(--signal-text); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

@media (max-width: 480px) { .h2, .hero__title, .contacts__title { hyphens: auto; } }

/* Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-size: 1rem; font-weight: 550; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--signal { background: var(--signal); color: var(--white); }
.btn--signal:hover { background: #EE2F28; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--white); }
.ico { width: 20px; height: 20px; }

/* Header ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--ink-3); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.logo__jol { width: auto; height: 26px; color: var(--white); }
.logo__rule { width: 1px; height: 26px; background: var(--ink-3); }
.logo__word { font-size: .74rem; line-height: 1.15; letter-spacing: .2em; font-weight: 500; color: var(--mist); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 22px; }
.nav__list a { font-size: .94rem; text-decoration: none; color: var(--mist); padding: 10px 0; transition: color .2s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--white); }
.nav__phone { display: none; }
.header__tools { display: flex; align-items: center; gap: 12px; }

.lang { display: inline-flex; border: 1px solid var(--ink-3); border-radius: var(--r); padding: 3px; }
.lang__btn { background: none; border: 0; min-width: 42px; min-height: 38px; border-radius: 4px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: var(--mist); cursor: pointer; }
.lang__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.lang__btn:hover[aria-pressed="false"] { color: var(--white); }

.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--ink-3); border-radius: var(--r); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .nav__list { gap: 16px; }
  .nav__list a { font-size: .9rem; }
}
@media (max-width: 1040px) {
  .burger { display: block; }
  .header__cta span { display: none; }
  .header__cta { padding: 0 13px; }
  .nav {
    position: fixed; inset: 72px 0 0 0; z-index: 49;
    background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
  .nav__phone { display: block; margin-top: 28px; font-size: 1.25rem; font-weight: 600; text-decoration: none; color: var(--signal); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .logo__jol { height: 22px; }
  .logo__rule, .logo__word { display: none; }
  .header__inner { gap: 10px; }
  .header__tools { gap: 8px; margin-left: auto; }
  .lang__btn { min-width: 36px; }
}

/* Hero -------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--white); }
.hero__top {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end;
  padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 88px);
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: .96;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 11.5ch;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: #CFCFD2; max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__band { background: var(--ink-2); padding-block: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 44px); }

/* Day track */
.track {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr) auto;
  grid-template-areas: "o j l d" "c c c c";
  align-items: center;
  row-gap: 22px;
}
.track__origins { grid-area: o; display: grid; grid-template-rows: repeat(3, 40px); }
.track__origins li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: .98rem; color: #CFCFD2; }
.track__origins li.is-main { color: var(--white); font-weight: 600; }
.track__origins i { order: 2; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--signal); }
.track__origins .is-main i { background: var(--signal); }
.track__join { grid-area: j; width: 100%; height: 120px; overflow: visible; }
.track__join path { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .7; }
.track__join path.main { opacity: 1; stroke-width: 3; }

.track__line { grid-area: l; position: relative; padding-top: 0; }
.track__rail { position: relative; height: 4px; background: var(--ink-3); }
.track__fill { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(1); }
.track__days { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: -3px; }
.track__days li { position: relative; height: 42px; border-right: 1px solid var(--ink-3); }
.track__days li:first-child { border-left: 1px solid var(--ink-3); }
.track__days li::before { content: ""; position: absolute; right: -1px; top: 0; width: 1px; height: 12px; background: var(--mist); }
.track__days span { position: absolute; right: 7px; bottom: 2px; font-size: .9rem; font-feature-settings: "tnum" 1; color: var(--mist); }
.track__days li.w { background: rgba(217, 30, 24, .22); }
.track__days li.w span { color: var(--white); font-weight: 600; }
.track__window { position: absolute; left: auto; right: 0; top: 54px; white-space: nowrap; text-align: right; font-size: .9rem; color: var(--signal); font-weight: 500; line-height: 1.3; }
.track__dest { grid-area: d; display: flex; align-items: center; gap: 12px; padding-left: 16px; font-size: 1.55rem; font-weight: 650; letter-spacing: -0.01em; align-self: start; margin-top: -9px; }
.track__dest i { width: 18px; height: 18px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(217,30,24,.22); }
.track__line, .track__dest { align-self: start; margin-top: 59px; }
.track__dest { margin-top: 50px; }
.track__cap { grid-area: c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--mist); padding-top: 18px; border-top: 1px solid var(--ink-3); margin-top: 26px; }

@media (prefers-reduced-motion: no-preference) {
  .js .track__fill { animation: fill 1.8s .35s var(--ease) both; }
  .js .track__days li.w { animation: glow .5s 1.9s ease-out both; }
  .js .track__window { animation: rise .6s 2s var(--ease) both; }
  .js .track__dest i { animation: arrive .6s 2s var(--ease) both; }
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glow { from { background: transparent; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes arrive { from { box-shadow: 0 0 0 0 rgba(217,30,24,.6); } }

@media (max-width: 900px) {
  .hero__top { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
}
@media (max-width: 720px) {
  .track { grid-template-columns: minmax(0, 1fr); grid-template-areas: "o" "l" "d" "c"; row-gap: 0; }
  .track__origins { grid-template-rows: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 26px; }
  .track__origins li { justify-content: flex-start; font-size: .92rem; }
  .track__origins i { order: 0; }
  .track__join { display: none; }
  .track__line, .track__dest { margin-top: 0; }
  .track__days span { right: 3px; font-size: .72rem; }
  .track__window { position: static; margin-top: 12px; text-align: right; }
  .track__dest { justify-content: flex-end; padding: 10px 0 0; font-size: 1.15rem; }
  .track__cap { margin-top: 22px; }
}

/* Advantages -------------------------------------------------------- */
.adv__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.adv__head { position: sticky; top: 112px; align-self: start; }
.adv__head .muted { margin-top: 18px; max-width: 30ch; }
.adv__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.adv__item:last-child { border-bottom: 1px solid var(--line); }
.adv__item h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; }
.adv__item p { margin-top: 6px; color: var(--steel); max-width: 46ch; }
.adv__item--lead { padding-top: 8px; border-top: 0; }
.adv__item--lead .adv__big { font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: .95; font-weight: 700; letter-spacing: -0.04em; font-feature-settings: "tnum" 1; }
.adv__item--lead .glyph { margin-top: 14px; }
.adv__item--lead p { font-size: 1.12rem; color: var(--ink); margin-top: 10px; }

.glyph { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glyph .f { fill: var(--signal); stroke: none; }
.glyph--sm { width: 36px; height: 36px; }
.section--ink .glyph { stroke: var(--white); }

@media (max-width: 860px) {
  .adv__grid { grid-template-columns: minmax(0, 1fr); }
  .adv__head { position: static; }
  .adv__item { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .adv__item .glyph { width: 40px; height: 40px; }
}

/* Route ------------------------------------------------------------- */
.route__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.route__text .muted { margin-top: 18px; max-width: 36ch; }
.stops { margin-top: 36px; }
.stops div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.stops div:last-child { border-bottom: 1px solid var(--line); }
.stops dt { font-weight: 600; font-size: 1.08rem; }
.stops dd { color: var(--steel); font-size: .95rem; text-align: right; }
.stops .is-dest dt { color: var(--signal-text); }

.map__canvas { position: relative; aspect-ratio: 800 / 520; }
.map__canvas svg { width: 100%; height: 100%; overflow: visible; }
.map__kz { fill: #C9C9C7; stroke: var(--paper); stroke-width: 2; stroke-linejoin: round; }
.map__cn { fill: #E2E2DF; stroke: var(--paper); stroke-width: 2; stroke-linejoin: round; }
.map__path { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.map__feeder { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.map__dot { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.map__dot--dest { fill: var(--signal); stroke: var(--ink); stroke-width: 3; }
.map__country { position: absolute; transform: translate(-50%, -50%); font-size: clamp(.72rem, 1.4vw, .95rem); font-weight: 500; letter-spacing: .06em; color: var(--steel); pointer-events: none; }
.map__label { position: absolute; transform: translate(14px, -50%); font-size: clamp(.78rem, 1.5vw, 1rem); font-weight: 600; white-space: nowrap; color: var(--ink); background: var(--paper); padding: 1px 6px; border-radius: 3px; }
.map__label--left { transform: translate(calc(-100% - 14px), -80%); }
.map__label--below { transform: translate(6px, 30%); font-weight: 450; }
.map__label--dest { transform: translate(-50%, calc(-100% - 16px)); font-size: clamp(.9rem, 1.8vw, 1.2rem); background: var(--ink); color: var(--white); padding: 3px 10px; }
.map__cap { margin-top: 20px; font-size: .85rem; color: var(--steel); }

@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .map__path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
  .js [data-draw].is-in .map__path { stroke-dashoffset: 0; }
}
@media (max-width: 900px) {
  .route__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Warehouses -------------------------------------------------------- */
.wh__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.wh__head .muted { max-width: 34ch; }
.wh__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.wh__tile { position: relative; overflow: hidden; background: var(--paper); border-radius: 8px; min-height: 260px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; }
.wh__tile--main { grid-row: 1 / span 2; background: var(--ink); color: var(--white); min-height: 540px; }
.wh__han {
  position: absolute; top: -0.12em; right: -0.04em;
  font-family: var(--han); font-weight: 600; line-height: 1;
  font-size: clamp(7rem, 15vw, 12rem); color: var(--ink); opacity: .08;
  letter-spacing: -0.02em; pointer-events: none; user-select: none;
}
.wh__tile--main .wh__han { font-size: clamp(8rem, 21vw, 19rem); color: var(--signal); opacity: 1; top: -0.1em; left: -0.04em; right: auto; white-space: nowrap; }
.wh__body { position: relative; max-width: 30ch; }
.wh__city { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; font-weight: 650; letter-spacing: -0.025em; }
.wh__body p { margin-top: 8px; color: var(--steel); }
.wh__tile--main .wh__body p { color: #CFCFD2; }
.wh__body .link { display: inline-block; margin-top: 18px; padding-block: 8px; }
.wh__tile--main .link { color: var(--signal); }
@media (max-width: 860px) {
  .wh__grid { grid-template-columns: minmax(0, 1fr); }
  .wh__tile.wh__tile--main { grid-row: auto; min-height: clamp(340px, 80vw, 460px); }
  .wh__tile { min-height: 220px; }
}

/* Process ----------------------------------------------------------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.process__head { position: sticky; top: 112px; align-self: start; }
.process__lead { margin-top: 18px; color: var(--mist); max-width: 28ch; }
.steps { position: relative; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding-bottom: 48px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 1px; background: var(--ink-3); }
.step--last::before { display: none; }
.step__n { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--signal); color: var(--signal); display: grid; place-items: center; font-size: .9rem; font-weight: 600; font-feature-settings: "tnum" 1; }
.step--last .step__n { background: var(--signal); color: var(--white); }
.step__body { padding-top: 8px; }
.step h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: #CFCFD2; max-width: 52ch; }
.step__aside { font-size: .95rem; color: var(--mist) !important; }
.ticks { margin-top: 12px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--white); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }

.msg { margin-top: 20px; max-width: 360px; }
.msg__cap { font-size: .82rem; color: var(--mist); margin-bottom: 8px; }
.msg__bubble { position: relative; background: #E7F5DE; color: #0F0F10; border-radius: 4px 14px 14px 14px; padding: 12px 14px 8px; }
.msg__bubble p { margin: 0; color: #0F0F10; font-size: 1rem; font-weight: 450; }
.msg__meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: .72rem; color: #4E6B55; margin-top: 4px; }
.msg__meta svg { width: 16px; height: 11px; fill: none; stroke: #2E9BD6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r); }
.notice .ico { flex: none; margin-top: 2px; color: var(--signal); }
.notice--dark { margin-top: 16px; padding: 14px 16px; background: rgba(217,30,24,.1); border: 1px solid rgba(217,30,24,.45); color: var(--white) !important; font-size: .96rem; max-width: 56ch; }

@media (max-width: 860px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__head { position: static; }
  .step { grid-template-columns: 56px minmax(0, 1fr); padding-bottom: 40px; }
}

/* Calculator -------------------------------------------------------- */
.calc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.calc__lead { margin-top: 18px; font-size: 1.15rem; max-width: 34ch; }
.calc__info .h4 { margin-top: 40px; margin-bottom: 4px; }
.factors > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.factors dt { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem; }
.factors dd { margin-top: 6px; padding-left: 50px; color: var(--steel); font-size: .96rem; max-width: 44ch; }
.calc__fine { margin-top: 24px; font-size: .92rem; color: var(--steel); max-width: 44ch; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 20px; }
.form { grid-template-columns: minmax(0, 1fr); }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .95rem; font-weight: 550; padding: 0; }
.req { color: var(--signal-text); }
.opt { font-weight: 350; color: var(--steel); font-size: .86rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid #BDBDC0; border-radius: var(--r);
  font-size: 1rem; /* ≥16px avoids iOS zoom */
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #86868B; }
.field input:hover, .field textarea:hover { border-color: #8E8E93; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217,30,24,.35); }
.field.has-error input, .field.has-error textarea { border-color: #C3271A; }
.field__err { font-size: .88rem; color: #B3261A; min-height: 0; }
.field__err:empty { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field legend { margin-bottom: 8px; }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 6px 8px; border: 1.5px solid #BDBDC0; border-radius: var(--r);
  font-size: .95rem; font-weight: 500; transition: all .15s; line-height: 1.2;
}
.seg__opt:hover span { border-color: #8E8E93; }
.seg__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.field--city.has-error .seg__opt span { border-color: #C3271A; }

.form__errors { padding: 12px 14px; background: #FDECEA; color: #8E1D12; border-radius: var(--r); font-size: .95rem; }
.form__hint { font-size: .88rem; color: var(--steel); text-align: center; margin-top: -6px; }
.form__status { font-size: .95rem; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 12px 14px; background: #E7F5DE; color: #1E4A21; border-radius: var(--r); }
.form button[aria-busy="true"] { opacity: .7; pointer-events: none; }

@media (max-width: 900px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .seg__opt span { font-size: .88rem; }
}

/* Packaging --------------------------------------------------------- */
.pack__head { max-width: 760px; }
.pack__head .muted { margin-top: 18px; }
.pack__compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.pack__opt { padding: 36px clamp(0px, 3vw, 40px) 36px 0; }
.pack__opt--crate { padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.pack__art { width: 100%; max-width: 280px; height: auto; margin-bottom: 28px; }
.pack__art .s { fill: #F1F1EF; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.pack__art .tape { fill: none; stroke: var(--signal); stroke-width: 6; opacity: .8; }
.pack__art .g { stroke: var(--line); stroke-width: 2; }
.pack__art .wood path { fill: none; stroke: #9C6A3C; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.pack__opt h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; }
.pack__opt > p { margin-top: 8px; color: var(--steel); max-width: 40ch; }
.pack__spec { margin-top: 24px; }
.pack__spec div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.pack__spec dt { font-size: .86rem; color: var(--steel); }
.pack__spec dd { font-weight: 550; }
.pack__warn { margin-top: 32px; padding: 22px 24px; background: #FDF0EF; border: 1px solid #F1BDBA; }
.pack__warn .ico { width: 24px; height: 24px; color: var(--signal-text); }
.pack__quote { font-size: 1.12rem; font-weight: 550; line-height: 1.45; max-width: 62ch; }
.pack__warn .muted { margin-top: 6px; font-size: .95rem; }
@media (max-width: 720px) {
  .pack__compare { grid-template-columns: minmax(0, 1fr); }
  .pack__opt, .pack__opt--crate { padding: 32px 0; border-left: 0; }
  .pack__opt--crate { border-top: 1px solid var(--line); }
}

/* Important info ---------------------------------------------------- */
.need__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.need__title { max-width: 16ch; }
.need__list { counter-reset: n; }
.need__list li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 450; }
.need__list li:last-child { border-bottom: 1px solid var(--line); }
.need__list li::before { content: counter(n); font-feature-settings: "tnum" 1; color: var(--signal-text); font-weight: 650; }
.need__why p { margin-top: 10px; color: var(--steel); }
.need__why .btn { margin-top: 22px; white-space: normal; text-align: left; }
.need__hint { font-size: .86rem; }
@media (max-width: 1000px) {
  .need__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need__title { grid-column: 1 / -1; max-width: 24ch; }
}
@media (max-width: 680px) {
  .need__grid { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ --------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq__title { position: sticky; top: 112px; align-self: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0; font-size: 1.12rem; font-weight: 550; line-height: 1.35; letter-spacing: -0.008em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa summary:hover { color: var(--signal-text); }
.qa p { padding: 0 56px 24px 0; color: var(--steel); max-width: 60ch; }
.qa[open] p { animation: open .3s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__title { position: static; }
  .qa summary { font-size: 1.04rem; padding-right: 44px; }
  .qa p { padding-right: 0; }
}

/* Contacts ---------------------------------------------------------- */
.contacts { background: var(--signal); color: var(--white); padding-block: clamp(72px, 10vw, 128px); }
.contacts__inner { display: grid; gap: 20px; }
.contacts__title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.contacts__lead { font-size: 1.15rem; max-width: 46ch; font-weight: 400; }
.contacts__phone { display: inline-grid; gap: 6px; margin-top: clamp(20px, 4vw, 40px); width: max-content; max-width: 100%; text-decoration: none; font-size: clamp(2.1rem, 8.4vw, 7.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-feature-settings: "tnum" 1; white-space: nowrap; }
.contacts__phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.contacts__phone-label { font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
@media (max-width: 480px) {
  .contacts__actions .btn { width: 100%; }
}

/* Footer ------------------------------------------------------------ */
.footer { background: var(--ink); color: var(--mist); font-size: .92rem; padding-block: 36px calc(36px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; }
.footer__brand { margin-right: auto; display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer__brand svg { height: 22px; width: auto; }
.footer a { text-decoration: none; color: var(--white); }

/* Floating WhatsApp ------------------------------------------------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .2s var(--ease), opacity .25s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Reveal (used sparingly) ------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (min-width: 721px) { .pack__opt > p { min-height: 3.1em; } }
.footer__brand span { font-size: .74rem; letter-spacing: .2em; font-weight: 500; color: var(--mist); }

/* Contacts on red: white type, black primary, white outline */
.contacts .btn--outline-ink { border-color: var(--white); color: var(--white); }
.contacts .btn--outline-ink:hover { background: var(--white); color: var(--ink); }
.contacts :focus-visible { outline-color: var(--white); }
/* Light-ground notices and links use the deeper red for 4.5:1 text */
.wh__tile--main .link, .track__window, .nav__phone, .step__n { color: #FF4A3F; }

/* Polish pass ------------------------------------------------------- */
@media (min-width: 901px) and (min-height: 700px) {
  .hero { min-height: calc(100svh - 72px); display: flex; flex-direction: column; }
  .hero__top { flex: 1; align-content: end; }
}
.wh__tile:not(.wh__tile--main) .wh__han { font-size: clamp(4.6rem, 9vw, 8rem); opacity: .07; top: 14px; right: 18px; }
.wh__tile--main .wh__body { margin-top: auto; }
.hero__title { text-wrap: balance; }
@media (max-width: 720px) {
  .pack__art { max-width: 200px; margin-bottom: 20px; }
  .track__window { position: static; text-align: right; white-space: normal; }
  .track__days span { font-size: .72rem; right: 3px; }
  .track__days li { height: 34px; }
  .track__dest { font-size: 1.2rem; }
}

/* ===== Update: Uzbekistan route, warehouses, prices, attachments ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Map: Uzbekistan + Tashkent */
.map__uz { fill: #D3D3D1; stroke: var(--paper); stroke-width: 2; stroke-linejoin: round; }
.map__path--tk { stroke-width: 3; opacity: .9; }
.map__feeder--tk { stroke-width: 2.5; }
.map__label--under { transform: translate(-50%, 16px); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .map__path--tk { transition-delay: .6s; }
}

/* Warehouses */
.whs { display: grid; gap: 16px; }
.wh-card {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px);
  position: relative; overflow: hidden;
  background: var(--paper); border-radius: 8px; padding: clamp(24px, 3.4vw, 44px);
}
.wh-card--main { background: var(--ink); color: var(--white); }
.wh-card--almaty { background: var(--white); border: 1.5px solid var(--ink); }
.wh-card__id { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; }
.wh-card__han {
  font-family: var(--han); font-weight: 600; line-height: .9; letter-spacing: -0.02em;
  font-size: clamp(4.4rem, 9vw, 7.4rem); color: var(--ink); opacity: .1;
  margin-bottom: auto; user-select: none;
}
.wh-card--main .wh-card__han { color: var(--signal); opacity: 1; font-size: clamp(5.4rem, 12vw, 10rem); }
.wh-card__pin { margin-bottom: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; }
.wh-card__pin svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 1.8; }
.wh-card__city { margin-top: 20px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; font-weight: 650; letter-spacing: -0.025em; }
.wh-card__role { margin-top: 8px; color: var(--steel); }
.wh-card--main .wh-card__role { color: #CFCFD2; }

.wh-card__label { font-size: .86rem; color: var(--steel); }
.wh-card--main .wh-card__label, .wh-card--main dt { color: var(--mist); }
.wh-card__addr {
  margin-top: 6px; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", var(--font);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 500; letter-spacing: .01em;
  user-select: all; overflow-wrap: anywhere;
}
.wh-card__addr--ru { font-family: var(--font); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; user-select: text; }
.wh-card__data { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.wh-card__data > div { padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.wh-card--main .wh-card__data > div { border-top-color: var(--ink-3); }
.wh-card__data .wide { grid-column: 1 / -1; }
.wh-card__data dt { font-size: .84rem; color: var(--steel); }
.wh-card__data dd { margin-top: 3px; font-weight: 550; }
.wh-card__data [lang="zh-Hans"] { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", var(--font); }
.mark { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 4px; background: var(--signal); color: var(--white); font-weight: 700; font-size: 1.05rem; }
.cnote { font-size: .82rem; font-weight: 400; color: var(--steel); margin-left: 6px; }
.wh-card--main .cnote { color: var(--mist); }
.phones { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.phones a { text-decoration: none; white-space: nowrap; padding: 6px 0; font-feature-settings: "tnum" 1; }
.phones a:hover { text-decoration: underline; text-underline-offset: 3px; }
.phones span { margin-right: 6px; color: var(--steel); }
.wh-card--main .phones span { color: var(--mist); }
.wh-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wh-card__actions .btn { white-space: normal; text-align: left; }
.btn.is-done { background: #1E7A3C; color: var(--white); border-color: #1E7A3C; }
.wh__copied { min-height: 1.4em; margin-top: 12px; font-size: .92rem; color: #1E7A3C; font-weight: 500; }
@media (max-width: 860px) {
  .wh-card { grid-template-columns: minmax(0, 1fr); }
  .wh-card__id { min-height: 0; }
  .wh-card__han { margin-bottom: 0; }
  .wh-card__city { margin-top: 8px; }
}
@media (max-width: 480px) {
  .wh-card__data { grid-template-columns: minmax(0, 1fr); }
  .wh-card__actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Calculator: price block */
.price { margin-top: 28px; padding: 22px 24px; background: var(--ink); color: var(--white); border-radius: 8px; }
.price__label { font-size: .9rem; color: var(--mist); }
.price__value { margin-top: 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__num { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; font-feature-settings: "tnum" 1; }
.price__unit { font-size: 1.1rem; color: #CFCFD2; }
.price__note { margin-top: 12px; font-size: .94rem; color: #CFCFD2; max-width: 46ch; }

/* Form: destination + attachments */
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field__title { font-size: .95rem; font-weight: 550; }
.drop {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px;
  border: 1.5px dashed #9A9AA0; border-radius: var(--r); cursor: pointer; background: var(--paper);
  transition: border-color .15s, background-color .15s;
}
.drop:hover { border-color: var(--ink); background: #EAEAE8; }
.drop .ico { width: 26px; height: 26px; flex: none; color: var(--signal); }
.drop__text { display: grid; gap: 2px; }
.drop__text b { font-weight: 600; }
.drop__text span { font-size: .86rem; color: var(--steel); }
#f-files:focus-visible + .thumbs, .drop:focus-within { outline: 3px solid var(--signal); outline-offset: 2px; }
.field--files input:focus-visible ~ .drop { outline: 3px solid var(--signal); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; border-radius: 6px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.thumb img, .thumb__video { display: grid; place-items: center; width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb__video { background: var(--ink); color: var(--white); font-size: 1.4rem; }
.thumb__name { display: block; padding: 4px 6px; font-size: .72rem; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__rm { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(15,15,16,.78); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.thumb__rm:hover { background: var(--signal); }

/* Packaging prices */
.pack__price dd { font-size: 1.25rem; font-weight: 700; color: var(--signal-text); }

/* Contacts: Almaty address */
.contacts__addr { font-size: 1.05rem; }
.contacts__addr a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }
.field--files { position: relative; }
.map__label--west { transform: translate(calc(-100% - 14px), -50%); }
.map__uz { fill: #BDBDBB; }
[hidden] { display: none !important; }

/* Delivery modes */
.modes__title { margin-top: 32px; }
.modes { margin-top: 12px; display: grid; gap: 8px; }
.modes__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.modes__item.is-main { border-color: var(--ink); }
.modes__name { font-weight: 600; }
.modes__note { font-size: .88rem; color: var(--steel); margin-top: 2px; }
.modes__item.is-main .modes__note { color: var(--signal-text); }
