/* ==========================================================
   Orion, Inc. — site styles
   ========================================================== */

:root {
  --bg: #060913;
  --bg-2: #0a1020;
  --surface: #0f1629;
  --surface-2: #141c33;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf7;
  --muted: #9aa5c0;
  --dim: #6b7695;
  --blue: #6ea8ff;
  --violet: #b18cff;
  --gold: #ffd27a;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);
  --header-h: 76px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Scale the whole layout up on very large displays */
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (min-width: 1920px) { html { font-size: 17px; } :root { --container: 1480px; } }
@media (min-width: 2560px) { html { font-size: 20px; } :root { --container: 1760px; --header-h: 92px; } }
@media (min-width: 3400px) { html { font-size: 26px; } :root { --container: 2300px; --header-h: 116px; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
address { font-style: normal; }
::selection { background: rgba(110, 168, 255, .35); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #061022; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 54px; padding: 0 1.8em; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #0a0f1f; box-shadow: 0 10px 30px -10px rgba(126, 140, 255, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(126, 140, 255, .8); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: #fff; background: rgba(110, 168, 255, .08); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-strong); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.text-link { display: inline-flex; align-items: center; gap: .5em; color: var(--blue); font-weight: 600; margin-top: 1.6rem; }
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 9, 19, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand-mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.brand-mark img {
  width: calc(2172 / 640 * 2.75rem);
  height: calc(724 / 640 * 2.75rem);
  max-width: none;
  object-fit: fill;
  margin-left: calc(-302 / 640 * 2.75rem);
  margin-top: calc(-39 / 640 * 2.75rem);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.2rem/1 var(--font-head); letter-spacing: .18em; }
.brand-text small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a:not(.btn) {
  position: relative; padding: .55rem .9rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold);
}
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 24s ease-out forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 75% 30%, rgba(110, 168, 255, .18), transparent 60%),
    linear-gradient(90deg, rgba(6, 9, 19, .96) 0%, rgba(6, 9, 19, .82) 45%, rgba(6, 9, 19, .55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

.hero-content { padding-top: clamp(40px, 8vh, 120px); padding-bottom: clamp(140px, 22vh, 260px); }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 700; letter-spacing: -0.035em;
  max-width: 14ch; margin-bottom: 1.6rem;
}
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #c3cbe0; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.6rem; }

.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 9, 19, .2), rgba(6, 9, 19, .75));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.8rem 1.5rem 1.8rem 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 1.8rem; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 600 clamp(1.4rem, 2.4vw, 2.1rem)/1.1 var(--font-head); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: .45rem; font-size: .82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64rem; margin-bottom: clamp(48px, 6vw, 88px); }
.section-lead { max-width: 46rem; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.about-copy h2, .buyback-intro h2, .contact-info h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.section-lead { margin-top: 1.3rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.solution {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .35s, transform .35s var(--ease);
}
.solution:hover { border-color: rgba(110, 168, 255, .45); transform: translateY(-4px); }
.solution-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.solution:hover .solution-media img { transform: scale(1.06); }
.solution-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, rgba(15, 22, 41, 0) 55%); }
.tint-blue { filter: hue-rotate(205deg) saturate(1.1) brightness(.9); }
.solution-body { position: relative; padding: 0 clamp(22px, 2.6vw, 40px) clamp(26px, 2.8vw, 40px); margin-top: -1.2rem; }
.solution-num { font: 600 .8rem/1 var(--font-head); color: var(--gold); letter-spacing: .15em; }
.solution h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); margin: .7rem 0 .8rem; }
.solution p { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; }
.tags li { font-size: .78rem; padding: .38rem .8rem; border-radius: 999px; border: 1px solid var(--line-strong); color: #c9d1e6; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-top: 1.3rem; }
.about-copy h2 + p { margin-top: 1.8rem; }
.about-visual { position: relative; }
.about-visual img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.about-badge {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: clamp(20px, 3vw, 40px);
  padding: 1.1rem 1.5rem; border-radius: var(--radius-sm);
  background: rgba(15, 22, 41, .88); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.about-badge strong { display: block; font: 600 1.5rem/1.1 var(--font-head); }
.about-badge span { font-size: .85rem; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(64px, 8vw, 120px); }
.pillar { padding: clamp(24px, 2.4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background .3s; }
.pillar:hover { border-color: rgba(255, 210, 122, .4); background: var(--surface-2); }
.pillar-icon {
  width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px;
  background: rgba(110, 168, 255, .1); color: var(--blue); margin-bottom: 1.4rem;
}
.pillar-icon svg { width: 1.5rem; height: 1.5rem; }
.pillar h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* ---------- Platform ---------- */
.platform { overflow: hidden; }
.platform-glow {
  position: absolute; left: 50%; top: 0; width: min(1200px, 120vw); aspect-ratio: 2 / 1; transform: translateX(-50%);
  background: radial-gradient(ellipse at center top, rgba(126, 140, 255, .22), transparent 65%);
  pointer-events: none;
}
.features { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { padding: clamp(28px, 3.2vw, 52px); background: rgba(15, 22, 41, .6); transition: background .3s; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: rgba(20, 28, 51, .9); }
.feature-idx {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line-strong); font: 600 .9rem/1 var(--font-head); color: var(--gold); margin-bottom: 1.6rem;
}
.feature h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin-bottom: .8rem; }
.feature p { color: var(--muted); }

.brands { margin-top: clamp(64px, 8vw, 110px); text-align: center; }
.brands-title { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.6rem; }
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  padding: 1.6rem clamp(1.6rem, 3vw, 3rem);
  font: 600 clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--font-head); color: #7c87a6; letter-spacing: -0.01em; white-space: nowrap;
  transition: color .25s;
}
.marquee-track span:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brands-note { margin-top: 1.2rem; font-size: .75rem; color: var(--dim); }

