/* ХАККА — публичный сайт */

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: var(--white); color: var(--navy); border-bottom: 1px solid var(--border); transition: background .3s, color .3s, border-color .3s; }
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; color: var(--white); border-bottom-color: transparent; }
.site-header--overlay.is-scrolled { background: var(--white); color: var(--navy); border-bottom-color: var(--border); }
.site-header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header a { color: inherit; }
.site-header a:hover { color: var(--orange); }
.site-header__logo { display: flex; color: inherit; }
.site-header__logo:hover { color: inherit !important; }
.site-header .logo-light { display: none; }
.site-header--overlay:not(.is-scrolled) .logo-light { display: inline-flex; }
.site-header--overlay:not(.is-scrolled) .logo-dark { display: none; }
.site-header__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; padding-top: 6px; }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.site-header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.site-header__cabinet { border: 1px solid currentColor; color: inherit; font-size: 14px; }
.site-header--solid .site-header__cabinet:hover, .site-header--overlay.is-scrolled .site-header__cabinet:hover { background: var(--surface); color: var(--navy) !important; }
.site-header--overlay:not(.is-scrolled) .site-header__cabinet { border-color: rgba(255,255,255,.6); }
.site-header--overlay:not(.is-scrolled) .site-header__cabinet:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff !important; }
.site-header__burger { display: none; background: none; border: 0; padding: 8px; color: inherit; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 4px 6px; opacity: .5; }
.lang-switch a.is-active { opacity: 1; }
.lang-switch span { opacity: .4; }

