/* =====================================================================
   Metreon — wholesale consumer electronics
   Dark premium theme · single stylesheet for all pages
   ===================================================================== */

:root {
  --bg: #0a0e13;
  --bg-2: #0f151c;
  --surface: #141c25;
  --surface-2: #1a2430;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9eef3;
  --text-2: #b7c2cd;
  --muted: #8494a4;
  --accent: #35c6f4;
  --accent-2: #1a8fa8;
  --accent-deep: #0f5f70;
  --accent-soft: rgba(53, 198, 244, 0.12);
  --glow: rgba(53, 198, 244, 0.35);
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, .h1, .h2, .h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; font-family: var(--font-display); }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography helpers */
.eyebrow {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; font-weight: 800; }
.h3 { font-size: 21px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.65; }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, #e6f7fc 0%, #8fdcf5 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #06232b; box-shadow: 0 10px 30px -10px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--glow); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------------------------------------------------------------------
   Header
   ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 19, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { font-family: var(--font-display); display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a[aria-current="page"] { color: var(--text); position: relative; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav .btn { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04); color: var(--text); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px 24px 24px; background: rgba(10,14,19,0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s;
  }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  .nav .btn { display: inline-flex; margin-top: 8px; }
}

/* ---------------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(53,198,244,0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(26,143,168,0.14), transparent 60%),
    linear-gradient(180deg, #0c1219 0%, var(--bg) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(420px 420px at 70% 35%, rgba(53,198,244,0.18), transparent 65%),
    radial-gradient(520px 520px at 25% 75%, rgba(26,143,168,0.16), transparent 65%);
  filter: blur(40px); animation: blobDrift 18s ease-in-out infinite alternate;
}
@keyframes blobDrift { from { transform: translate(-3%, -2%) rotate(0deg); } to { transform: translate(3%, 3%) rotate(6deg); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }

.hero-visual { position: relative; height: 520px; }
.hero-visual .layer { position: absolute; will-change: transform; }
.hero-visual .l-orb { inset: 6% 8% 12%; }
.hero-visual .orb {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(53,198,244,0.35), rgba(53,198,244,0.05) 55%, transparent 72%);
  filter: blur(10px); animation: orbPulse 9s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.hero-visual .l-ring, .hero-visual .l-ring2 { left: 50%; top: 50%; translate: -50% -50%; }
.hero-visual .ring {
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(53,198,244,0.28); position: relative;
  animation: ringspin 40s linear infinite;
}
.hero-visual .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.hero-visual .ring.ring-2 { width: 620px; height: 620px; border-color: rgba(255,255,255,0.06); animation-duration: 70s; animation-direction: reverse; }
.hero-visual .ring.ring-2::before { display: none; }
@keyframes ringspin { to { rotate: 360deg; } }

.hero-visual .l-laptop { width: 62%; left: 6%; top: 50%; translate: 0 -50%; z-index: 2; }
.hero-visual .l-phone { width: 23%; right: 5%; top: 5%; z-index: 3; rotate: 5deg; }
.hero-visual .l-earbuds { width: 24%; left: 0; bottom: 0; z-index: 3; }
.hero-visual .l-b1 { right: 0; bottom: 14%; z-index: 4; }
.hero-visual .l-b2 { left: 16%; top: 4%; z-index: 4; }

.hero-product { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)); animation: float 7s ease-in-out infinite; }
.hero-product.laptop { animation-delay: -1s; }
.hero-product.phone { animation-delay: -3s; }
.hero-product.earbuds { animation-delay: -5s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero-badge {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 16px; border-radius: 14px; background: rgba(20,28,37,0.85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.7); font-size: 13px; color: var(--text-2);
}
.hero-badge strong { font-family: var(--font-display); display: block; color: var(--text); font-size: 15px; }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,0.18); flex: none; animation: dotPulse 2.4s ease-out infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,0.45); } 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* --- Hero intro choreography (runs once on load) --- */
.js .hero-copy > * { opacity: 0; transform: translateY(26px); }
.js .hero.loaded .hero-copy > * { animation: riseIn .95s var(--ease) forwards; }
.js .hero.loaded .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js .hero.loaded .hero-copy > :nth-child(2) { animation-delay: .15s; opacity: 1; transform: none; animation: none; }
.js .hero.loaded .hero-copy > :nth-child(3) { animation-delay: .7s; }
.js .hero.loaded .hero-copy > :nth-child(4) { animation-delay: .85s; }
.js .hero.loaded .hero-copy > :nth-child(5) { animation-delay: 1s; }
.h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js .h1 .w > span { display: inline-block; transform: translateY(110%); opacity: 0; }
.js .hero.loaded .h1 .w > span { animation: wordUp .9s var(--ease) forwards; animation-delay: calc(.2s + var(--i, 0) * 70ms); }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes wordUp { to { opacity: 1; transform: none; } }

.js .hero-visual .layer { opacity: 0; }
.js .hero.loaded .hero-visual .l-orb { animation: fadeIn 1.4s ease .2s forwards; }
.js .hero.loaded .hero-visual .l-ring, .js .hero.loaded .hero-visual .l-ring2 { animation: ringIn 1.4s var(--ease) .3s forwards; }
.js .hero.loaded .hero-visual .l-laptop { animation: laptopIn 1.2s var(--ease) .45s forwards; }
.js .hero.loaded .hero-visual .l-phone { animation: phoneIn 1.1s var(--ease) .7s forwards; }
.js .hero.loaded .hero-visual .l-earbuds { animation: earbudsIn 1.1s var(--ease) .85s forwards; }
.js .hero.loaded .hero-visual .l-b1 { animation: badgeIn .8s var(--ease) 1.25s forwards; }
.js .hero.loaded .hero-visual .l-b2 { animation: badgeIn .8s var(--ease) 1.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ringIn { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes laptopIn { from { opacity: 0; transform: translateY(70px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translate(60px, 30px) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes earbudsIn { from { opacity: 0; transform: translate(-50px, 40px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes badgeIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
.js .hero.loaded .hero-visual .layer.settled { animation: none; opacity: 1; }
/* after intro, JS parallax drives transform on .layer; the intro animations end at transform:none so there is no jump */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-visual .ring { width: 360px; height: 360px; }
  .hero-visual .ring-2 { width: 500px; height: 500px; }
}
@media (max-width: 560px) {
  .hero-visual { height: 320px; }
  .hero-visual .ring { width: 260px; height: 260px; }
  .hero-visual .ring-2 { width: 360px; height: 360px; }
  .hero-visual .l-b2 { display: none; }
  .hero-visual .l-b1 { bottom: 0; }
}

/* Stats strip */
.stats { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.stat .num em { font-style: normal; color: var(--accent); }
.stat .lbl { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head.row { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.row > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
@media (max-width: 700px) { .section-head.row { flex-direction: column; align-items: flex-start; } }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 200px;
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px 200px at 80% 0%, rgba(53,198,244,0.14), transparent 65%);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(53,198,244,0.35); box-shadow: 0 30px 50px -30px rgba(0,0,0,0.8); }
.cat-card:hover::before { opacity: 1; }
.cat-card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(53,198,244,0.2);
}
.cat-card .ico svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 20px; }
.cat-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cat-card .brands-line { margin-top: auto; font-size: 13px; color: var(--text-2); }
.cat-card .brands-line b { color: var(--accent); font-weight: 700; }
.cat-card .arrow { position: absolute; right: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--muted); transition: background .3s, color .3s, transform .35s var(--ease); }
.cat-card .arrow svg { width: 16px; height: 16px; }
.cat-card:hover .arrow { background: var(--accent); color: #06232b; transform: rotate(-45deg); border-color: transparent; }
.cat-card.feature { min-height: 250px; }
.cat-card.feature h3, .cat-card.feature p { max-width: 62%; position: relative; z-index: 1; }
.cat-card.feature .brands-line { position: relative; z-index: 1; max-width: 70%; }
.cat-card.feature img { position: absolute; right: -4%; bottom: -8%; width: 40%; opacity: 0.95; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); transition: transform .5s var(--ease); pointer-events: none; }
.cat-card.feature:hover img { transform: translateY(-8px) rotate(-3deg); }
.cat-card.feature.laptop img { width: 52%; right: -8%; bottom: -10%; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-card { min-height: 0; } .cat-card.feature { min-height: 220px; } .cat-card.feature h3, .cat-card.feature p, .cat-card.feature .brands-line { max-width: 60%; } .cat-card.feature img { width: 30%; right: 2%; bottom: -4%; } .cat-card.feature.laptop img { width: 38%; right: -2%; } }

/* Brand marquee */
.marquee-wrap { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.reverse { animation-direction: reverse; animation-duration: 75s; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee + .marquee { margin-top: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile {
  width: 176px; height: 84px; border-radius: 14px; background: #f5f7f9; display: grid; place-items: center; padding: 18px 24px; flex: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.logo-tile img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(0,0,0,0.9); }
@media (prefers-reduced-motion: reduce) { .marquee, .hero-product, .hero-visual .ring { animation: none; } }

/* Feature / value props */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  padding: 28px 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px;
}
.feat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; }
.feat p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent);
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step::after { content: ""; position: absolute; top: 40px; right: -10px; width: 20px; height: 1px; background: var(--border-strong); }
.step:last-child::after { display: none; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.4) inset;
  aspect-ratio: 3 / 2; background: #fff;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media .frame.dark { background: var(--surface); }
.split-media .frame.dark img { filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1); }
.split-media::before { content: ""; position: absolute; inset: -10% -6% auto -6%; height: 60%; background: radial-gradient(closest-side, rgba(53,198,244,0.22), transparent); z-index: -1; filter: blur(20px); }
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.split-copy .h2 { max-width: 520px; }
.split-copy p { color: var(--text-2); }
.check-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > .split-media { order: 0; } }

/* Office cards */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.office .map { position: relative; min-height: 240px; }
.office .map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.office .map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--surface)); pointer-events: none; }
.office .body { padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.office .flag { font-size: 28px; line-height: 1; }
.office h3 { font-size: 22px; }
.office .addr { color: var(--text-2); font-size: 15px; }
.office .meta { margin-top: auto; padding-top: 12px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.office .meta a { color: var(--text); }
.office .meta a:hover { color: var(--accent); }
.office .tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 960px) { .office-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .office { grid-template-columns: 1fr; } .office .map { min-height: 180px; } .office .map::after { background: linear-gradient(180deg, transparent 60%, var(--surface)); } }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, #0f2e38 0%, #0d1b24 55%, #0b1219 100%); border: 1px solid rgba(53,198,244,0.25);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(53,198,244,0.35), transparent); filter: blur(30px); }
.cta-band > * { position: relative; }
.cta-band .h2 { max-width: 600px; }
.cta-band p { color: var(--text-2); margin-top: 12px; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 380px at 20% 0%, rgba(53,198,244,0.14), transparent 60%), linear-gradient(180deg, #0c1219, var(--bg));
}
.page-hero .inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.page-hero .inner > * { max-width: 820px; }
.js .page-hero .inner > * { opacity: 0; transform: translateY(22px); animation: riseIn .9s var(--ease) forwards; }
.js .page-hero .inner > :nth-child(1) { animation-delay: .05s; }
.js .page-hero .inner > :nth-child(2) { animation-delay: .15s; }
.js .page-hero .inner > :nth-child(3) { animation-delay: .28s; }
.js .page-hero .inner > :nth-child(4) { animation-delay: .42s; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* ---------------------------------------------------------------------
   Brands page
   ------------------------------------------------------------------- */
.filter-bar { position: sticky; top: 76px; z-index: 30; padding: 14px 0; background: rgba(10,14,19,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.filter-inner { display: flex; gap: 14px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; flex: 1; }
@media (max-width: 700px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03);
  color: var(--text-2); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #06232b; }
.search { position: relative; flex: none; width: 260px; }
.search input {
  width: 100%; padding: 11px 14px 11px 40px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text);
}
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
@media (max-width: 700px) { .filter-inner { flex-direction: column; align-items: stretch; } .search { width: 100%; } }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-card {
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.brand-card:hover { transform: translateY(-4px); border-color: rgba(53,198,244,0.4); box-shadow: 0 24px 40px -24px rgba(0,0,0,0.9); }
.brand-card .logo { background: #f5f7f9; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18px 22px; }
.brand-card .logo img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.brand-card .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.brand-card .info strong { font-size: 14px; }
.brand-card .info span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.brand-card.hidden { display: none; }
.brand-count { color: var(--muted); font-size: 14px; }
.brand-count b { color: var(--text); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); display: none; }
.empty.show { display: block; }
@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .brand-card .logo { padding: 12px 14px; } .brand-card .info span { display: none; } }
@media (max-width: 420px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------------
   About page
   ------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.value .num { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.value h3 { font-size: 20px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.timeline-band { border-block: 1px solid var(--border); background: var(--bg-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 40px 32px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .big { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.pillar .big em { font-style: normal; color: var(--accent); }
.pillar p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-block: 28px; } .pillar:first-child { border-top: 0; } }

/* ---------------------------------------------------------------------
   Contacts page
   ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238494a4' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--surface-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 420px; }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(61,220,132,0.12); color: #9ff0c4; border: 1px solid rgba(61,220,132,0.3); }
.form-status.err { display: block; background: rgba(255,99,99,0.12); color: #ffb4b4; border: 1px solid rgba(255,99,99,0.3); }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.info-card { padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); display: flex; flex-direction: column; gap: 14px; }
.info-card h3 { font-size: 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row strong { display: block; font-size: 15px; }
.info-row span, .info-row a { color: var(--muted); font-size: 14px; }
.info-row a:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15px; }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: #080b0f; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 340px; }
.footer-col h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-col li span { color: var(--text-2); font-size: 15px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Reveal on scroll (only when JS is on)
   ------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(26px) scale(.98); filter: blur(4px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; filter: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .09s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .18s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .27s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .36s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .45s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: .54s; }
.js .reveal-stagger.in > *:nth-child(n+8) { transition-delay: .6s; }
/* eyebrow line draws in when its section reveals */
.js .reveal .eyebrow::before, .js .reveal-stagger .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.js .reveal.in .eyebrow::before, .js .reveal-stagger.in .eyebrow::before { transform: scaleX(1); }
/* parallax photos: slightly oversized so edges never show */
.split-media .frame img[data-parallax] { scale: 1.12; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > *, .js .hero-copy > *, .js .h1 .w > span, .js .hero-visual .layer, .js .page-hero .inner > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
  .hero-bg::before, .hero-visual .orb, .hero-badge .dot { animation: none !important; }
}

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }
