/* ==========================================================================
   Grom Šped — Šlep služba Čačak
   Design tokens → base → components → sections → motion states
   ========================================================================== */

:root {
  /* color */
  --ink: #0b0b0c;
  --ink-2: #121214;
  --ink-3: #1a1a1d;
  --ink-4: #26262a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f2ec;
  --muted: #a7a49c;          /* 7.9:1 on --ink */
  --dim: #75736d;            /* decorative only */
  --signal: #ffc400;         /* safety yellow */
  --signal-hot: #ffd84d;
  --on-signal: #0b0b0c;
  /* logo */
  --brand-red: #ef2b30;      /* "GROM" — 5.0:1 on --ink */
  --steel: #a3a9b2;          /* "ŠPED" — cool steel, distinct from page black */
  --gunmetal: #2c3037;       /* logo tile */

  /* type */
  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* spacing (spacious density) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --gutter: 16px;
  --section: clamp(96px, 14vw, 176px);

  /* shape & motion */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms; --t-med: 420ms;

  /* layers */
  --z-nav: 40; --z-menu: 50; --z-callbar: 45; --z-modal: 100; --z-loader: 1000;

  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* No native smooth scroll: Lenis handles smoothing, and CSS smooth scrolling
   breaks ScrollTrigger's instant re-measure jumps (pinned section went blank). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: normal; color: var(--signal); }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.display {
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kicker { color: var(--signal); margin-bottom: var(--s-5); }
.h2 { font-size: clamp(40px, 7vw, 104px); max-width: 14ch; }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-6); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: calc(var(--z-loader) + 1);
  background: var(--signal); color: var(--on-signal); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
  transition: top var(--t-fast);
}
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  font-variation-settings: "wdth" 108;
  touch-action: manipulation;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease-out);
  isolation: isolate; overflow: hidden;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--signal { background: var(--signal); color: var(--on-signal); }
.btn--signal::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: translateY(101%); border-radius: inherit;
  transition: transform var(--t-med) var(--ease-out);
}
@media (hover: hover) { .btn--signal:hover::before { transform: translateY(0); } }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(11, 11, 12, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--ghost:hover { border-color: var(--text); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); padding-block: 10px; border-bottom: 1px solid var(--line-strong); transition: color var(--t-fast), border-color var(--t-fast); }
@media (hover: hover) { .link-arrow:hover { color: var(--signal); border-color: var(--signal); } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--signal);
}
.no-js .loader, .loader.is-done { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 20px; }
.loader__bolt { width: 44px; height: 66px; }
.loader__bolt path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: bolt-draw 1.1s var(--ease-in-out) forwards; }
.loader__word { display: flex; gap: 0.3em; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 22px; letter-spacing: 0.08em; color: var(--brand-red); }
.loader__word span:last-child { color: var(--steel); }
.loader__count { color: var(--muted); }
@keyframes bolt-draw { to { stroke-dashoffset: 0; fill: currentColor; } }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: calc(var(--z-nav) + 1); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  padding-top: env(safe-area-inset-top);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 12, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand__mark { width: 36px; height: 36px; }
.brand__word { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: 0.04em; font-size: 17px; color: var(--brand-red); }
.brand__word b { color: var(--steel); margin-left: 0.25em; font-weight: 800; }
.nav__links { display: none; gap: 4px; }
.nav__links a { position: relative; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--t-fast); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__call { display: none; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang__btn { min-width: 40px; min-height: 36px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); transition: background-color var(--t-fast), color var(--t-fast); }
.lang__btn[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 6px; border-radius: 50%; border: 1px solid var(--line-strong); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform var(--t-med) var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 768px) { .nav__call { display: inline-flex; } }
@media (min-width: 1100px) { .nav__links { display: flex; } .burger { display: none; } }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink);
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease-in-out);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: clamp(36px, 10vw, 56px); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.03em; line-height: 1.1; }
.menu__links i { color: var(--signal); font-style: normal; }
.menu__links a > span { display: inline-block; transform: translateY(30px); opacity: 0; transition: transform 700ms var(--ease-out), opacity 700ms var(--ease-out); }
.menu.is-open .menu__links a > span { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) > span { transition-delay: 50ms; }
.menu.is-open .menu__links a:nth-child(3) > span { transition-delay: 100ms; }
.menu.is-open .menu__links a:nth-child(4) > span { transition-delay: 150ms; }
.menu.is-open .menu__links a:nth-child(5) > span { transition-delay: 200ms; }
.menu.is-open .menu__links a:nth-child(6) > span { transition-delay: 250ms; }
.menu__foot { display: grid; gap: 16px; }
.menu__meta { color: var(--muted); text-align: center; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; z-index: calc(var(--z-menu) + 1); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(120px + env(safe-area-inset-top)) 0 clamp(88px, 10vw, 120px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 60%; }
.hero__flash { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, rgba(255, 240, 200, 0.55), transparent 70%); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.75) 0%, rgba(11,11,12,0.15) 30%, rgba(11,11,12,0.35) 55%, rgba(11,11,12,0.96) 100%),
    linear-gradient(90deg, rgba(11,11,12,0.7) 0%, transparent 60%);
}
.hero__grid { display: grid; gap: var(--s-6); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--text); }
.eyebrow__sep { color: var(--dim); }
.live { display: inline-flex; align-items: center; gap: 10px; color: var(--signal); }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; }
.live__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #3ddc84; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero__title { font-size: clamp(52px, min(12.4vw, 17svh), 184px); max-width: 11ch; }
@media (max-width: 767px) { .hero__title { font-size: clamp(48px, 13.4vw, 96px); } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__bottom { display: grid; gap: var(--s-6); align-items: end; }
.hero__lead { max-width: 46ch; font-size: clamp(16px, 1.4vw, 19px); color: #d8d5cd; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; display: none; align-items: center; gap: 12px; color: var(--muted); }
.hero__scroll i { width: 1px; height: 48px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--signal); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 1024px) {
  .hero__bottom { grid-template-columns: 1fr auto; }
  .hero__scroll { display: flex; writing-mode: vertical-rl; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 32px; align-items: center; animation: marquee 38s linear infinite; font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee__track b { color: var(--signal); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); padding-block: var(--section) 0; }
.stat { padding: 28px 16px 28px 0; border-top: 1px solid var(--line); }
.stat + .stat { }
.stat__num { font-size: clamp(56px, 8vw, 120px); display: flex; align-items: flex-start; gap: 4px; }
.stat__num small { font-size: 0.36em; color: var(--signal); margin-top: 0.15em; letter-spacing: 0; }
.stat__label { color: var(--muted); max-width: 22ch; margin-top: 12px; font-size: 15px; }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 36px 32px 0 0; }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- manifesto ---------- */
.manifesto { padding-block: var(--section); }
.manifesto__text { font-size: clamp(28px, 4.6vw, 72px); line-height: 1.08; font-weight: 700; font-variation-settings: "wdth" 104; letter-spacing: -0.025em; max-width: 22ch; }
.anim .manifesto__text .w { color: var(--ink-4); }
.manifesto__sign { display: flex; align-items: center; gap: 16px; margin-top: var(--s-7); color: var(--muted); }
.manifesto__line { width: 64px; height: 1px; background: var(--signal); }

/* ---------- services ---------- */
.services { position: relative; background: var(--ink-2); border-top: 1px solid var(--line); }
.services__pin { padding-block: var(--section); }
.services__head { margin-bottom: clamp(40px, 6vw, 72px); }
.services__track { display: grid; gap: 20px; padding-inline: var(--gutter); }
.card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(0.9) contrast(1.05); }
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.1); filter: saturate(1.05) contrast(1.05); } }
.card__body { padding: 24px; display: grid; gap: 10px; }
.card__no { color: var(--signal); }
.card h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; line-height: 1.1; }
.card p { color: var(--muted); font-size: 15px; }
.card--cta { justify-content: center; gap: 20px; padding: 32px; background: var(--signal); color: var(--on-signal); border: 0; }
.card--cta .mono { opacity: 0.7; }
.card--cta__t { font-size: clamp(32px, 3.4vw, 52px); }
.card--cta .btn--signal { background: var(--ink); color: var(--text); align-self: flex-start; }
.card--cta .btn--signal::before { background: var(--ink-4); }
.services__bar { display: none; }

