/* =========================================================
   BihFreight — style.css
   ========================================================= */
:root {
  --green: #62e972;
  --green-2: #3ddc55;
  --ink: #07130a;
  --bg: #0a0c0b;
  --bg-2: #101412;
  --bg-3: #161b18;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f1f5f2;
  --muted: #9aa59e;
  --r: 18px;
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: .95; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
em { font-style: normal; color: var(--green); }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico.flip { transform: rotate(180deg); }
.ico.up { transform: rotate(-90deg); }

/* Film grain */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(98,233,114,.18); flex: none; }
.h2 {
  font-size: clamp(40px, 6.2vw, 88px);
  font-stretch: 112%;
  text-transform: uppercase;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 540px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #fff; transform: translateY(101%); transition: transform .45s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 10px 40px -10px rgba(98,233,114,.6); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost::before { background: var(--green); }
.btn--ghost:hover { color: var(--ink); border-color: var(--green); }
.btn--block { width: 100%; }

.round-btn {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,12,11,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 18px;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.round-btn:hover { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.06); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: height .35s var(--ease), background .35s, border-color .35s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 68px;
  background: rgba(10,12,11,.82);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo img { height: 48px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .logo img { height: 40px; }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: rgba(255,255,255,.75); transition: color .2s; padding: 6px 0; }
.nav a:hover { color: #fff; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-current { color: #fff; }
.nav__num, .nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.header__phone .ico { color: var(--green); }

.burger { display: none; width: 48px; height: 48px; margin-left: auto; position: relative; border-radius: 50%; border: 1px solid var(--line-2); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden; background: #000;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px;
}
.hero__slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.slide.is-active img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,12,11,.7) 0%, rgba(10,12,11,0) 22%),
    linear-gradient(0deg, rgba(10,12,11,1) 0%, rgba(10,12,11,.75) 22%, rgba(10,12,11,.1) 60%),
    linear-gradient(90deg, rgba(10,12,11,.7) 0%, rgba(10,12,11,0) 60%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 130px; z-index: 3;
}
.hero__title {
  font-size: clamp(56px, 11.5vw, 184px);
  font-stretch: 118%;
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--green); }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.hero__lead { max-width: 440px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.8); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* intro animation */
html:not(.js) [data-anim] { opacity: 1; }
.js [data-anim] { opacity: 0; transform: translateY(30px); }
.js .hero__title [data-anim] { opacity: 1; transform: translateY(105%); }
.is-loaded [data-anim] { opacity: 1; transform: none; transition: transform 1.1s var(--ease), opacity 1s var(--ease); }
.is-loaded .hero__title [data-anim] { transform: none; }
.is-loaded .hero__title .line:nth-child(1) [data-anim] { transition-delay: .15s; }
.is-loaded .hero__title .line:nth-child(2) [data-anim] { transition-delay: .27s; }
.is-loaded .hero__title .line:nth-child(3) [data-anim] { transition-delay: .39s; }
.is-loaded .hero__eyebrow { transition-delay: .05s; }
.is-loaded .hero__lead { transition-delay: .6s; }
.is-loaded .hero__cta { transition-delay: .72s; }

.hero__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid var(--line); }
.hero__ui-inner { height: 88px; display: flex; align-items: center; gap: 32px; }
.hero__progress { display: flex; gap: 8px; }
.hero__progress button { position: relative; width: 56px; height: 24px; }
.hero__progress button::before, .hero__progress button i {
  content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.2);
}
.hero__progress button i { background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero__progress button.is-done i { transform: scaleX(1); }
.hero__progress button.is-active i { animation: fill var(--delay, 6s) linear forwards; }
.hero.is-paused .hero__progress button.is-active i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__label { display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: rgba(255,255,255,.75); margin-right: auto; }
.hero__count { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.hero__label-text { transition: opacity .4s; }
.hero__arrows { display: flex; gap: 10px; }

.scroll-cue { position: absolute; right: var(--gutter); top: 50%; z-index: 4; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--green); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { background: var(--green); color: var(--ink); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); margin: -8px 0; position: relative; z-index: 5; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; font-stretch: 115%; text-transform: uppercase; white-space: nowrap; letter-spacing: -.01em; }
.marquee i { width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: clamp(88px, 12vw, 170px) 0; }
.section__head { margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about .lead { margin-top: 28px; }
.features { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.feature:hover { padding-left: 10px; }
.feature__ico { width: 34px; height: 34px; color: var(--green); flex: none; margin-top: 2px; }
.feature h3 { font-size: 22px; font-stretch: 110%; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); }

.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__img { position: absolute; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { inset: 0 0 12% 12%; }
.about__img--small { left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.badge { position: absolute; right: -24px; top: -24px; width: 132px; height: 132px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; fill: var(--ink); }
.badge__ico { width: 40px; height: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Process ---------- */
.process { background: var(--bg-2); overflow: hidden; }
.process .wrap { position: relative; z-index: 3; }
.road { position: relative; height: 40px; margin-bottom: 40px; }
.road__line { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 18px, transparent 18px 32px); }
.road__fill { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--green) 0 18px, transparent 18px 32px); clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); }
.road__truck { position: absolute; top: 0; left: calc(var(--p, 0) * (100% - 40px)); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 8px rgba(98,233,114,.14); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 40px 34px 38px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  transition: border-color .35s, transform .45s var(--ease), background .35s;
}
.step:hover { border-color: rgba(98,233,114,.45); transform: translateY(-6px); background: linear-gradient(180deg, rgba(98,233,114,.08), rgba(255,255,255,.01)); }
.step__num { position: absolute; right: 26px; top: 18px; font-size: 64px; font-weight: 900; font-stretch: 120%; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.15); }
.step__ico { width: 40px; height: 40px; color: var(--green); margin-bottom: 64px; }
.step h3 { font-size: 26px; font-stretch: 112%; text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--muted); }

