/* =========================================================
   The Logistika Holding — landing
   Mobile-first. Brand: Road Black #131313, Logistika Red #F42E1A,
   Concrete #EDEDEA, Steel #8B8E92. Type: Inter (Cyrillic headlines).
   ========================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+2190-21FF;
}

/* ---------- Tokens ---------- */
:root {
  --black: #131313;
  --ink: #0B0B0B;
  --red: #F42E1A;
  --red-text: #FF5A44;      /* red for small text on dark (AA) */
  --red-dark: #C71F0D;      /* red for small text on light (AA) */
  --concrete: #EDEDEA;
  --steel: #8B8E92;
  --muted: #A4A7AB;
  --soft: #C7CACD;
  --line: #232427;
  --card: #161718;

  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 28px;
  --radius-xl: 32px;

  --gutter: 20px;
  --container: 1360px;
  --section: 72px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--ink); color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
body.menu-open { overflow: hidden; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--black);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red-text);
}
.eyebrow--dark { color: var(--red-dark); }
.eyebrow--muted { color: var(--steel); }
.eyebrow--center { display: flex; justify-content: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.h2 { font-weight: 800; font-size: clamp(32px, 8vw, 64px); line-height: 1; letter-spacing: -.045em; margin-top: 16px; }
.h2--xl { font-size: clamp(38px, 9.5vw, 84px); line-height: .95; letter-spacing: -.05em; }
.h3 { font-weight: 700; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.stripes polygon { fill: var(--red); }
.ph-note { position: absolute; left: 18px; top: 16px; font-size: 11px; font-weight: 500; color: var(--steel); z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.btn--red { background: var(--red); color: var(--black); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(244, 46, 26, .35); }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 6px 6px 6px 22px; min-height: 56px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
}
.btn-pill__icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex: none;
  transition: transform .45s var(--ease);
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }
.btn-pill--light { background: #fff; color: var(--black); }
.btn-pill--light .btn-pill__icon { background: var(--black); color: #fff; }
.btn-pill--glass {
  background: rgba(19, 19, 19, .6); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600;
}
.btn-pill--glass .btn-pill__icon { background: rgba(255, 255, 255, .12); }
.btn-pill--glass:hover { border-color: rgba(255, 255, 255, .4); }
.btn-pill--glass:hover .btn-pill__icon { transform: translateY(3px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  border: 1px solid #3A3B3E; border-radius: 999px; padding: 12px 22px; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: border-color .3s, background-color .3s;
}
.btn-outline span { color: var(--red-text); transition: transform .35s var(--ease); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline:hover span { transform: translate(2px, -2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  max-width: var(--container); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 12px; height: var(--header-h);
}
.site-header__logo { flex: 1 1 auto; display: flex; position: relative; z-index: 2; }
.site-header__logo img { height: 34px; width: auto; }
.site-header.is-scrolled {
  background: rgba(11, 11, 11, .78); border-bottom-color: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__cta { display: none; }

.menu-toggle {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(19, 19, 19, .6); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600;
}
.menu-toggle__icon { position: relative; width: 18px; height: 12px; }
.menu-toggle__icon i { position: absolute; left: 0; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.menu-toggle__icon i:nth-child(1) { top: 0; }
.menu-toggle__icon i:nth-child(2) { top: 5px; }
.menu-toggle__icon i:nth-child(3) { top: 10px; width: 60%; left: 40%; background: var(--red); }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; left: 0; background: #fff; }

/* Mobile overlay nav */
.nav {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: rgba(11, 11, 11, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.nav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.nav__list { display: flex; flex-direction: column; gap: 6px; }
.nav__link {
  display: block; font-size: 40px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; padding: 4px 0;
  transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .2s;
}
.nav.is-open .nav__link { transform: none; opacity: 1; }
.nav.is-open li:nth-child(2) .nav__link { transition-delay: .05s; }
.nav.is-open li:nth-child(3) .nav__link { transition-delay: .1s; }
.nav.is-open li:nth-child(4) .nav__link { transition-delay: .15s; }
.nav__link:hover { color: var(--red-text); }
.nav__divider { display: none; }
.nav__phone { font-size: 20px; font-weight: 700; text-decoration: none; }
.lang { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px; align-self: flex-start; }
.lang__item { font-size: 12px; font-weight: 700; text-decoration: none; padding: 9px 12px; border-radius: 999px; color: var(--muted); }
.lang__item.is-active { background: rgba(255, 255, 255, .14); color: #fff; }
.nav__mobile-cta { align-self: flex-start; min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(ellipse 120% 65% at 62% 58%, #3A3E43 0%, #1D1F22 45%, #0E0F10 85%);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; }
.hero__photo, .hero__scene {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: kenburns 18s var(--ease-in-out) forwards;
}
.hero__photo { display: none; object-position: 62% center; }
.hero__scene { width: 170%; left: -55%; }
.hero.has-photo .hero__photo { display: block; }
.hero.has-photo .hero__scene { display: none; }
.hero__lights { animation: headlights 4s ease-in-out infinite; }
.hero__lanes { animation: lanes 1.6s linear infinite; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .55) 0%, rgba(11, 11, 11, 0) 60%),
    linear-gradient(180deg, rgba(11, 11, 11, .6) 0%, rgba(11, 11, 11, 0) 30%, rgba(11, 11, 11, .2) 60%, var(--ink) 100%);
}
.hero__content { position: relative; z-index: 1; margin-top: auto; padding-top: calc(var(--header-h) + 80px); }
.hero__eyebrow { color: #D9DADB; font-size: 11px; letter-spacing: .18em; }
.hero__title { font-weight: 800; font-size: clamp(58px, 17vw, 132px); line-height: .92; letter-spacing: -.055em; margin: 18px 0 18px; }
.hero__title .line { display: block; }
.hero__lead { font-size: 16px; line-height: 1.5; color: #D0D2D4; max-width: 540px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; }
.hero__bottom { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 20px; }
.hero__note { border-left: 3px solid var(--red); padding-left: 12px; font-size: 14px; line-height: 1.45; color: #D0D2D4; }
.hero__modes { display: none; }
.hero__scroll { display: none; }

/* Hero entrance */
.js [data-hero-in] { opacity: 0; transform: translateY(26px); }
.js.is-loaded [data-hero-in] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.is-loaded .hero__eyebrow { transition-delay: .1s; }
.js.is-loaded .hero__title .line:nth-child(1) { transition-delay: .2s; }
.js.is-loaded .hero__title .line:nth-child(2) { transition-delay: .32s; }
.js.is-loaded .hero__lead { transition-delay: .45s; }
.js.is-loaded .hero__actions { transition-delay: .55s; }
.js.is-loaded .hero__bottom { transition-delay: .7s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 16px 12px var(--section); }
.about__panel {
  max-width: 1280px; margin: 0 auto; background: var(--concrete); color: var(--black);
  border-radius: 26px; padding: 44px 22px 36px;
}
.about__title { text-align: center; font-size: clamp(32px, 8.5vw, 64px); }
.about__lead { text-align: center; font-size: 15px; line-height: 1.55; color: #4A4C50; max-width: 620px; margin: 16px auto 28px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #CFCFCA; }
.stats__item { text-align: center; padding: 22px 6px; border-bottom: 1px solid #CFCFCA; }
.stats__item:nth-child(odd) { border-right: 1px solid #CFCFCA; }
.stats__item dd { display: flex; flex-direction: column; align-items: center; }
.stats__num { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stats__num sup { color: var(--red); font-size: .45em; vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.stats__label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.stats__sub { font-size: 12px; color: #5F6266; }
.about__text { display: grid; gap: 16px; margin-top: 28px; font-size: 15px; line-height: 1.65; color: #4A4C50; }
.about__link { text-align: center; margin-top: 28px; }
.about__link a { font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; transition: color .2s; }
.about__link a:hover { color: var(--red-dark); }

/* =========================================================
   SERVICES
   ========================================================= */
.section-head { display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; }
.section-head__aside { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid #3A3B3E; color: #fff; font-weight: 600; font-size: 14px;
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.tab:hover { border-color: #fff; }
.tab.is-active { background: var(--red); border-color: var(--red); color: var(--black); }

.cards { display: flex; gap: 8px; height: 360px; }
.card {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius-m); cursor: pointer;
  background: var(--bg); transition: flex-grow .7s var(--ease);
}
.card.is-active { flex-grow: 4.2; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 40%, rgba(11, 11, 11, .8) 100%); }
.card__ph { position: absolute; left: 16px; top: 18px; right: 64px; font-size: 11px; color: var(--steel); line-height: 1.4; opacity: 0; transition: opacity .4s; }
.card.is-active .card__ph { opacity: 1; transition-delay: .3s; }
.card__dot {
  position: absolute; right: 12px; top: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(19, 19, 19, .35); font-size: 16px;
  transition: background-color .4s, border-color .4s, transform .5s var(--ease), color .4s;
}
.card.is-active .card__dot { background: var(--red); border-color: var(--red); color: var(--black); transform: rotate(45deg); }
.card__label { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 1; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.card__full { display: none; font-size: 19px; hyphens: auto; }
.card__short { display: block; font-size: 15px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.card.is-active .card__full { display: block; animation: fadeUp .6s var(--ease) both .15s; }
.card.is-active .card__short { display: none; }
.card:not(.is-active):hover .card__dot { border-color: #fff; }
@media (max-width: 639px) { .card:not(.is-active) .card__dot { opacity: 0; transform: scale(.6); } }

.service-panels { margin-top: 24px; }
.service-panel { display: grid; gap: 16px; }
.service-panel[hidden] { display: none; }
.service-panel.is-active { animation: fadeUp .6s var(--ease) both; }
.service-panel p { font-size: 16px; line-height: 1.6; color: var(--soft); }
.service-panel .btn-outline { justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { font-size: 13px; color: var(--muted); border: 1px solid #2E2F31; border-radius: 999px; padding: 6px 12px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--black); border-block: 1px solid #1F2022; }
.process .h2 { margin-bottom: 36px; }
.process__track { display: none; }
.steps { display: grid; border-left: 2px solid #3A3B3E; margin-left: 9px; }
.step { position: relative; padding: 0 0 30px 28px; }
.step::before { content: ""; position: absolute; left: -10px; top: 10px; width: 17px; height: 10px; background: var(--red); transform: skewX(-41deg); }
.step--last { padding-bottom: 0; }
.step--last::before { background: #4A4C50; }
.step__num { display: block; font-weight: 800; font-size: 44px; line-height: .9; letter-spacing: -.06em; color: var(--red); }
.step--last .step__num { color: #6C6F73; }
.step__title { font-size: 19px; font-weight: 700; margin: 10px 0 6px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   ROUTES + MAP
   ========================================================= */
.routes { display: grid; gap: 32px; }
.routes .h2 { margin-bottom: 24px; }
.route-rows { border-bottom: 1px solid #2A2B2E; }
.route-row {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 4px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-top: 1px solid #2A2B2E; color: #fff;
  transition: background-color .3s, padding .4s var(--ease);
}
.route-row__n { font-size: 12px; color: var(--steel); width: 24px; flex: none; }
.route-row__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.route-row__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.route-row__sub { font-size: 13px; color: var(--muted); }
.route-row__arrow { color: var(--steel); transition: transform .4s var(--ease), color .3s; }
.route-row:hover { background: rgba(255, 255, 255, .03); }
.route-row.is-active .route-row__n, .route-row.is-active .route-row__arrow { color: var(--red-text); }
.route-row.is-active .route-row__arrow { transform: rotate(45deg); }
.route-row.is-active .route-row__name { color: #fff; }
.routes__cta { margin-top: 24px; }

.map {
  position: relative; border-radius: var(--radius-l); overflow: hidden; border: 1px solid #1F2022;
  background-color: var(--black); background-image: radial-gradient(#26272A 1.3px, transparent 1.4px); background-size: 18px 18px;
  display: flex; flex-direction: column;
}
.map__svg { width: 100%; height: auto; aspect-ratio: 760 / 520; }
.map__line { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .3; transition: opacity .5s, stroke .5s, stroke-width .5s; }
.map__route.is-active .map__line { stroke: var(--red); stroke-width: 3.5; opacity: 1; stroke-dasharray: 14 5; animation: dash 1.1s linear infinite; }
.map__point circle { fill: #fff; transition: fill .4s, r .4s; }
.map__point text { transition: fill .4s; }
.map__point.is-active circle { fill: var(--red); }
.map__point.is-active text { fill: #fff; }
.map__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.map__info { padding: 4px 18px 0; }
.map__point text, .map__compact { font-size: 26px; }
.map__hub { font-size: 30px; }
.map__detail { display: none; }
.map__info-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.map__info-text { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.map__info.is-changing { animation: fadeUp .5s var(--ease) both; }

.track {
  margin: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px;
  background: rgba(28, 29, 31, .9); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
}
.track__label { width: 100%; font-size: 15px; font-weight: 700; padding: 0 4px 4px; }
.track__input {
  flex: 1 1 160px; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid #3A3B3E; background: var(--ink);
  padding: 0 18px; font-size: 16px; transition: border-color .3s;
}
.track__input:focus { border-color: #fff; outline: none; }
.track__btn { height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: #fff; color: var(--black); font-weight: 700; cursor: pointer; transition: transform .3s var(--ease); }
.track__btn:hover { transform: translateY(-1px); }
.track__msg { width: 100%; font-size: 13px; color: var(--soft); padding: 0 4px; }
.track__msg:empty { display: none; }

/* =========================================================
   WHY
   ========================================================= */
.why { display: grid; gap: 10px; }
.why__photo {
  position: relative; min-height: 300px; border-radius: var(--radius-m); overflow: hidden;
  background: radial-gradient(ellipse at 40% 35%, #34383D 0%, #1A1C1F 55%, #0E0F10 100%);
}
.why__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 35%, rgba(11, 11, 11, .85) 100%); }
.why__caption { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 1; }
.why__caption .h2 { margin-top: 12px; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feature {
  display: flex; flex-direction: column; gap: 8px; min-height: 170px; padding: 18px; border-radius: var(--radius-m);
  background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-4px); border-color: #3A3B3E; }
.feature__n { font-size: 12px; color: var(--steel); }
.feature__title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-top: auto; }
.feature p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.feature--red { background: var(--red); border-color: var(--red); color: var(--black); }
.feature--red .feature__n, .feature--red p { color: var(--black); }
.feature--red .feature__title { font-weight: 800; }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { border-block: 1px solid #1F2022; }
.clients__inner { padding-block: 32px; display: grid; gap: 16px; }
.clients h2 { margin: 0; }
.clients__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.clients__logos li {
  height: 56px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 11px; color: var(--steel); transition: border-color .3s;
}
.clients__logos li:hover { border-color: #3A3B3E; }

/* =========================================================
   SPLIT
   ========================================================= */
.split { display: grid; gap: 10px; }
.split__card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px;
  border-radius: var(--radius-m); text-decoration: none; min-height: 230px;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.split__card:hover { transform: translateY(-4px); }
.split__card--light { background: var(--concrete); color: var(--black); }
.split__card--light:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.split__card--dark { background: var(--card); border: 1px solid var(--line); }
.split__symbol { position: absolute; right: -30px; bottom: -50px; width: 220px; opacity: .06; pointer-events: none; transition: transform .8s var(--ease); }
.split__card--dark:hover .split__symbol { transform: translate(-10px, -10px); }
.split__title { font-weight: 800; font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.split__text { font-size: 14px; line-height: 1.5; color: #4A4C50; max-width: 420px; }
.split__card--dark .split__text { color: var(--muted); }
.split__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.split__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; transition: transform .45s var(--ease); }
.split__icon--red { background: var(--red); color: var(--black); }
.split__card:hover .split__icon { transform: rotate(45deg); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-bottom: 56px; }
.contact__box {
  position: relative; overflow: hidden; border-radius: var(--radius-l); border: 1px solid #1F2022;
  background: radial-gradient(ellipse 100% 60% at 20% 20%, #2A2D31 0%, #161718 55%, #0E0F10 100%);
  padding: 36px 14px 14px; display: grid; gap: 24px;
}
.contact__ph { left: auto; right: 18px; top: auto; bottom: 12px; color: #4A4C50; }
.contact__intro { padding: 0 6px; position: relative; }
.contact__intro .h2 { margin-top: 20px; }
.contact__lead { font-size: 15px; line-height: 1.55; color: var(--soft); margin: 14px 0 22px; max-width: 460px; }
.contact__pills { display: flex; flex-direction: column; gap: 8px; }
.pill-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  border: 1px solid #3A3B3E; border-radius: 999px; padding: 12px 20px; text-decoration: none; font-weight: 600;
  transition: border-color .3s, background-color .3s;
}
.pill-link:hover { border-color: #fff; background: rgba(255, 255, 255, .04); }
.contact__hours { font-size: 13px; color: var(--steel); margin-top: 14px; }

.quote {
  position: relative; background: #fff; color: var(--black); border-radius: var(--radius-m);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.quote__title { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.quote__sub { font-size: 14px; color: #5F6266; margin-top: -8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; border-radius: 12px; border: 1px solid #D4D4CF; background: #F6F6F3; color: var(--black);
  padding: 0 14px; font-size: 16px; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input { height: 52px; }
.field textarea { padding: 12px 14px; line-height: 1.4; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); background: #fff; box-shadow: 0 0 0 4px rgba(19, 19, 19, .08); }
.field__err { display: none; font-size: 12px; color: var(--red-dark); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-dark); }
.field.is-invalid .field__err { display: block; }
.quote__submit {
  position: relative; overflow: hidden; min-height: 58px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--red); color: #fff; font-weight: 700; font-size: 19px; margin-top: 4px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.quote__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 46, 26, .35); }
.quote__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.quote__submit.is-loading span::after { content: "…"; }
.quote__legal { font-size: 11px; color: #5F6266; line-height: 1.5; }
.quote__legal a { color: inherit; }
.quote__success {
  position: absolute; inset: 0; border-radius: inherit; background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px;
  animation: fadeUp .5s var(--ease) both;
}
.quote__success[hidden] { display: none; }
.quote__success strong { font-size: 22px; letter-spacing: -.02em; }
.quote__success span { color: #4A4C50; }
.quote__success::before { content: ""; width: 56px; height: 34px; background: var(--red); transform: skewX(-41deg); margin-bottom: 10px; }
.quote__error { font-size: 13px; color: var(--red-dark); font-weight: 600; }

/* =========================================================
   OFFICE
   ========================================================= */
.office { display: grid; gap: 10px; padding-top: 0; }
.office__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.office__addr { font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.office__hours { font-size: 14px; color: var(--muted); line-height: 1.6; }
.office__btn { align-self: flex-start; margin-top: 6px; }
.office__map {
  position: relative; min-height: 240px; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line);
  background-color: #141516; background-image: linear-gradient(#1E1F21 1px, transparent 1px), linear-gradient(90deg, #1E1F21 1px, transparent 1px);
  background-size: 40px 40px;
}
.pin { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; animation: pinDrop 1s var(--ease) both; }
.pin__label { background: var(--red); color: var(--black); font-weight: 700; font-size: 13px; padding: 7px 13px; border-radius: 999px; white-space: nowrap; }
.pin__stem { width: 2px; height: 20px; background: var(--red); }
.pin__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: ring 2s ease-out infinite; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid #1F2022; color: var(--muted); font-size: 14px; }
.footer__top { padding-top: 40px; padding-bottom: 28px; display: grid; gap: 32px; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { margin-top: 16px; line-height: 1.6; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__h { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.footer__cols a { text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid #1F2022; font-size: 12px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes headlights { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
@keyframes lanes { from { transform: translateY(0); } to { transform: translateY(18px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -38; } }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(3); opacity: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(244, 46, 26, .45); } 100% { box-shadow: 0 0 0 16px rgba(244, 46, 26, 0); } }
@keyframes pinDrop { from { opacity: 0; transform: translate(-50%, -140%); } to { opacity: 1; transform: translate(-50%, -100%); } }

/* =========================================================
   ≥ 640px — large phones / small tablets
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; --section: 96px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__lead { font-size: 18px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #CFCFCA; }
  .stats__item { border-bottom: 0; border-right: 1px solid #CFCFCA; }
  .stats__item:last-child { border-right: 0; }
  .contact__pills { flex-direction: row; flex-wrap: wrap; }
  .clients__logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, auto)); gap: 32px 56px; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { height: 440px; gap: 10px; }
  .card__full { font-size: 28px; }
}

/* =========================================================
   ≥ 960px — desktop
   ========================================================= */
@media (min-width: 960px) {
  :root { --gutter: 40px; --section: 120px; --header-h: 96px; }

  /* Header: floating glass pill */
  .site-header__inner { padding-block: 24px; gap: 24px; }
  .site-header.is-scrolled .site-header__inner { padding-block: 12px; }
  .site-header { transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
  .site-header__logo img { height: 44px; transition: height .4s var(--ease); }
  .site-header.is-scrolled .site-header__logo img { height: 38px; }
  .menu-toggle { display: none; }
  .nav {
    position: static; inset: auto; z-index: auto; opacity: 1; visibility: visible; padding: 6px 8px 6px 18px;
    flex-direction: row; align-items: center; gap: 4px; background: rgba(19, 19, 19, .6);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; transition: none;
  }
  .nav__list { flex-direction: row; gap: 0; }
  .nav__link { font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 11px 12px; transform: none; opacity: 1; transition: color .2s; }
  .nav__divider { display: block; width: 1px; height: 20px; background: rgba(255, 255, 255, .18); margin: 0 8px; }
  .nav__phone { font-size: 14px; font-weight: 600; padding: 11px 12px; }
  .lang { margin-left: 6px; align-self: auto; }
  .lang__item { padding: 8px 10px; }
  .nav__mobile-cta { display: none; }
  .site-header__cta { display: inline-flex; min-height: 50px; padding: 14px 24px; }

  /* Hero */
  .hero { min-height: 860px; }
  .hero__scene { width: 100%; left: 0; }
  .hero__content { padding-top: calc(var(--header-h) + 120px); }
  .hero__eyebrow { font-size: 13px; letter-spacing: .22em; }
  .hero__title { font-size: clamp(88px, 9vw, 132px); margin: 26px 0 28px; }
  .hero__lead { font-size: 20px; margin-bottom: 36px; }
  .hero__actions { gap: 12px; }
  .btn-pill { font-size: 17px; padding-left: 26px; }
  .hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-top: 64px; padding-bottom: 36px; }
  .hero__note { font-size: 15px; padding-left: 14px; }
  .hero__modes {
    display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(19, 19, 19, .6);
    border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .hero__modes a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color .3s; }
  .hero__modes a:hover, .hero__modes a.is-active { background: rgba(255, 255, 255, .12); }
  .hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); text-decoration: none; }
  .hero__scroll span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; animation: bob 2.4s ease-in-out infinite; }

  /* About */
  .about { padding: 40px 40px var(--section); }
  .about__panel { border-radius: var(--radius-xl); padding: 88px 64px 64px; }
  .about__lead { font-size: 18px; margin: 24px auto 56px; }
  .stats__item { padding: 36px 16px; }
  .stats__num { font-size: 64px; }
  .stats__label { font-size: 16px; margin-top: 10px; }
  .stats__sub { font-size: 13px; }
  .about__text { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
  .about__link { margin-top: 40px; }

  /* Services */
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin: 20px 0 32px; }
  .section-head__aside { font-size: 17px; text-align: right; max-width: 340px; }
  .tabs { margin: 0 0 20px; padding: 0; overflow: visible; }
  .cards { height: 520px; }
  .card { border-radius: var(--radius-l); }
  .card.is-active { flex-grow: 3.4; }
  .card__ph { left: 24px; top: 26px; font-size: 12px; }
  .card__dot { right: 20px; top: 20px; width: 46px; height: 46px; font-size: 18px; }
  .card__label { left: 24px; right: 24px; bottom: 26px; }
  .card__full { font-size: 40px; }
  .card__short { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 18px; }
  .service-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 48px; align-items: start; margin-top: 28px; }
  .service-panel p { font-size: 17px; }
  .h3 { font-size: 30px; }

  /* Process */
  .process .h2 { margin-bottom: 64px; }
  .process__track { display: block; position: relative; height: 12px; margin-bottom: 36px; }
  .process__track::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #3A3B3E; }
  .process__fill { position: absolute; left: 0; top: 5px; height: 2px; width: 0; background: var(--red); transition: width 1.6s var(--ease) .2s; }
  .process__marker { position: absolute; left: 0; top: 0; width: 18px; height: 12px; background: var(--red); transform: skewX(-41deg); transition: left 1.6s var(--ease) .2s; }
  .process__track.is-visible .process__fill { width: 62%; }
  .process__track.is-visible .process__marker { left: 62%; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-left: 0; margin-left: 0; }
  .step { padding: 0; }
  .step::before { display: none; }
  .step__num { font-size: 72px; }
  .step__title { font-size: 20px; margin: 18px 0 8px; }

  /* Routes */
  .routes { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: stretch; }
  .routes .h2 { margin-bottom: 40px; }
  .route-row { padding: 24px 4px; }
  .route-row:hover { padding-left: 12px; }
  .route-row__name { font-size: 24px; }
  .map { border-radius: var(--radius-xl); justify-content: space-between; }
  .map__svg { margin-top: 8px; }
  .map__info { padding: 0 28px; max-width: 560px; }
  .map__point text { font-size: 14px; }
  .map__hub { font-size: 16px; }
  .map__detail { display: inline; }
  .map__compact { display: none; }
  .track { margin: 20px; flex-wrap: wrap; padding: 16px; }
  .track__label { width: auto; padding: 0 8px; white-space: nowrap; }
  .track__msg { padding: 2px 8px 0; }

  /* Why */
  .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; padding-top: 0; }
  .why__photo { min-height: 560px; border-radius: var(--radius-xl); }
  .why__caption { left: 36px; right: 36px; bottom: 36px; }
  .why__grid { gap: 20px; }
  .feature { padding: 32px; border-radius: var(--radius-l); gap: 12px; }
  .feature__n { font-size: 13px; }
  .feature__title { font-size: 22px; }
  .feature p { font-size: 15px; line-height: 1.55; }

  /* Clients */
  .clients__inner { grid-template-columns: auto 1fr; align-items: center; gap: 48px; padding-block: 48px; }
  .clients__logos { gap: 12px; }
  .clients__logos li { height: 64px; border-radius: var(--radius-s); font-size: 13px; }

  /* Split */
  .split { gap: 20px; }
  .split__card { padding: 44px; min-height: 300px; border-radius: var(--radius-xl); gap: 14px; }
  .split__title { font-size: 40px; letter-spacing: -.045em; }
  .split__text { font-size: 16px; }
  .split__symbol { width: 260px; }

  /* Contact */
  .contact { padding-bottom: var(--section); }
  .contact__box { grid-template-columns: 1fr 1fr; gap: 40px; padding: 72px 64px; border-radius: 36px; }
  .contact__ph { left: 64px; right: auto; bottom: 28px; }
  .contact__intro { padding: 0; }
  .contact__intro .h2 { margin-top: 28px; font-size: clamp(44px, 4.6vw, 68px); }
  .contact__lead { font-size: 18px; margin: 20px 0 36px; }
  .quote { padding: 40px; border-radius: var(--radius-l); gap: 16px; }
  .quote__title { font-size: 28px; }

  /* Office */
  .office { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; padding-bottom: var(--section); }
  .office__card { padding: 40px; border-radius: var(--radius-l); gap: 18px; }
  .office__addr { font-size: 26px; }
  .office__btn { margin-top: auto; }
  .office__map { min-height: 380px; border-radius: var(--radius-l); }

  /* Footer */
  .footer__top { grid-template-columns: 1fr auto; padding-top: 64px; padding-bottom: 32px; }
  .footer__brand img { height: 46px; }
  .footer__bottom { padding-top: 20px; font-size: 13px; }
}

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-hero-in] { opacity: 1; transform: none; }
}

/* =========================================================
   PHOTOS (generated with ElevenLabs, see README)
   ========================================================= */
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); filter: saturate(.85) brightness(.85);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.card.is-active .card__img { transform: scale(1); filter: none; }
.card:not(.is-active):hover .card__img { filter: saturate(1) brightness(.95); }
[data-card="0"] .card__img { object-position: 40% center; }
[data-card="1"] .card__img { object-position: 35% center; }
[data-card="2"] .card__img { object-position: 50% center; }
[data-card="3"] .card__img { object-position: 38% center; }

.why__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 30%;
  transform: scale(1.06); transition: transform 1.4s var(--ease);
}
.why__photo.is-visible .why__img { transform: scale(1); }

.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.contact__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 16, .55) 0%, rgba(14, 15, 16, .88) 45%, rgba(14, 15, 16, .95) 100%);
}
.contact__intro, .quote { position: relative; z-index: 1; }
@media (min-width: 960px) {
  .contact__shade { background: linear-gradient(90deg, rgba(14, 15, 16, .94) 0%, rgba(14, 15, 16, .7) 45%, rgba(14, 15, 16, .35) 100%); }
}

/* header: keep labels on one line; compact between 960 and 1199px */
.nav__link, .nav__phone, .lang__item, .site-header__cta, .btn { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1199px) {
  .nav__phone, .nav__divider { display: none; }
  .site-header__logo img { height: 36px; }
  .nav { padding-left: 10px; }
  .nav__link { padding-inline: 10px; }
  .site-header__cta { padding-inline: 18px; }
}