.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: var(--white); padding: 24px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mobile-menu__top button { background: none; border: 0; padding: 8px; color: var(--white); display: flex; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.mobile-menu a { color: var(--white); }
.mobile-menu__bottom { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu__phone { font-weight: 600; font-size: 18px; }

@media (max-width: 959px) {
  .site-header__nav, .site-header__actions { display: none; }
  .site-header__burger { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 72px 0 32px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.55; max-width: 280px; }
.site-footer__social { display: flex; gap: 16px; }
.site-footer__social a { opacity: .8; display: flex; color: var(--white); }
.site-footer__social a:hover { opacity: 1; }
.site-footer__nav, .site-footer__contacts { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer__phone { color: var(--white) !important; font-weight: 600; }
.site-footer__legal { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.7); }
.site-footer__legal-name { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.site-footer__doc { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 500; }
.site-footer__doc:hover { color: var(--orange); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 56px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Page sections (добавляются ниже по страницам) ---------- */

/* Правка шапки под прототип «Шапка»: кнопка кабинета padding 0 18px */
.site-header__cabinet { padding: 0 18px; }

/* =========================================================
   Общие секции публичного сайта
   ========================================================= */
.s-section { padding: var(--section-y) 0; }
.s-section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.s-section--inner { padding: clamp(64px, 8vw, 112px) 0; }
.s-page-head { padding: clamp(56px, 7vw, 96px) 0; }
.s-eyebrow { display: flex; margin-bottom: 16px; }
.s-title { margin-bottom: 48px; max-width: 640px; }
.s-title--56 { margin-bottom: 56px; }
.s-title--40 { margin-bottom: 40px; }
.s-page-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 760px; }
.s-balance { text-wrap: balance; }
.s-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; }
.s-kicker { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.s-confirm { border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; font-size: 16px; line-height: 1.5; }
.geo .s-eyebrow, .svc-hero .s-eyebrow { color: var(--white); }

/* Шаги 01–04 */
.s-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 24px; }
.s-step { position: relative; padding-top: 28px; }
.s-step__line { position: absolute; top: 0; left: 0; right: -24px; height: 1px; background: var(--border); }
.s-step:last-child .s-step__line { right: 0; }
.s-step__dot { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.s-step__num { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.s-step__title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-top: 8px; }
.s-step__text { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* FAQ (поверх .faq из app.css) */
.s-faq .faq__q { letter-spacing: -0.01em; }
.s-faq .faq__q svg { flex: none; transition: transform .3s; }
.s-faq__a { padding: 0 40px 22px 0; max-width: none; }

/* CTA «Перезвоните мне» */
.s-cta__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; align-items: center; }
.s-cta__form { display: flex; flex-wrap: wrap; gap: 10px; }
.s-cta__form--stack { flex-direction: column; flex-wrap: nowrap; }
.s-cta__row { display: flex; flex-wrap: wrap; gap: 10px; }
.s-cta__input { flex: 1 1 240px; height: 60px; padding: 0 20px; font-size: 17px; width: auto; min-width: 0; }
.s-cta__input--md { height: 56px; font-size: 16px; flex-basis: 220px; }
.s-cta__form--stack > .s-cta__input { width: 100%; flex: none; }
.s-cta__btn { flex: 1 1 160px; height: 60px; font-size: 16px; }
.s-cta__btn--md { height: 56px; }
.s-cta__error { flex-basis: 100%; }

/* =========================================================
   Главная
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--navy); color: var(--white); display: flex; flex-direction: column; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero__overlay { position: absolute; inset: 0; background: rgba(13, 51, 88, .58); }
.hero__body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 130px; padding-bottom: 48px; }
.hero__title { max-width: 900px; text-wrap: balance; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 600px; color: rgba(255,255,255,.85); }
.hero__track { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.hero__track-input { flex: 1 1 260px; min-width: 0; height: 60px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: var(--white); padding: 0 20px; font-size: 17px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); outline: none; transition: border-color .15s; }
.hero__track-input::placeholder { color: rgba(255,255,255,.7); }
.hero__track-input:focus { border-color: var(--white); }
.hero__track-btn { flex: 1 1 160px; height: 60px; font-size: 17px; }
.hero__calc-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 16px; align-self: flex-start; transition: gap .2s; }
.hero__calc-link:hover { gap: 14px; color: var(--white); }
.hero__facts { position: relative; border-top: 1px solid rgba(255,255,255,.2); }
.hero__facts-row { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px 0; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
.hero__facts-row span { padding: 0 20px; border-left: 1px solid rgba(255,255,255,.3); }
.hero__facts-row span:first-child { padding-left: 0; border-left: 0; }

/* Услуги */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--border); border-radius: 12px; color: var(--navy); transition: border-color .25s, opacity .6s ease-out, transform .6s ease-out; }
.svc-card:hover { border-color: var(--navy); color: var(--navy); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card__arrow { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.svc-card:hover .svc-card__arrow, .svc-card:focus-visible .svc-card__arrow { opacity: 1; transform: none; }
.svc-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 14px; }
.svc-card__text { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Калькулятор (главная + услуга) */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.calc__form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.calc__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.calc__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); min-width: 0; }
.calc__input { height: 56px; }
.calc__input--dim { padding: 0 14px; min-width: 0; }
.calc__segment { align-self: flex-start; }
.calc__segment .segment__btn { padding: 9px 16px; }
.calc__dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc__note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.calc__result { background: var(--navy); color: var(--white); border-radius: 12px; padding: clamp(24px, 3vw, 40px); min-width: 0; }
.calc__result-inner { display: flex; flex-direction: column; gap: 24px; }
.calc__route { font-size: 14px; color: rgba(255,255,255,.7); }
.calc__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.calc__k { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.calc__v { font-size: 20px; font-weight: 600; margin-top: 4px; }
.calc__total { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.calc__sum { font-size: clamp(40px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; }
.calc__total-note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }
.calc__custom { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.calc__custom-text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); }
.calc__btn { height: 56px; font-size: 16px; width: 100%; }
.calc__done { border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 16px; font-size: 15px; line-height: 1.5; }
.calc__phone { display: flex; flex-direction: column; gap: 8px; }
.calc__phone-label { font-size: 13px; color: rgba(255,255,255,.7); }
.calc__phone-row { display: flex; flex-wrap: wrap; gap: 10px; }
.calc__phone-input { flex: 1 1 200px; width: auto; min-width: 0; height: 56px; }
.calc__phone-input.is-invalid { border-color: var(--danger); }
.calc__phone-row .calc__btn { flex: 1 1 140px; width: auto; }
.calc__error { font-size: 13px; color: var(--white); font-weight: 500; }

/* География */
.geo { background: var(--navy); color: var(--white); }
.geo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: center; }
.geo__title { margin-bottom: 20px; }
.geo__lead { margin-bottom: 40px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.55; max-width: 460px; }
.geo__bars { display: flex; flex-direction: column; gap: 22px; max-width: 460px; }
.geo__bar-head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.geo__bar-head span:last-child { color: rgba(255,255,255,.7); }
.geo__bar { height: 2px; background: rgba(255,255,255,.15); }
.geo__bar div { height: 2px; background: var(--white); }
.geo__legend { display: flex; gap: 24px; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,.7); }
.geo__legend span { display: flex; align-items: center; gap: 8px; }
.geo__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.geo__legend i.is-orange { background: var(--orange); }
.kz-map { position: relative; min-width: 0; }
.kz-map svg { width: 100%; height: auto; display: block; }
.kz-map__label { position: absolute; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; pointer-events: none; }
.kz-map__label.is-end { transform: translate(-100%, -50%); }
.kz-map__label--hub { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.8); }
@media (max-width: 480px) { .kz-map__label { font-size: 10px; } .kz-map__label--hub { font-size: 9px; } }

/* Почему мы */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.why-item { display: flex; flex-direction: column; gap: 16px; }
.why-item__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.why-item__text { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Ширина контента секций как в прототипе: 1200px контента + 24px поля */
.s-container, .site-footer > .container { max-width: 1248px; }
.calc__input { font-weight: 400; }
.calc__k, .calc__v, .calc__route { line-height: 1.25; }
/* В прототипах line-height по умолчанию normal — явные значения заданы там, где нужно */
main#top { line-height: normal; }
.site-footer__nav, .site-footer__contacts, .site-footer__bottom { line-height: normal; }

/* =========================================================
   Тарифы
   ========================================================= */
.tf-title { margin-bottom: 40px; }
.tf-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tf-tabs .segment__btn { padding: 10px 18px; font-size: 15px; }
.tf-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.tf-search svg { position: absolute; left: 16px; top: 16px; color: var(--muted); pointer-events: none; }
.tf-search .input { height: 50px; padding: 0 16px 0 44px; font-size: 15px; }
.tf-search .input::-webkit-search-cancel-button { cursor: pointer; }
.tf-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--white); }
.tf-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px 24px; border-top: 1px solid var(--border); font-size: 16px; align-items: center; transition: background .15s; }
.tf-row:not(.tf-row--head):hover { background: var(--surface); }
.tf-row--head { border-top: 0; padding: 14px 24px; background: var(--surface); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.tf-row--2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.tf-row--tall { padding: 18px 24px; }
.tf-row--tall:hover { background: transparent !important; }
.tf-num { text-align: right; }
.tf-city { font-weight: 500; }
.tf-days { color: var(--muted); }
.tf-rate { font-weight: 600; }
.tf-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.tf-empty { padding: 32px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.tf-empty a { font-weight: 600; }
.tf-foot { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.tf-vol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; }
.tf-vol__title { margin-bottom: 24px; }
.tf-formula { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tf-formula span { color: var(--muted); }
.tf-vol__text { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 480px; }
.tf-mini { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tf-mini__title { font-size: 18px; font-weight: 600; }
.tf-mini__dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tf-mini__input { height: 52px; padding: 0 14px; min-width: 0; font-weight: 400; }
.tf-mini__result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--border); padding-top: 20px; }
.tf-mini__val { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.tf-mini__hint { font-size: 13px; color: var(--muted); }
.tf-loaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.tf-notes { display: flex; flex-direction: column; gap: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); padding: 8px 0; }
.tf-notes > div { display: flex; gap: 14px; }
.tf-notes svg { flex: none; margin-top: 2px; color: var(--navy); }
@media (max-width: 480px) { .tf-row { padding-left: 16px; padding-right: 16px; font-size: 15px; } }

/* =========================================================
   Отследить груз
   ========================================================= */
.tr-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.tr-title { margin-bottom: 32px; }
.tr-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.tr-input { flex: 1 1 300px; width: auto; min-width: 0; height: 60px; padding: 0 20px; font-size: 17px; }
.tr-btn { flex: 1 1 160px; height: 60px; font-size: 17px; }
.tr-demo { margin-top: 14px; font-size: 14px; color: var(--muted); }
.tr-demo button { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--navy); transition: color .15s, border-color .15s; }
.tr-demo button:hover { color: var(--orange); border-color: var(--orange); }
.tr-body { padding: clamp(48px, 6vw, 80px) 0; min-height: 50vh; }
.tr-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 64px 24px; border: 1px solid var(--border); border-radius: 12px; color: var(--navy); }
.tr-state--dashed { border-style: dashed; color: var(--muted); }
.tr-state svg { color: var(--navy); }
.tr-state__title { font-size: 20px; font-weight: 600; color: var(--navy); }
.tr-state__big { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.tr-state__text { font-size: 15px; max-width: 380px; line-height: 1.5; color: var(--muted); }
.tr-state__text--wide { max-width: 420px; }
.tr-call { height: 48px; padding: 0 22px; font-size: 15px; }
.tr-loading { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 96px 24px; color: var(--muted); font-size: 15px; }
.tr-loading .speed-loader { color: var(--navy); }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.tr-status { grid-column: 1 / -1; background: var(--navy); color: var(--white); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.tr-status__k { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; }
.tr-status__v { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 8px; }
.tr-status__route { font-size: 17px; margin-top: 12px; color: rgba(255,255,255,.85); }
.tr-status__eta { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.tr-status__date { font-size: 24px; font-weight: 600; }
.tr-status__note { font-size: 14px; color: rgba(255,255,255,.7); }
.tr-card { border: 1px solid var(--border); border-radius: 12px; padding: clamp(24px, 3vw, 36px); min-width: 0; }
.tr-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 24px; }
.tr-card__title--flush { margin-bottom: 0; }
.tr-stages-card { grid-column: 1 / -1; overflow-x: auto; }
.tr-stages { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); min-width: 600px; }
.tr-stage { position: relative; padding-top: 26px; }
.tr-stage__line { position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--border); }
.tr-stage__line.is-on { background: var(--navy); }
.tr-stage__dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); }
.tr-stage.is-done .tr-stage__dot { background: var(--navy); border-color: var(--navy); }
.tr-stage.is-current .tr-stage__dot { background: var(--orange); border-color: var(--orange); }
.tr-stage__label { font-size: 14px; font-weight: 600; color: var(--muted); padding-right: 12px; line-height: 1.35; }
.tr-stage.is-done .tr-stage__label { color: var(--navy); }
.tr-stage.is-current .tr-stage__label { color: var(--orange); }
.tr-stage__date { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tr-history { display: flex; flex-direction: column; }
.tr-hist { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 16px; }
.tr-hist__rail { display: flex; flex-direction: column; align-items: center; }
.tr-hist__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--navy); margin-top: 5px; flex: none; }
.tr-hist__dot.is-first { background: var(--navy); }
.tr-hist__line { width: 1px; flex: 1; background: var(--border); }
.tr-hist__body { padding-bottom: 24px; }
.tr-hist__meta { font-size: 13px; color: var(--muted); }
.tr-hist__event { font-size: 16px; font-weight: 500; margin-top: 4px; }
.tr-hist__empty { font-size: 15px; color: var(--muted); }
.tr-info { display: flex; flex-direction: column; gap: 24px; }
.tr-info__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.tr-info__v { font-size: 18px; font-weight: 600; margin-top: 4px; }
.tr-info__pay { display: flex; align-items: center; gap: 8px; }
.tr-info__pay > span { display: inline-flex; }
.tr-info__parties { border-top: 1px solid var(--border); padding-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tr-info__name { font-size: 16px; font-weight: 500; margin-top: 4px; overflow-wrap: anywhere; }
.tr-info__phone { font-size: 14px; color: var(--muted); margin-top: 2px; }
.tr-info__actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--border); padding-top: 20px; }
.tr-action { flex: 1 1 200px; height: 50px; font-size: 15px; gap: 10px; padding: 0 16px; }
.tr-action--outline { background: var(--white); }