@media (min-width: 640px) { .services__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  /* Pinned panel must fit any desktop height: header + cards scale with vh, never clip under the nav */
  .services.is-horizontal .services__pin { height: 100vh; display: flex; flex-direction: column; justify-content: safe center; padding-block: 96px 32px; overflow: hidden; }
  .services.is-horizontal .services__head { margin-bottom: clamp(20px, 3.5vh, 40px); }
  .services.is-horizontal .services__head .kicker { margin-bottom: clamp(10px, 1.8vh, 24px); }
  .services.is-horizontal .services__head .h2 { font-size: clamp(34px, min(4.6vw, 7.5vh), 80px); max-width: 22ch; }
  .services.is-horizontal .card__body { padding: clamp(16px, 2.4vh, 24px); gap: 8px; }
  .services.is-horizontal .card p { font-size: 14px; }
  .services.is-horizontal .services__track { display: flex; width: max-content; gap: 24px; padding-inline: var(--gutter); will-change: transform; }
  .services.is-horizontal .card { width: clamp(340px, 30vw, 440px); flex: none; }
  .services.is-horizontal .card__media { aspect-ratio: auto; height: clamp(160px, 32vh, 340px); }
  .services.is-horizontal .services__bar { display: block; margin-top: clamp(16px, 3vh, 40px); }
  .services__bar { height: 1px; background: var(--line); position: relative; }
  .services__bar span { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
  .services:not(.is-horizontal) .services__track { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- process ---------- */
.process { padding-block: var(--section); }
.process__wrap { position: relative; display: grid; grid-template-columns: 8px 1fr; gap: 24px; }
.process__road { width: 8px; height: 100%; overflow: visible; }
.road-base { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.road-fill { stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; transform-origin: 50% 0; transform-box: fill-box; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; padding-block: 32px; border-bottom: 1px solid var(--line); align-items: start; }
.step:first-child { padding-top: 0; }
.step__no { font-size: clamp(40px, 6vw, 88px); color: var(--ink-4); transition: color var(--t-med); min-width: 2ch; }
.step.is-on .step__no { color: var(--signal); }
.step h3 { font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 52ch; }
@media (min-width: 1024px) {
  .process__wrap { grid-template-columns: 8px 1fr; gap: 64px; margin-left: 33%; }
  .step { padding-block: 48px; grid-template-columns: 160px 1fr; }
}

/* ---------- fleet ---------- */
.fleet { padding-block: var(--section); background: var(--ink-2); border-block: 1px solid var(--line); }
.fleet__list { display: grid; gap: clamp(64px, 10vw, 140px); }
.unit { display: grid; gap: 28px; align-items: center; }
.unit__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.unit__media img { width: 100%; height: 118%; object-fit: cover; }
.unit__body { display: grid; gap: 16px; max-width: 520px; }
.unit__tag { color: var(--signal); }
.unit h3 { font-size: clamp(36px, 5vw, 72px); }
.unit p { color: var(--muted); font-size: 17px; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.spec li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; color: var(--text); font-size: 11px; }
@media (min-width: 1024px) {
  .unit { grid-template-columns: 1.1fr 1fr; gap: 96px; }
  .unit--flip .unit__media { order: 2; }
  .unit__media { aspect-ratio: 5 / 6; }
}

/* ---------- gallery ---------- */
.gallery { padding-block: var(--section); }
.masonry { columns: 2; column-gap: 12px; }
.tile { display: block; width: 100%; margin-bottom: 12px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; background: var(--ink-3); }
.tile img { width: 100%; transition: transform 1s var(--ease-out), opacity 0.4s; }
.tile:nth-child(3n+2) img { aspect-ratio: 3 / 4; object-fit: cover; }
.tile:nth-child(4n+1) img { aspect-ratio: 1 / 1; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
@media (hover: hover) { .tile:hover img { transform: scale(1.05); } }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 16px; } .tile { margin-bottom: 16px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

/* ---------- reviews ---------- */
.reviews { padding-block: var(--section); background: var(--ink-2); border-top: 1px solid var(--line); }
.reviews__top { display: grid; gap: 40px; margin-bottom: clamp(48px, 7vw, 88px); align-items: end; }
.score { display: flex; align-items: center; gap: 24px; }
.score__num { font-size: clamp(88px, 12vw, 168px); color: var(--signal); }
.score__meta { color: var(--muted); margin-top: 10px; }
.stars { display: flex; gap: 6px; }
.stars i { width: 22px; height: 22px; background: var(--signal); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars--sm i { width: 16px; height: 16px; }
.quotes { display: grid; gap: 16px; }
.quote { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--ink-3); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; font-variation-settings: "wdth" 104; letter-spacing: -0.02em; line-height: 1.2; }
.quote--lg blockquote { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption b { display: block; font-weight: 700; }
.quote figcaption small { color: var(--muted); font-size: 11px; }
.avatar, .avatars span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); color: var(--signal); font-weight: 800; font-size: 14px; flex: none; }
.quote--more { background: transparent; border-style: dashed; }
.quote--more p { color: var(--muted); }
.avatars { display: flex; }
.avatars span { border: 2px solid var(--ink-2); }
.avatars span + span { margin-left: -12px; }
.avatars span:last-child { background: var(--signal); color: var(--on-signal); }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .reviews__top { grid-template-columns: 1fr auto; }
  .quotes { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
  .quote--lg { grid-row: span 2; }
  .quote--more { grid-column: 2 / span 2; flex-direction: row; align-items: center; }
}

/* ---------- contact ---------- */
.contact { padding-block: var(--section); }
.contact__grid { display: grid; gap: 48px; }
.contact__title { font-size: clamp(48px, 9vw, 140px); }
.bigphone { display: inline-block; margin-top: 32px; white-space: nowrap; font-size: clamp(36px, 11vw, 64px); color: var(--signal); overflow: hidden; line-height: 1; }
.roll { display: inline-block; position: relative; }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--text); }
.roll { transition: transform 0.6s var(--ease-out); }
@media (hover: hover) { .bigphone:hover .roll { transform: translateY(-100%); } }
.info { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); padding-top: 4px; }
.info a { border-bottom: 1px solid var(--line-strong); }
.info a:hover { color: var(--signal); border-color: var(--signal); }
.contact__map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--ink-3); border: 1px solid var(--line); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95); }
.map-pin { position: absolute; left: 16px; bottom: 16px; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: stretch; }
  .bigphone { font-size: clamp(48px, 5.4vw, 96px); }
  .contact__map { min-height: 100%; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__giant { font-size: clamp(40px, 13.2vw, 228px); padding-top: 0.12em; line-height: 0.8; color: var(--brand-red); white-space: nowrap; letter-spacing: -0.05em; }
.footer__giant span { color: var(--gunmetal); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; color: var(--muted); }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-callbar);
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 10px 14px 10px 20px;
  background: var(--signal); color: var(--on-signal); border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  transform: translateY(160%); transition: transform 600ms var(--ease-out);
}
.callbar.is-visible { transform: none; }
.callbar > span:nth-child(2) { flex: 1; display: grid; line-height: 1.2; }
.callbar b { font-weight: 800; font-variation-settings: "wdth" 110; }
.callbar small { font-size: 11px; opacity: 0.75; }
.callbar .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--ink); color: var(--signal); }
.callbar .live__dot { background: #0b7a3e; }
.callbar .live__dot::after { border-color: #0b7a3e; }
@media (min-width: 768px) { .callbar { display: none; } }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, 0.94); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.35s var(--ease-out); }
.lightbox img { max-width: min(92vw, 900px); max-height: 86dvh; width: auto; border-radius: var(--r-md); object-fit: contain; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); transition: background-color var(--t-fast); }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 767px) { .lightbox__prev, .lightbox__next { top: auto; bottom: calc(24px + env(safe-area-inset-bottom)); translate: none; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- reveal states (only when JS + GSAP active) ---------- */
.anim .reveal-up { opacity: 0; transform: translateY(24px); }
.anim .hero__title .line > span { transform: translateY(110%); }
.anim .clip { clip-path: inset(12% 12% 12% 12% round var(--r-lg)); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .loader__bolt path { stroke-dashoffset: 0; fill: currentColor; }
}