/* ---------- Buyback ---------- */
.buyback { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.buyback-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.buyback-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-top: 1.6rem; }
.checklist { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; color: #c9d1e6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(110, 168, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%236ea8ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 14px; }
.step {
  position: relative; display: flex; gap: 1.4rem; align-items: flex-start;
  padding: clamp(22px, 2.4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease);
}
.step:hover { border-color: rgba(110, 168, 255, .4); transform: translateX(6px); }
.step-no {
  flex-shrink: 0; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad); color: #0a0f1f; font: 700 .95rem/1 var(--font-head);
}
.step h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Coverage ---------- */
.coverage { position: relative; padding: calc(var(--section-y) * 1.1) 0; overflow: hidden; isolation: isolate; }
.coverage-media { position: absolute; inset: 0; z-index: -1; }
.coverage-media img { width: 100%; height: 100%; object-fit: cover; }
.coverage-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 9, 19, .72) 30%, rgba(6, 9, 19, .72) 70%, var(--bg) 100%);
}
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.region {
  padding: clamp(26px, 2.8vw, 40px); border-radius: var(--radius);
  background: rgba(10, 16, 32, .6); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.region-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255, 210, 122, .15), 0 0 24px var(--gold); margin-bottom: 1.6rem; animation: pulse 2.8s ease-in-out infinite; }
.region:nth-child(2) .region-dot { animation-delay: .6s; }
.region:nth-child(3) .region-dot { animation-delay: 1.2s; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(255, 210, 122, 0), 0 0 30px var(--gold); } }
.region h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: .7rem; }
.region p { color: #b8c1d9; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 100px) 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(32px, 4.5vw, 72px); border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(177, 140, 255, .35), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(110, 168, 255, .3), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-strong);
}
.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); max-width: 18ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-top: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { flex-shrink: 0; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 12px; background: rgba(110, 168, 255, .1); color: var(--blue); }
.ci-icon svg { width: 1.3rem; height: 1.3rem; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: .25rem; }
.contact-list a, .contact-list address { font-size: 1.05rem; color: var(--text); }
.contact-list a:hover { color: var(--blue); }

.contact-form {
  display: grid; gap: 1.1rem;
  padding: clamp(24px, 3.2vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .45rem; }
.contact-form label > span { font-size: .82rem; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.contact-form select {
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%239aa5c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
}
.contact-form select option { background: var(--bg-2); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form ::placeholder { color: var(--dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(110, 168, 255, .15);
}
.contact-form .invalid { border-color: #ff7a8a; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-status { font-size: .9rem; color: var(--muted); flex: 1 1 200px; }
.form-status.error { color: #ff9aa6; }
.form-status.ok { color: #8fe3b0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050811; padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.footer-brand p { color: var(--muted); margin-top: 1.4rem; max-width: 26rem; font-size: .95rem; }
.site-footer h2 { font: 600 .75rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.3rem; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; gap: .7rem; }
.site-footer nav a, .footer-contact a, .footer-contact address { color: #c3cbe0; font-size: .95rem; transition: color .2s; }
.site-footer nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; padding-bottom: 2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--dim); }
.to-top { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.to-top:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav a:not(.btn) { padding: .5rem .65rem; font-size: .88rem; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom));
    background: rgba(6, 9, 19, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 1rem .5rem; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a.active::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 1.5rem; min-height: 54px; }
  body.nav-open { overflow: hidden; }
  .site-header.menu-open { background: rgba(6, 9, 19, .97); }

  .about, .buyback, .contact { grid-template-columns: 1fr; }
  .buyback-intro { position: static; }
  .about-badge { left: 16px; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .solutions { grid-template-columns: 1fr; }
  .regions { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat + .stat { padding: 1.2rem 1rem; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-content { padding-bottom: 56px; }
  .hero-stats { position: relative; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .form-foot .btn { width: 100%; }
  .brand-text small { display: none; }
  .hide-sm { display: none; }
  .solution-media { aspect-ratio: 16 / 9; }
  .step { gap: 1rem; }
  .step-no { width: 2.5rem; height: 2.5rem; font-size: .85rem; }
  .step:hover { transform: none; }
  .cta-inner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.25rem; }
  .stat strong { font-size: 1.2rem; }
}

@media (max-height: 640px) and (min-width: 861px) {
  .hero { min-height: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