/* =========================================================
   Услуга — Сборные грузы
   ========================================================= */
.svc-hero { background: var(--navy); color: var(--white); padding: clamp(64px, 8vw, 120px) 0; }
.svc-hero__crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.svc-hero__crumbs a { color: rgba(255,255,255,.65); }
.svc-hero__crumbs a:hover { color: var(--white); }
.svc-hero__crumbs .is-current { color: var(--white); }
.svc-hero__title { font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 900px; }
.svc-hero__lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 620px; color: rgba(255,255,255,.85); }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.svc-hero__btn { height: 56px; font-size: 16px; padding: 0 28px; }
.svc-incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.svc-incl li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.svc-incl li svg { flex: none; }
.svc-incl li.is-muted { color: var(--muted); }
@media (max-width: 480px) { .svc-hero__btn { flex: 1 1 100%; } }

/* =========================================================
   О компании
   ========================================================= */
.ab-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: end; }
.ab-title { max-width: none; }
.ab-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.ab-facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ab-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-left: 0; padding-right: 0; }
.ab-fact { padding: 40px 24px; border-right: 1px solid var(--border); }
.ab-fact:last-child { border-right: 0; }
.ab-fact__v { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ab-fact__l { font-size: 15px; color: var(--muted); margin-top: 10px; }
@media (max-width: 959px) { .ab-fact { border-right: 0; border-bottom: 1px solid var(--border); } .ab-fact:last-child { border-bottom: 0; } }
.ab-wh { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ab-wh__card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, opacity .6s ease-out, transform .6s ease-out; }
.ab-wh__card:hover { border-color: var(--navy); }
.ab-wh__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ab-wh__head .s-kicker { font-weight: 500; }
.ab-wh__city { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ab-wh__addr { font-size: 15px; color: var(--muted); line-height: 1.5; }
.ab-wh__hours { font-size: 14px; color: var(--muted); }
.ab-req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: start; }
.ab-req__title { margin-bottom: 24px; }
.ab-req__text { margin-bottom: 32px; font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 420px; }
.ab-req__btn { height: 52px; padding: 0 24px; font-size: 15px; gap: 10px; white-space: normal; text-align: left; }
.ab-req__list { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ab-req__row { width: 100%; display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 24px; border: 0; border-bottom: 1px solid var(--border); background: var(--white); text-align: left; color: var(--navy); transition: background .15s; }
.ab-req__row:last-child { border-bottom: 0; }
.ab-req__row:hover { background: var(--surface); }
.ab-req__label { font-size: 13px; color: var(--muted); font-weight: 500; }
.ab-req__value { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.ab-req__hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .ab-req__row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; } .ab-req__label { grid-column: 1 / -1; } }

/* =========================================================
   Контакты
   ========================================================= */
.ct-title { margin-bottom: 48px; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.ct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-content: start; }
.ct-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ct-card__big { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ct-card__wrap { overflow-wrap: anywhere; }
.ct-card__text { font-size: 16px; line-height: 1.5; }
.ct-map { position: relative; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; min-height: 380px; background: var(--surface); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95); pointer-events: none; }
.ct-map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; pointer-events: none; }
.ct-map__label { position: absolute; left: 16px; bottom: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.4; }
.ct-map__label div { font-weight: 600; }
.ct-map__label span { color: var(--muted); }
.ct-map__open { position: absolute; right: 16px; bottom: 16px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .2s; }
.ct-map__open:hover { background: var(--navy-hover); color: var(--white); }
@media (max-width: 480px) { .ct-map__open { top: 16px; bottom: auto; left: 16px; right: auto; } }
.ct-wh { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ct-wh__row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: 15px; align-items: center; }
.ct-wh__row:last-child { border-bottom: 0; }
.ct-wh__city { font-size: 17px; font-weight: 600; }
.ct-wh__type { margin-top: 2px; }
.ct-wh__muted { color: var(--muted); }
@media (max-width: 640px) { .ct-wh__row { grid-template-columns: 1fr; gap: 4px; padding: 16px; } }
.ct-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: start; }
.ct-form__title { margin-bottom: 20px; }
.ct-form__lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 420px; }
.ct-form { display: flex; flex-direction: column; gap: 12px; }
.ct-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.ct-input { height: 56px; padding: 0 20px; }
.ct-err { margin-top: 6px; }
.ct-textarea { padding: 16px 20px; }
.ct-submit { height: 56px; font-size: 16px; }
.ct-form__note { font-size: 13px; color: var(--muted); }
.ct-sent { border: 1px solid var(--border); border-radius: 12px; padding: 24px; font-size: 16px; line-height: 1.5; }
.ct-sent__title { font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.ab-facts__grid.s-container { max-width: 1200px; }
.tr-status__receiver { margin-top: 6px; color: var(--white); font-weight: 600; }