/* ---------- Fleet bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, clamp(180px, 20vw, 280px));
  gap: 14px;
}
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-3); text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 50%); opacity: 0; transition: opacity .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 1; }
.tile__cap {
  position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease);
}
.tile__cap::before { content: ''; width: 18px; height: 2px; background: var(--green); }
.tile:hover .tile__cap { opacity: 1; transform: none; }
.tile--a { grid-column: 1 / 7; grid-row: 1 / 3; }
.tile--b { grid-column: 7 / 10; grid-row: 1 / 3; }
.tile--c { grid-column: 10 / 13; grid-row: 1 / 2; }
.tile--d { grid-column: 10 / 13; grid-row: 2 / 3; }
.tile--e { grid-column: 1 / 4; grid-row: 3 / 4; }
.tile--f { grid-column: 4 / 7; grid-row: 3 / 4; }
.tile--g { grid-column: 7 / 13; grid-row: 3 / 4; }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 220px) 0; isolation: isolate; }
.band__bg { position: absolute; inset: -20% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,11,.92) 0%, rgba(10,12,11,.6) 55%, rgba(10,12,11,.35) 100%); }
.band__title { font-size: clamp(48px, 8.5vw, 136px); font-stretch: 118%; font-weight: 900; text-transform: uppercase; line-height: .9; max-width: 11ch; }
.band__title span { display: block; color: var(--green); }
.band__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(1200px 600px at 0% 0%, rgba(98,233,114,.10), transparent 60%), var(--bg); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .lead { margin-top: 26px; }
.contact__list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 10px; }
.contact__list a, .contact__list div {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  font-size: 19px; font-weight: 600; overflow-wrap: break-word; min-width: 0;
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.contact__list a:hover { border-color: var(--green); background: rgba(98,233,114,.07); transform: translateX(6px); }
.contact__list .ico { width: 24px; height: 24px; color: var(--green); }
.contact__list .go { margin-left: auto; color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.contact__list a:hover .go { color: var(--green); transform: translateX(4px); }
.contact__list small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }


/* ---------- Map ---------- */
.map {
  position: relative; margin: 0;
  padding: clamp(20px, 3vw, 40px) clamp(12px, 2.5vw, 32px) clamp(64px, 7vw, 84px);
  border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 88% 30%, rgba(98,233,114,.12), transparent 70%), var(--bg-2);
  overflow: hidden;
}
.map__dots, .map__fx { display: block; width: 100%; height: auto; }
.map__fx { position: absolute; left: clamp(12px, 2.5vw, 32px); right: clamp(12px, 2.5vw, 32px); top: clamp(20px, 3vw, 40px); width: calc(100% - 2 * clamp(12px, 2.5vw, 32px)); overflow: visible; }
.map__state { fill: rgba(98,233,114,.18); stroke: var(--green); stroke-width: 1.2; }
.map__ct { fill: var(--green); }
.map__arc { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .55; stroke-linecap: round; }
.map__end { fill: var(--bg-2); stroke: var(--green); stroke-width: 1.6; }
.map__core { fill: var(--green); stroke: var(--bg-2); stroke-width: 3; }
.map__pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.map__pulse--2 { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(4.5); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
.map__arc { animation: dash 1.6s linear infinite; }
.map__tag {
  position: absolute; left: clamp(16px, 2.5vw, 32px); top: clamp(16px, 2.5vw, 32px);
  display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px;
  background: rgba(10,12,11,.75); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.map__tag-top { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.map__tag-top .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(98,233,114,.18); }
.map__tag strong { font-size: 20px; font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.map__coords { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.map__legend { position: absolute; right: clamp(16px, 2.5vw, 32px); bottom: clamp(18px, 2.5vw, 28px); display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map__legend span { width: 28px; border-top: 1.5px dashed var(--green); }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 44px; width: auto; }
.footer__nav { display: flex; gap: 28px; margin-left: auto; flex-wrap: wrap; color: var(--muted); font-weight: 500; }
.footer__nav a:hover { color: var(--green); }
.footer__big { display: block; width: 100%; height: auto; margin: 48px 0 28px; overflow: visible; user-select: none; }
.footer__big text {
  font-family: var(--font); font-size: 150px; font-weight: 900; font-stretch: 125%; letter-spacing: -.02em;
  fill: transparent; stroke: rgba(98,233,114,.32); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 70px 80px;
  background: rgba(5,6,5,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fade .3s;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 12px; animation: zoom .4s var(--ease); }
.lightbox figcaption { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -26px; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(.96); } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tile.reveal { transform: translateY(40px) scale(.97); }
.js .tile.reveal.is-in { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1100px) { .scroll-cue { display: block; } }

@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav { gap: 24px; }
}

@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .badge { right: -8px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .road { display: none; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding: 28px 24px; }
  .step__ico { grid-row: span 2; margin: 0; }
  .step__num { font-size: 40px; top: 16px; right: 18px; }
  .step h3 { padding-right: 64px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(150px, 34vw, 280px); }
  .tile--a, .tile--g { grid-column: 1 / -1; grid-row: auto; }
  .tile--b { grid-column: 1 / 2; grid-row: span 2; }
  .tile--c, .tile--d, .tile--e, .tile--f { grid-column: auto; grid-row: auto; }
  .tile__cap { opacity: 1; transform: none; font-size: 13px; left: 14px; bottom: 12px; }
  .tile::after { opacity: 1; }
  .br-desk { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .header__actions { display: none; }
  .burger { display: block; }
  .logo img, .header.is-scrolled .logo img { height: 38px; }

  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 100px var(--gutter) 40px;
    background: var(--bg);
    clip-path: circle(0% at calc(100% - 40px) 34px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
  .nav a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 18px 0; line-height: 1; border-bottom: 1px solid var(--line);
    font-size: clamp(30px, 9vw, 52px); font-weight: 800; font-stretch: 115%; text-transform: uppercase; color: #fff;
    opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease), color .2s;
  }
  .nav a::after { display: none; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(1) { transition-delay: .15s; }
  .nav.is-open a:nth-child(2) { transition-delay: .21s; }
  .nav.is-open a:nth-child(3) { transition-delay: .27s; }
  .nav.is-open a:nth-child(4) { transition-delay: .33s; }
  .nav.is-open a:nth-child(5) { transition-delay: .39s; }
  .nav__num { display: inline; font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .1em; font-stretch: 100%; }
  .nav a.nav__phone { display: flex; align-items: center; gap: 10px; margin-top: 28px; border: 0; font-size: 20px; font-stretch: 100%; text-transform: none; font-weight: 600; color: var(--green); }
  .header.menu-open { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.no-scroll { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hero { min-height: 600px; }
  .hero__content { bottom: 84px; }
  .hero__title { font-size: clamp(50px, 15.5vw, 80px); }
  .outline { -webkit-text-stroke-width: 1.5px; }
  .hero__bottom { margin-top: 22px; gap: 22px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 0; --h: 54px; padding: 0 16px; }
  .hero__ui-inner { height: 64px; gap: 16px; }
  .hero__arrows, .hero__label-text { display: none; }
  .hero__progress button { width: 38px; }
  .marquee { padding: 14px 0; }
  .hero__eyebrow .hide-sm { display: none; }
  .band__title { font-size: clamp(40px, 12.5vw, 64px); }
  .marquee__track { gap: 24px; }
  .badge { width: 104px; height: 104px; top: -18px; }
  .badge__ring text { font-size: 10px; }
  .badge__ico { width: 32px; height: 32px; }
  .contact__list a, .contact__list div { font-size: 16px; padding: 16px; }
  .map { display: flex; flex-direction: column; padding-top: 12px; }
  .map__tag { position: static; order: -1; margin: 4px 4px 16px; }
  .map__fx { top: auto; bottom: 64px; }
  .map__tag strong { font-size: 17px; }
  .band__cta .btn { flex: 1 1 100%; }
  .footer__top { justify-content: center; text-align: center; flex-direction: column; gap: 24px; }
  .footer__nav { margin: 0; justify-content: center; gap: 20px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .lightbox { padding: 70px 12px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; margin: 0; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }

  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(10,12,11,.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .callbar.is-visible { transform: none; }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 999px; font-weight: 700;
    border: 1px solid var(--line-2); color: #fff;
  }
  .callbar .ico { color: var(--green); }
  .callbar__quote { background: var(--green); color: var(--ink) !important; border-color: var(--green) !important; }
}

@media (hover: none) {
  .tile__cap { opacity: 1; transform: none; }
  .tile::after { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-anim], .hero__title [data-anim], .js .reveal { opacity: 1 !important; transform: none !important; }
}
