/* ==========================================================================
   GDI Nexa Studio — styles.css
   Midnight navy · electric blue · warm gold · glassmorphism
   ========================================================================== */

:root {
  --bg: #090D16;
  --bg-2: #0D1322;
  --bg-3: #111A2E;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text: #E6EAF2;
  --muted: #94A3B8;
  --dim: #64748B;
  --blue: #3B82F6;
  --blue-2: #60A5FA;
  --blue-3: #2563EB;
  --gold: #F59E0B;
  --gold-2: #FBBF24;
  --success: #22C55E;
  --danger: #F43F5E;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
html.modal-open, html.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: #F8FAFC; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(59, 130, 246, .38); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 5000; padding: 12px 18px; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Ambient background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; animation: orbFloat 24s var(--ease) infinite alternate; will-change: transform; }
.orb-1 { width: 820px; height: 820px; top: -320px; left: -260px; background: radial-gradient(circle, rgba(59,130,246,.26), transparent 62%); }
.orb-2 { width: 680px; height: 680px; top: 28%; right: -280px; background: radial-gradient(circle, rgba(245,158,11,.13), transparent 62%); animation-delay: -8s; }
.orb-3 { width: 900px; height: 900px; bottom: -480px; left: 18%; background: radial-gradient(circle, rgba(99,102,241,.15), transparent 62%); animation-delay: -14s; }
@keyframes orbFloat { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(70px,50px,0) scale(1.1); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 25%, transparent 75%);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

/* ---------- Header / Nav ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: padding .35s var(--ease); }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .35s var(--ease);
  background: rgba(9, 13, 22, .74); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before { opacity: 1; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; color: #fff; }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name span { color: var(--muted); font-weight: 600; margin-left: 3px; }
.nav-links { position: relative; z-index: 1; display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-mobile-cta { display: none; }
.nav-actions { position: relative; z-index: 2; display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04); flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.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); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(9, 13, 22, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; padding: 12px 28px; color: #CBD5E1; }
  .nav-links li { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(2) { transition-delay: .04s; } .nav-links.open li:nth-child(3) { transition-delay: .08s; }
  .nav-links.open li:nth-child(4) { transition-delay: .12s; } .nav-links.open li:nth-child(5) { transition-delay: .16s; }
  .nav-links.open li:nth-child(6) { transition-delay: .2s; } .nav-links.open li:nth-child(7) { transition-delay: .24s; }
  .nav-mobile-cta { display: block; margin-top: 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; isolation: isolate; overflow: hidden;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2; padding: 14px 24px; border-radius: 999px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%);
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%);
  transition: transform .75s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #3B82F6, #2563EB); box-shadow: 0 10px 30px -10px rgba(59,130,246,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(59,130,246,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-gold { color: #1C1305; background: linear-gradient(135deg, #FCD34D, #F59E0B); box-shadow: 0 10px 30px -10px rgba(245,158,11,.65), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(245,158,11,.8); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.04); border: 1px solid var(--border-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(148,163,184,.42); transform: translateY(-2px); }
.btn-whatsapp { color: #fff; background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 10px 30px -12px rgba(37,211,102,.65), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(37,211,102,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: block; }
.btn.loading .btn-label, .btn.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Shared ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.018));
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.glow-card { position: relative; overflow: hidden; }
.glow-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.16), transparent 42%);
}
.glow-card:hover::before { opacity: 1; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; background: var(--gold);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.kicker::before, .kicker::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-title { font-size: clamp(2rem, 3.9vw, 3.05rem); font-weight: 800; margin: 16px 0 16px; letter-spacing: -0.03em; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.grad-text { background: linear-gradient(120deg, #93C5FD, #3B82F6 50%, #818CF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { background: linear-gradient(120deg, #FDE68A, #F59E0B 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reveal animations (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(59,130,246,.32); background: rgba(59,130,246,.09); color: #BFDBFE; font-size: .85rem; font-weight: 500;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-title { font-size: clamp(2.45rem, 5.1vw, 4.3rem); font-weight: 800; margin: 24px 0; letter-spacing: -0.04em; line-height: 1.04; }
.hero-title .gold-text { position: relative; white-space: nowrap; }
.hero-title .gold-text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.04em; height: .09em; border-radius: 4px;
  background: linear-gradient(90deg, #FDE68A, #F59E0B); transform-origin: left; animation: underline 1.2s .9s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 590px; }
.hero-sub strong { color: #E2E8F0; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.hero-markets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-markets > span { font-size: .82rem; color: var(--dim); margin-right: 4px; }
.market-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); font-size: .8rem; font-weight: 600; color: #CBD5E1; }
.market-chip svg { width: 16px; height: 11px; border-radius: 2px; }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / .9; perspective: 1500px; }
.hv-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.35), transparent 65%); filter: blur(30px); }
.hv-window {
  position: absolute; inset: 7% 3% 9% 3%; border-radius: 20px; overflow: hidden;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)); transition: transform .6s var(--ease);
  background: linear-gradient(180deg, rgba(17,26,46,.95), rgba(9,13,22,.95));
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(148,163,184,.14), inset 0 1px 0 rgba(255,255,255,.06);
}
.hv-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); }
.hv-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.hv-bar > span:nth-child(1) { background: #F87171; } .hv-bar > span:nth-child(2) { background: #FBBF24; } .hv-bar > span:nth-child(3) { background: #34D399; }
.hv-url { margin-left: 10px; flex: 1; max-width: 55%; display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); background: rgba(255,255,255,.05); border-radius: 8px; padding: 5px 10px; }
.hv-url svg { width: 11px; height: 11px; color: var(--success); }
.hv-live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; color: #86EFAC; }
.hv-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
.hv-body { padding: 18px; display: grid; gap: 18px; }
.sk {
  display: block; height: 10px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(148,163,184,.14) 0%, rgba(148,163,184,.3) 50%, rgba(148,163,184,.14) 100%); background-size: 220% 100%;
  animation: skIn .8s var(--ease) calc(var(--d, 0) * 1s) both, shimmer 3s linear calc(var(--d, 0) * 1s + 1s) infinite;
}
@keyframes skIn { from { opacity: 0; transform: translateY(8px) scaleX(.6); transform-origin: left; } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.hv-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-nav-links { display: flex; gap: 10px; flex: 1; justify-content: center; }
.hv-nav-links .sk { width: 34px; height: 7px; }
.sk-btn { width: 64px; height: 22px !important; border-radius: 999px !important; background: linear-gradient(135deg, #3B82F6, #2563EB) !important; }
.hv-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.hv-hero-copy { display: grid; gap: 9px; }
.sk-h { height: 16px !important; background: linear-gradient(90deg, rgba(248,250,252,.55), rgba(248,250,252,.85), rgba(248,250,252,.55)) !important; background-size: 220% 100% !important; }
.sk-p { height: 7px !important; }
.hv-btns { display: flex; gap: 8px; margin-top: 8px; }
.sk-cta { width: 80px; height: 26px !important; border-radius: 999px !important; background: linear-gradient(135deg, #F59E0B, #FBBF24) !important; }
.sk-cta2 { width: 66px; height: 26px !important; border-radius: 999px !important; background: transparent !important; border: 1px solid rgba(148,163,184,.4); }
.hv-art {
  position: relative; aspect-ratio: 1 / .85; border-radius: 14px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(96,165,250,.55), transparent 55%), radial-gradient(circle at 80% 90%, rgba(245,158,11,.45), transparent 55%), #0F1A33;
  border: 1px solid rgba(148,163,184,.18); animation: skIn .9s var(--ease) calc(var(--d, 0) * 1s) both;
}
.hv-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-art .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-card { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--border); display: grid; gap: 7px; animation: skIn .8s var(--ease) calc(var(--d, 0) * 1s) both; }
.hv-card i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, rgba(59,130,246,.6), rgba(59,130,246,.2)); }
.hv-card:nth-child(2) i { background: linear-gradient(135deg, rgba(245,158,11,.7), rgba(245,158,11,.2)); }
.hv-card b { display: block; height: 7px; border-radius: 4px; background: rgba(148,163,184,.28); }
.hv-card b.s { width: 60%; background: rgba(148,163,184,.16); }
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 16px; z-index: 2;
  background: linear-gradient(180deg, rgba(23,33,56,.88), rgba(13,19,34,.88)); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -15px rgba(0,0,0,.7);
  animation: chipFloat 6s ease-in-out infinite;
}
.hv-chip small { display: block; font-size: .68rem; color: var(--muted); line-height: 1.3; }
.hv-chip strong { display: block; font-family: var(--font-head); font-size: .98rem; color: #fff; font-variant-numeric: tabular-nums; }
.chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.chip-ic svg { width: 18px; height: 18px; }
.chip-ic.gold { background: rgba(245,158,11,.16); color: var(--gold-2); }
.chip-ic.blue { background: rgba(59,130,246,.18); color: var(--blue-2); }
.chip-ic.green { background: rgba(34,197,94,.16); color: #4ADE80; }
.hv-chip-1 { top: 0; left: -4%; }
.hv-chip-2 { top: 34%; right: -5%; animation-delay: -2s; }
.hv-chip-3 { bottom: 2%; left: 6%; animation-delay: -4s; }
.hv-chip-4 { bottom: 16%; right: -2%; animation-delay: -3s; }
.ring { width: 36px; height: 36px; flex-shrink: 0; }
.ring circle { fill: none; stroke-width: 4; }
.ring .track { stroke: rgba(148,163,184,.2); }
.ring .val { stroke: #4ADE80; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ringFill 1.8s 1.2s var(--ease) forwards; transform: rotate(-90deg); transform-origin: center; }
@keyframes ringFill { to { stroke-dashoffset: 2; } }
.typing { display: flex !important; gap: 4px; padding: 6px 0 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.stat { padding: 24px 26px; border-radius: var(--radius); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); color: #fff; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat:nth-child(2) .stat-num, .stat:nth-child(4) .stat-num { color: var(--gold-2); }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; display: block; }

/* Marquee */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--border); overflow: hidden; background: rgba(13,19,34,.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: flex; align-items: center; gap: 22px; padding-right: 22px; color: #7C8BA3; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 30px 26px 28px; border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,.38); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.service-icon {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: var(--blue-2); flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(59,130,246,.04)); border: 1px solid rgba(59,130,246,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -12px rgba(59,130,246,.5);
}
.service-icon svg { width: 30px; height: 30px; }
.service-icon .accent { color: var(--gold-2); }
.service-tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--gold-2); background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); white-space: nowrap; }
.service-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.service-card > p { color: var(--muted); font-size: .94rem; }
.service-card .check-list { margin-top: 18px; display: grid; gap: 8px; font-size: .89rem; color: #CBD5E1; }
.service-link { margin-top: auto; padding-top: 24px; color: var(--blue-2); font-weight: 600; font-size: .93rem; display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; }
.service-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-link:hover svg { transform: translateX(4px); }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-card { border-radius: var(--radius-lg); padding: 14px; cursor: pointer; transition: transform .45s var(--ease), border-color .4s; outline-offset: 4px; }
.pf-card:hover, .pf-card:focus-visible { transform: translateY(-8px); border-color: rgba(59,130,246,.38); }
.pf-thumb { position: relative; aspect-ratio: 16 / 11.5; border-radius: 18px; overflow: hidden; isolation: isolate; }
.pf-overlay {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0; transition: opacity .35s var(--ease);
  background: linear-gradient(180deg, rgba(9,13,22,.35), rgba(9,13,22,.72)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.pf-card:hover .pf-overlay, .pf-card:focus-visible .pf-overlay { opacity: 1; }
.pf-play { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; color: #0B1120; font-family: var(--font-head); font-weight: 700; font-size: .9rem; transform: translateY(10px); transition: transform .4s var(--ease); }
.pf-play svg { width: 16px; height: 16px; }
.pf-card:hover .pf-play, .pf-card:focus-visible .pf-play { transform: none; }
.pf-meta { padding: 20px 8px 6px; }
.pf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-cat { font-size: .78rem; font-weight: 600; color: var(--gold-2); letter-spacing: .04em; text-transform: uppercase; }
.pf-live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: #86EFAC; }
.pf-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
.pf-meta h3 { font-size: 1.3rem; margin: 8px 0 8px; }
.pf-meta p { color: var(--muted); font-size: .93rem; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pf-tags span { font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: #CBD5E1; }
.pf-open { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; font-size: .92rem; }
.pf-open svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pf-card:hover .pf-open svg { transform: translateX(4px); }

/* Thumbnails (pure CSS/SVG previews) */
.pft { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--font-head); transition: transform .8s var(--ease); }
.pf-card:hover .pft { transform: scale(1.04); }
.pft-nav { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .55rem; font-weight: 800; letter-spacing: .12em; }
.pft-nav i { width: 18px; height: 4px; border-radius: 3px; background: currentColor; opacity: .25; }
.pft-nav i:first-of-type { margin-left: auto; }
.pft-nav em { width: 34px; height: 12px; border-radius: 999px; margin-left: 6px; }
.pft-apex { background: #FAF8F4; color: #0B1F3A; }
.pft-apex .pft-nav b span { color: #B8862B; }
.pft-apex .pft-nav em { background: #0B1F3A; }
.pft-apex .pft-hero { position: relative; flex: 1; background: linear-gradient(160deg, #0B1F3A 0%, #16335C 55%, #8A6A35 130%); padding: 14px; color: #fff; overflow: hidden; }
.pft-apex .pft-hero svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; opacity: .5; }
.pft-line { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.9); margin-bottom: 5px; position: relative; }
.pft-line.sm { height: 4px; background: rgba(255,255,255,.45); }
.pft-search { position: relative; margin-top: 10px; height: 20px; width: 82%; border-radius: 6px; background: #fff; display: flex; justify-content: flex-end; padding: 3px; }
.pft-search::after { content: ''; width: 26%; border-radius: 4px; background: #B8862B; }
.pft-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 9px 12px 11px; }
.pft-cards span { height: 34px; border-radius: 6px; }
.pft-apex .pft-cards span:nth-child(1) { background: linear-gradient(180deg, #1E3A8A, #F59E0B); }
.pft-apex .pft-cards span:nth-child(2) { background: linear-gradient(180deg, #0F172A, #EC4899); }
.pft-apex .pft-cards span:nth-child(3) { background: linear-gradient(180deg, #0EA5E9, #FDE68A); }
.pft-veloce { background: #F5F5F3; color: #0A0A0A; }
.pft-veloce .pft-nav { background: #fff; font-style: italic; letter-spacing: -.02em; font-size: .72rem; }
.pft-veloce .pft-nav b span { color: #FF4D1A; }
.pft-veloce .pft-nav em { background: #0A0A0A; width: 14px; height: 14px; }
.pft-veloce .pft-hero { flex: 1; background: #0A0A0A; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 10px 14px; gap: 8px; }
.pft-veloce .pft-big { font-weight: 800; font-style: italic; color: #fff; font-size: .95rem; line-height: .95; text-transform: uppercase; letter-spacing: -.03em; }
.pft-veloce .pft-big span { color: #FF4D1A; }
.pft-veloce .pft-hero svg { width: 100%; max-height: 78px; filter: drop-shadow(0 10px 18px rgba(255,77,26,.35)); }
.pft-veloce .pft-cards span { background: #fff; border: 1px solid #E5E5E2; }
.pft-synth { background: #07051A; color: #E9E7FF; }
.pft-synth .pft-nav b { display: flex; align-items: center; gap: 5px; }
.pft-synth .pft-nav b::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: conic-gradient(#8B5CF6, #22D3EE, #8B5CF6); }
.pft-synth .pft-nav em { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.pft-synth .pft-hero { position: relative; flex: 1; padding: 6px 14px 12px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,.45), transparent 65%); }
.pft-synth .pft-title { font-weight: 800; font-size: .78rem; color: #fff; }
.pft-synth .pft-title span { background: linear-gradient(90deg, #A78BFA, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pft-dash { margin: 8px auto 0; width: 92%; border-radius: 8px; border: 1px solid rgba(167,139,250,.3); background: rgba(30,27,75,.6); padding: 7px; display: grid; gap: 6px; }
.pft-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pft-kpis span { height: 16px; border-radius: 4px; background: rgba(255,255,255,.07); }
.pft-dash svg { width: 100%; height: 46px; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.timeline::before, .timeline::after { content: ''; position: absolute; top: 46px; left: 16.6%; right: 16.6%; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--border); }
.timeline::after { background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s .2s var(--ease); }
.timeline.in-view::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #15203A, #0D1322); border: 1px solid var(--border-strong); box-shadow: 0 0 0 10px var(--bg), 0 20px 40px -15px rgba(59,130,246,.45);
}
.step-num svg { width: 34px; height: 34px; color: var(--blue-2); }
.step:nth-child(3) .step-num svg { color: var(--gold-2); }
.step-num b { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: .82rem; font-weight: 800; color: #0B1120; background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; max-width: 340px; margin: 0 auto; }
.step-time { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 600; color: var(--blue-2); padding: 5px 12px; border-radius: 999px; background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-top: 20px; }
.price-card { position: relative; padding: 38px 32px 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.price-card:hover { border-color: rgba(59,130,246,.35); }
.price-card.featured {
  border-color: rgba(245,158,11,.5); transform: translateY(-14px);
  background: linear-gradient(180deg, rgba(245,158,11,.11), rgba(59,130,246,.05) 55%, rgba(255,255,255,.02));
  box-shadow: 0 34px 80px -34px rgba(245,158,11,.45);
}
.price-card.featured:hover { border-color: rgba(245,158,11,.7); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1C1305; background: linear-gradient(135deg, #FCD34D, #F59E0B); white-space: nowrap; box-shadow: 0 8px 24px -8px rgba(245,158,11,.7); }
.price-name { font-size: 1.15rem; font-weight: 700; color: #fff; }
.price-desc { color: var(--muted); font-size: .92rem; margin-top: 8px; min-height: 3em; }
.price { display: flex; align-items: flex-start; gap: 4px; margin: 24px 0 4px; }
.price .cur { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--muted); margin-top: 8px; }
.price .amt { font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.price-card.featured .amt { background: linear-gradient(120deg, #FDE68A, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-note { color: var(--dim); font-size: .82rem; }
.price-card .check-list { display: grid; gap: 11px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .93rem; color: #CBD5E1; }
.price-card .btn { margin-top: auto; }
.price-foot { margin-top: 14px; text-align: center; font-size: .78rem; color: var(--dim); }
.pricing-footnote { text-align: center; margin-top: 30px; color: var(--dim); font-size: .86rem; }
.risk-banner { margin-top: 56px; padding: 30px 34px; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 26px; border-color: rgba(34,197,94,.28); background: linear-gradient(120deg, rgba(34,197,94,.09), rgba(59,130,246,.06) 60%, rgba(255,255,255,.02)); }
.risk-icon { width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; display: grid; place-items: center; background: rgba(34,197,94,.14); color: #4ADE80; border: 1px solid rgba(34,197,94,.3); }
.risk-icon svg { width: 32px; height: 32px; }
.risk-banner h3 { font-size: 1.3rem; margin-bottom: 6px; }
.risk-banner p { color: var(--muted); }
.risk-banner .btn { margin-left: auto; flex-shrink: 0; }

/* ---------- Payment strip ---------- */
.pay-strip { padding: 24px 0 110px; }
.pay-wrap { border-radius: var(--radius-lg); padding: 40px; display: grid; gap: 26px; border-color: rgba(59,130,246,.22); background: linear-gradient(180deg, rgba(17,26,46,.76), rgba(9,13,22,.82)); }
.pay-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pay-copy { max-width: 580px; }
.pay-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 12px 0 8px; }
.pay-copy p { color: var(--muted); font-size: .95rem; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay-badge {
  position: relative; width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 18px;
  background: rgba(9,13,22,.65); border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.pay-badge:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.48); background: rgba(255,255,255,.045); box-shadow: 0 16px 36px -22px rgba(59,130,246,.55); }
.pay-badge svg { width: 44px; height: 44px; flex-shrink: 0; }
.pay-badge strong { display: block; font-family: var(--font-head); font-size: .98rem; color: #fff; line-height: 1.25; }
.pay-badge span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.pay-trust-note {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(34,197,94,.1), rgba(245,158,11,.08) 65%, rgba(59,130,246,.07));
  border: 1px solid rgba(34,197,94,.28); color: #E2E8F0; font-size: .92rem; line-height: 1.55;
}
.pay-trust-note strong { color: #86EFAC; font-family: var(--font-head); }
.pay-trust-ic {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center;
  background: rgba(34,197,94,.16); color: #4ADE80; border: 1px solid rgba(34,197,94,.32);
}
.pay-trust-ic svg { width: 20px; height: 20px; }
.pay-secure { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.pay-secure span { display: inline-flex; align-items: center; gap: 8px; }
.pay-secure svg { width: 16px; height: 16px; color: var(--success); }

/* Payment details modal */
.modal-payment .modal-dialog { width: min(680px, 100%); }
.pm-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.pm-tabs button {
  padding: 10px 12px; border-radius: 12px; font-family: var(--font-head); font-size: .84rem; font-weight: 700;
  color: var(--muted); background: rgba(255,255,255,.035); border: 1px solid var(--border); transition: all .2s;
}
.pm-tabs button:hover { color: #fff; border-color: var(--border-strong); }
.pm-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, rgba(59,130,246,.32), rgba(59,130,246,.14)); border-color: rgba(59,130,246,.6); box-shadow: 0 8px 24px -14px rgba(59,130,246,.8); }
.pm-card { padding: 22px; border-radius: 18px; background: rgba(9,13,22,.72); border: 1px solid var(--border-strong); margin-bottom: 16px; }
.pm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pm-card-top h3 { font-size: 1.15rem; color: #fff; }
.pm-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--gold-2); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.28); }
.pm-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.pm-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pm-meta div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.pm-meta span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; }
.pm-meta strong { display: block; font-size: .86rem; color: #F1F5F9; margin-top: 2px; }
.pm-milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pm-milestones div { padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); text-align: center; }
.pm-milestones span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.pm-milestones strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: #fff; margin: 3px 0 2px; }
.pm-milestones small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.3; }
.pm-note { margin-bottom: 18px; font-size: .86rem; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-actions .btn { flex: 1 1 220px; }
.pm-foot { margin-top: 14px; text-align: center; font-size: .78rem; color: var(--dim); }
.pm-foot strong { color: #CBD5E1; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: 18px; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(59,130,246,.35); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .35s var(--ease), background .3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq-body { padding: 0 26px 24px; color: var(--muted); font-size: .97rem; }
.faq-item[open] .faq-body { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 16px 0 16px; letter-spacing: -0.03em; }
.contact-info > p { color: var(--muted); font-size: 1.04rem; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; transition: border-color .3s, transform .3s var(--ease); }
a.contact-card:hover, button.contact-card:hover { border-color: rgba(59,130,246,.4); transform: translateX(4px); }
button.contact-card { width: 100%; text-align: left; }
.contact-card .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: rgba(59,130,246,.14); color: var(--blue-2); border: 1px solid rgba(59,130,246,.28); }
.contact-card .ci.wa { background: rgba(37,211,102,.12); color: #4ADE80; border-color: rgba(37,211,102,.3); }
.contact-card .ci.gold { background: rgba(245,158,11,.12); color: var(--gold-2); border-color: rgba(245,158,11,.3); }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--dim); font-size: .78rem; }
.contact-card strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; word-break: break-word; }
.form-card { padding: 38px; border-radius: var(--radius-lg); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: .93rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: #CBD5E1; }
.field label .req { color: var(--gold-2); }
.field label .opt { color: var(--dim); font-weight: 400; }
.input-wrap { position: relative; }
.input {
  width: 100%; padding: 13px 40px 13px 16px; border-radius: 12px; background: rgba(9,13,22,.65); border: 1px solid var(--border-strong);
  color: #fff; font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #5B6B82; }
.input:hover { border-color: rgba(148,163,184,.36); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.18); background: rgba(9,13,22,.85); }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select.input option { background: #0D1322; color: #fff; }
textarea.input { min-height: 118px; resize: vertical; line-height: 1.55; }
.input-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; background: var(--success); pointer-events: none;
}
.input-wrap.has-select::after { right: 38px; }
.input-wrap.has-textarea::after { top: 22px; }
.field.is-valid .input-wrap::after { opacity: 1; transform: scale(1); }
.field.is-valid .input { border-color: rgba(34,197,94,.5); }
.field.is-invalid .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(244,63,94,.12); }
.field-error { font-size: .8rem; color: #FDA4AF; line-height: 1.4; min-height: 0; }
.field-error:empty { display: none; }
.field.is-invalid .input { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.field-hint { font-size: .76rem; color: var(--dim); }
.check-field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; line-height: 1.55; }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; margin: 1px 0 0;
  border: 1px solid var(--border-strong); background: rgba(9,13,22,.65); display: grid; place-content: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.check input::after { content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check-field.is-invalid .check input { border-color: var(--danger); }
.link-inline { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-inline:hover { color: #fff; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; grid-column: 1 / -1; }
.form-actions .btn { flex: 1 1 200px; }
.form-legal { grid-column: 1 / -1; font-size: .78rem; color: var(--dim); }
.form-success { text-align: center; padding: 34px 10px 10px; outline: none; }
.form-success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.14); color: #4ADE80; border: 1px solid rgba(34,197,94,.35); animation: pop .6s var(--ease); }
.success-icon svg { width: 36px; height: 36px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 440px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--border); padding: 80px 0 34px; background: linear-gradient(180deg, rgba(9,13,22,0), rgba(13,19,34,.9)); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: var(--radius-lg); margin-bottom: 70px; background: linear-gradient(120deg, rgba(59,130,246,.16), rgba(245,158,11,.08)); border-color: rgba(59,130,246,.28); }
.footer-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.footer-cta p { color: var(--muted); margin-top: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col button { color: var(--muted); font-size: .92rem; text-align: left; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-2); flex-shrink: 0; }
.footer-contact .wa-link svg { color: #4ADE80; }
.footer-disclosure {
  margin-top: 44px; padding: 18px 22px; border-radius: 16px; font-size: .82rem; line-height: 1.6; color: var(--muted);
  background: rgba(255,255,255,.028); border: 1px solid var(--border);
}
.footer-disclosure strong { color: #E2E8F0; font-family: var(--font-head); }
.footer-bottom { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--dim); font-size: .85rem; }
.footer-bottom .legal-inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom button { color: var(--dim); font-size: .85rem; transition: color .2s; }
.footer-bottom button:hover { color: #fff; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 85; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .86rem;
  background: linear-gradient(135deg, #25D366, #128C7E); border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 36px -10px rgba(18,140,126,.75), 0 0 0 1px rgba(37,211,102,.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -10px rgba(37,211,102,.85); }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-float-num { font-size: .74rem; font-weight: 500; opacity: .92; display: block; line-height: 1.15; }
.wa-float-label { display: block; line-height: 1.2; }
.to-top {
  position: fixed; right: 22px; bottom: 84px; z-index: 80; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(17,26,46,.9); border: 1px solid var(--border-strong); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--blue); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,6,12,.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s var(--ease); }
.modal-dialog {
  position: relative; width: min(660px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px; background: linear-gradient(180deg, #121B30, #0B1120); border: 1px solid var(--border-strong);
  box-shadow: 0 50px 120px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .3s var(--ease), transform .4s var(--ease);
  scrollbar-width: thin; scrollbar-color: rgba(148,163,184,.3) transparent;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--border); transition: background .2s, transform .2s; }
.modal-close:hover { background: rgba(255,255,255,.1); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-head { padding: 36px 36px 0; }
.modal-head .kicker { margin-bottom: 12px; }
.modal-head h2 { font-size: 1.75rem; padding-right: 40px; }
.modal-head p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.modal-body { padding: 26px 36px 36px; }
.modal-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .84rem; color: #CBD5E1; }

/* Legal modal */
.modal-legal .modal-dialog { width: min(880px, 100%); }
.legal-header { position: sticky; top: 0; z-index: 4; padding: 26px 36px 0; background: linear-gradient(180deg, #121B30 80%, rgba(18,27,48,0)); }
.legal-header h2 { font-size: 1.6rem; padding-right: 50px; }
.legal-tabs { display: flex; gap: 6px; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.legal-tabs button { padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); white-space: nowrap; transition: all .2s; }
.legal-tabs button[aria-selected="true"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.legal-content { padding: 22px 36px 40px; color: #CBD5E1; font-size: .95rem; }
.legal-content .legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--dim); margin-bottom: 20px; }
.legal-content h3 { font-size: 1.12rem; margin: 30px 0 10px; color: #fff; }
.legal-content h4 { font-size: .98rem; margin: 18px 0 8px; color: #E2E8F0; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; display: grid; gap: 6px; }
.legal-content a, .legal-content .link-inline { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: #F1F5F9; }
.legal-summary { padding: 18px 20px; border-radius: 16px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.22); margin-bottom: 10px; }
.legal-summary p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 6px 0 16px; border-radius: 14px; border: 1px solid var(--border); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 560px; }
.legal-content th, .legal-content td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-content th { background: rgba(255,255,255,.04); color: #fff; font-weight: 600; font-family: var(--font-head); }
.legal-content tr:last-child td { border-bottom: 0; }

/* Project preview modal */
.modal-project { padding: 16px; }
.modal-project .modal-dialog { width: min(1360px, 100%); height: calc(100vh - 32px); height: calc(100dvh - 32px); max-height: none; display: flex; flex-direction: column; overflow: hidden; }
.pv-toolbar { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.pv-info { min-width: 0; flex: 1; }
.pv-info small { display: block; font-size: .72rem; font-weight: 600; color: var(--gold-2); letter-spacing: .06em; text-transform: uppercase; }
.pv-info h2 { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-devices { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.pv-devices button { width: 38px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.pv-devices button svg { width: 18px; height: 18px; }
.pv-devices button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.pv-nav { display: flex; gap: 6px; }
.pv-nav button, .pv-close { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--border); transition: background .2s; }
.pv-nav button:hover, .pv-close:hover { background: rgba(255,255,255,.1); }
.pv-nav svg, .pv-close svg { width: 18px; height: 18px; }
.pv-stage { flex: 1; min-height: 0; padding: 18px; display: flex; justify-content: center; background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.12), transparent 60%), #080C15; }
.pv-browser { position: relative; width: 100%; max-width: 100%; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: #fff; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); transition: max-width .5s var(--ease), border-radius .5s; }
.pv-browser[data-device="tablet"] { max-width: 834px; }
.pv-browser[data-device="mobile"] { max-width: 390px; border-radius: 28px; border-width: 6px; border-color: #1E293B; }
.pv-browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1A2336; flex-shrink: 0; }
.pv-browser-bar > span { width: 10px; height: 10px; border-radius: 50%; }
.pv-browser-bar > span:nth-child(1) { background: #F87171; } .pv-browser-bar > span:nth-child(2) { background: #FBBF24; } .pv-browser-bar > span:nth-child(3) { background: #34D399; }
.pv-url { flex: 1; max-width: 420px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.07); color: #CBD5E1; font-size: .76rem; }
.pv-url svg { width: 11px; height: 11px; color: var(--success); }
.pv-browser[data-device="mobile"] .pv-browser-bar > span { display: none; }
.pv-viewport { position: relative; flex: 1; min-height: 0; }
.pv-frame { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; container-type: inline-size; container-name: mk; background: #fff; scrollbar-width: thin; }
.pv-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 20; }
.pv-overlay > * { pointer-events: auto; }
.pv-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 22px; border-top: 1px solid var(--border); flex-shrink: 0; font-size: .85rem; color: var(--muted); }
.pv-footer .btn { padding: 11px 20px; font-size: .9rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 900; width: min(460px, calc(100% - 40px)); padding: 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,30,52,.96), rgba(11,17,32,.97)); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.85);
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.cookie-banner h2 svg { width: 22px; height: 22px; color: var(--gold-2); }
.cookie-banner > p { color: var(--muted); font-size: .86rem; margin: 10px 0 16px; }
.cookie-prefs { display: none; gap: 10px; margin-bottom: 16px; }
.cookie-banner.expanded .cookie-prefs { display: grid; }
.pref { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--border); }
.pref strong { display: block; font-size: .88rem; color: #fff; }
.pref small { display: block; font-size: .76rem; color: var(--dim); line-height: 1.4; }
.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(148,163,184,.3); transition: background .25s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 auto; padding: 11px 16px; font-size: .86rem; }
.cookie-actions [data-cookie="save"], .cookie-banner.expanded [data-cookie="customize"] { display: none; }
.cookie-banner.expanded [data-cookie="save"] { display: inline-flex; }
.cookie-banner .gpc-note { display: none; font-size: .76rem; color: #86EFAC; margin-bottom: 12px; }
.cookie-banner.gpc .gpc-note { display: block; }

/* ---------- Toasts ---------- */
.toast-wrap { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 4000; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 14px; font-size: .9rem; color: #fff;
  background: rgba(17,26,46,.96); border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -15px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--blue-2); }
.toast-success .toast-dot { background: var(--success); }
.toast-error .toast-dot { background: var(--danger); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pay-wrap { grid-template-columns: 1fr; }
  .hv-chip-2 { right: -1%; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-assurances, .hero-markets { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid .pf-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 34px; }
  .price-card.featured { transform: none; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 90px 0; }
  .timeline { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
  .timeline::before, .timeline::after { top: 46px; bottom: 46px; left: 46px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--blue), var(--gold)); }
  .timeline.in-view::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 92px 1fr; gap: 0 22px; text-align: left; padding: 0; }
  .step-num { margin: 0; grid-row: span 3; }
  .step p { margin: 0; }
  .step-time { justify-self: start; }
  .pay-badges { grid-template-columns: repeat(2, 1fr); }
  .risk-banner { flex-direction: column; text-align: center; }
  .risk-banner .btn { margin: 0; }
  .footer-cta { flex-direction: column; text-align: center; }
  .pv-devices { display: none; }
}
@media (max-width: 680px) {
  .hero { padding: 132px 0 56px; }
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .work-grid .pf-card:last-child { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hv-chip { padding: 8px 11px; gap: 8px; border-radius: 13px; }
  .hv-chip strong { font-size: .84rem; }
  .hv-chip small { font-size: .62rem; }
  .chip-ic, .ring { width: 28px; height: 28px; }
  .hv-chip-4 { display: none; }
  .hv-body { padding: 12px; gap: 12px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-dialog { border-radius: 24px 24px 0 0; max-height: 94vh; max-height: 94dvh; }
  .modal-head { padding: 30px 22px 0; }
  .modal-body { padding: 22px 22px 28px; }
  .legal-header { padding: 22px 22px 0; }
  .legal-content { padding: 18px 22px 32px; }
  .modal-project { padding: 0; }
  .modal-project .modal-dialog { height: 100vh; height: 100dvh; border-radius: 0; }
  .pv-stage { padding: 0; }
  .pv-browser { border-radius: 0; border: 0; }
  .pv-browser-bar { display: none; }
  .pv-footer span { display: none; }
  .pv-footer .btn { width: 100%; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float-text { display: none; }
  .to-top { right: 14px; bottom: 70px; }
  .pay-wrap { padding: 28px 22px; }
  .pay-actions { width: 100%; }
  .pay-actions .btn { flex: 1 1 200px; }
  .pm-tabs { grid-template-columns: repeat(2, 1fr); }
  .pm-meta, .pm-milestones { grid-template-columns: 1fr; }
  .pay-trust-note { align-items: flex-start; }
  .stat { padding: 18px; }
}
@media (max-width: 420px) {
  .pay-badges { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   LIVE PREVIEW MOCKUPS (rendered inside .pv-frame; responsive via container queries)
   ========================================================================== */
.mk { min-height: 100%; font-family: var(--font-body); line-height: 1.5; color: #0F172A; }
.mk h1, .mk h2, .mk h3, .mk h4 { color: inherit; letter-spacing: -0.015em; }
.mk button, .mk select, .mk input { font: inherit; }
.mk section { scroll-margin-top: 70px; }

/* ----- Apex Crest Realty ----- */
.mk-apex { background: #FAF8F4; }
.ap-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px; background: rgba(250,248,244,.94); border-bottom: 1px solid #ECE7DD; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ap-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; letter-spacing: .16em; color: #0B1F3A; font-size: .9rem; white-space: nowrap; }
.ap-logo svg { width: 28px; height: 28px; }
.ap-logo b { color: #B8862B; }
.ap-links { display: flex; gap: 24px; font-size: .88rem; color: #475569; font-weight: 500; }
.ap-links a { cursor: pointer; } .ap-links a:hover { color: #0B1F3A; }
.ap-nav-r { display: flex; align-items: center; gap: 8px; }
.ap-saved { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid #E2DCCF; color: #0B1F3A; font-weight: 600; font-size: .82rem; background: #fff; }
.ap-saved svg { width: 15px; height: 15px; color: #E11D48; fill: #E11D48; }
.ap-btn { background: #0B1F3A; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .84rem; white-space: nowrap; transition: background .2s; }
.ap-btn:hover { background: #B8862B; }
.ap-hero { position: relative; padding: 76px 32px 60px; color: #fff; overflow: hidden; background: linear-gradient(160deg, #0B1F3A 0%, #16335C 55%, #8A6A35 130%); }
.ap-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; fill: rgba(255,255,255,.07); }
.ap-hero-in { position: relative; max-width: 780px; }
.ap-eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #E9C77B; font-weight: 700; }
.ap-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(1.9rem, 5.2cqw, 3.3rem); line-height: 1.08; margin: 14px 0 14px; color: #fff; }
.ap-hero h1 em { color: #E9C77B; }
.ap-hero p { color: rgba(255,255,255,.75); max-width: 560px; }
.ap-search { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; background: #fff; padding: 7px; border-radius: 16px; margin-top: 30px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.ap-search label { display: flex; flex-direction: column; padding: 7px 14px; border-right: 1px solid #EEE9DF; min-width: 0; }
.ap-search label:nth-child(3) { border-right: 0; }
.ap-search label span { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: #94A3B8; font-weight: 700; }
.ap-search select { border: 0; background: transparent; font-weight: 600; color: #0B1F3A; padding: 2px 0; outline: none; cursor: pointer; width: 100%; font-size: .92rem; }
.ap-search button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #B8862B; color: #fff; border-radius: 11px; padding: 0 26px; font-weight: 700; transition: background .2s; }
.ap-search button:hover { background: #9C7123; }
.ap-search button svg { width: 16px; height: 16px; }
.ap-hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.ap-hero-stats b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 1.6rem; color: #fff; }
.ap-hero-stats span { font-size: .78rem; color: rgba(255,255,255,.65); }
.ap-section { padding: 56px 32px; }
.ap-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.ap-kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #B8862B; font-weight: 700; }
.ap-sec-head h2 { font-family: Georgia, serif; font-weight: 400; font-size: 1.9rem; color: #0B1F3A; margin-top: 6px; }
.ap-count { font-size: .84rem; color: #64748B; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #ECE7DD; }
.ap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #EFEAE0; transition: transform .35s var(--ease), box-shadow .35s; animation: mkIn .5s var(--ease) both; }
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(11,31,58,.35); }
@keyframes mkIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ap-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ap-img svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.ap-card:hover .ap-img svg { transform: scale(1.05); }
.ap-tag { position: absolute; top: 12px; left: 12px; background: #fff; color: #0B1F3A; font-size: .68rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.ap-heart { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: #0B1F3A; transition: transform .2s, color .2s; }
.ap-heart:hover { transform: scale(1.1); }
.ap-heart svg { width: 18px; height: 18px; }
.ap-heart.on { color: #E11D48; animation: heart .4s var(--ease); }
.ap-heart.on svg { fill: currentColor; }
@keyframes heart { 50% { transform: scale(1.25); } }
.ap-body { padding: 16px 18px 18px; }
.ap-price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #0B1F3A; }
.ap-title { font-weight: 600; margin: 2px 0; color: #1E293B; }
.ap-loc { font-size: .83rem; color: #64748B; }
.ap-specs { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #F1EDE4; font-size: .8rem; color: #475569; }
.ap-specs b { color: #0B1F3A; }
.ap-empty { grid-column: 1 / -1; text-align: center; padding: 44px 20px; color: #64748B; background: #fff; border-radius: 16px; border: 1px dashed #D9D1C0; }
.ap-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; padding-top: 0; }
.ap-calc { background: #fff; border-radius: 22px; padding: 30px; border: 1px solid #EFEAE0; }
.ap-calc h3, .ap-agent h3 { font-family: Georgia, serif; font-weight: 400; font-size: 1.5rem; color: #0B1F3A; margin: 6px 0 18px; }
.ap-range { margin-bottom: 16px; }
.ap-range-top { display: flex; justify-content: space-between; font-size: .82rem; color: #475569; margin-bottom: 6px; }
.ap-range-top b { color: #0B1F3A; }
.ap-range input { width: 100%; accent-color: #B8862B; cursor: pointer; }
.ap-result { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: #FAF6EC; border: 1px solid #F0E6CF; }
.ap-result span { font-size: .82rem; color: #64748B; }
.ap-result b { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #0B1F3A; }
.ap-result small { font-size: .8rem; color: #64748B; font-weight: 500; }
.ap-agent { background: #0B1F3A; color: #fff; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.ap-agent h3 { color: #fff; }
.ap-agent-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ap-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #E9C77B, #B8862B); color: #0B1F3A; font-weight: 800; font-family: var(--font-head); }
.ap-agent-row b { display: block; } .ap-agent-row span { font-size: .8rem; color: rgba(255,255,255,.65); }
.ap-agent p { color: rgba(255,255,255,.78); font-size: .92rem; font-style: italic; }
.ap-agent .ap-btn { margin-top: auto; background: #B8862B; align-self: flex-start; margin-top: 22px; }
.ap-agent .ap-btn:hover { background: #fff; color: #0B1F3A; }
.ap-foot { padding: 26px 32px; font-size: .78rem; color: #94A3B8; border-top: 1px solid #ECE7DD; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@container mk (max-width: 900px) {
  .ap-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-links { display: none; }
  .ap-split { grid-template-columns: 1fr; }
}
@container mk (max-width: 600px) {
  .ap-nav, .ap-section, .ap-hero, .ap-foot { padding-left: 18px; padding-right: 18px; }
  .ap-hero { padding-top: 48px; padding-bottom: 44px; }
  .ap-grid { grid-template-columns: 1fr; }
  .ap-search { grid-template-columns: 1fr; }
  .ap-search label { border-right: 0; border-bottom: 1px solid #EEE9DF; }
  .ap-search button { padding: 14px; }
  .ap-saved .lbl { display: none; }
  .ap-hero-stats { gap: 22px; }
  .ap-sec-head { flex-direction: column; align-items: flex-start; }
  .ap-logo span.full { display: none; }
}

/* ----- Veloce Gear ----- */
.mk-veloce { background: #F5F5F3; color: #0A0A0A; font-family: var(--font-head); }
.vg-announce { background: #0A0A0A; color: #fff; text-align: center; font-size: .74rem; padding: 8px 14px; letter-spacing: .06em; font-weight: 500; }
.vg-announce b { color: #FF7A50; }
.vg-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px; background: rgba(255,255,255,.96); border-bottom: 1px solid #E7E7E4; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vg-logo { font-weight: 800; font-style: italic; font-size: 1.4rem; letter-spacing: -.05em; }
.vg-logo i { color: #FF4D1A; }
.vg-links { display: flex; gap: 26px; font-weight: 600; font-size: .88rem; color: #404040; }
.vg-links a { cursor: pointer; } .vg-links a:hover { color: #FF4D1A; }
.vg-nav-r { display: flex; align-items: center; gap: 10px; }
.vg-icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #E7E7E4; color: #0A0A0A; background: #fff; }
.vg-icon-btn svg { width: 19px; height: 19px; }
.vg-cart-btn { position: relative; background: #0A0A0A; color: #fff; border-color: #0A0A0A; }
.vg-badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: #FF4D1A; color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; transform: scale(0); transition: transform .3s var(--ease); }
.vg-badge.show { transform: scale(1); }
.vg-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.45); } }
.vg-hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 60px 32px; background: #0A0A0A; color: #fff; overflow: hidden; }
.vg-hero::before { content: 'VELOCE'; position: absolute; right: -2%; bottom: -12%; font-size: 13rem; font-weight: 800; font-style: italic; letter-spacing: -.06em; color: rgba(255,255,255,.035); line-height: 1; pointer-events: none; }
.vg-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF7A50; }
.vg-hero h1 { font-size: clamp(2.3rem, 7cqw, 4.6rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; font-style: italic; color: #fff; margin: 14px 0 0; }
.vg-hero h1 span { color: #FF4D1A; }
.vg-hero p { color: #A3A3A3; margin: 18px 0 26px; max-width: 430px; font-family: var(--font-body); }
.vg-cta { display: inline-flex; align-items: center; gap: 8px; background: #FF4D1A; color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: transform .2s, background .2s; }
.vg-cta:hover { transform: translateY(-2px); background: #FF6233; }
.vg-cta.alt { background: transparent; border: 1px solid #3F3F3F; margin-left: 8px; }
.vg-cta.alt:hover { border-color: #fff; }
.vg-hero-art { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; justify-self: center; }
.vg-hero-art::before { content: ''; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,26,.45), transparent 65%); }
.vg-hero-art::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 30s linear infinite; }
.vg-hero-art svg { position: relative; z-index: 1; width: 100%; height: 100%; animation: chipFloat 5s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.vg-price-tag { position: absolute; z-index: 2; right: 4%; top: 14%; background: #fff; color: #0A0A0A; padding: 8px 14px; border-radius: 14px; font-size: .78rem; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
.vg-price-tag b { display: block; font-size: 1.1rem; color: #FF4D1A; }
.vg-perks { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid #E7E7E4; }
.vg-perks div { padding: 16px 24px; font-size: .82rem; font-weight: 600; display: flex; gap: 10px; align-items: center; border-right: 1px solid #EFEFEC; }
.vg-perks div:last-child { border-right: 0; }
.vg-perks svg { width: 20px; height: 20px; color: #FF4D1A; flex-shrink: 0; }
.vg-shop { padding: 52px 32px; }
.vg-shop-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.vg-shop-head h2 { font-size: 2.1rem; font-weight: 800; text-transform: uppercase; font-style: italic; letter-spacing: -.04em; line-height: 1; }
.vg-shop-head p { font-family: var(--font-body); color: #737373; font-size: .9rem; margin-top: 6px; }
.vg-tabs { display: flex; gap: 4px; background: #fff; padding: 5px; border-radius: 999px; border: 1px solid #E7E7E4; flex-wrap: wrap; }
.vg-tab { padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #525252; transition: all .2s; }
.vg-tab:hover { color: #0A0A0A; }
.vg-tab.on { background: #0A0A0A; color: #fff; }
.vg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vg-card { background: #fff; border-radius: 22px; padding: 14px; border: 1px solid #ECECEA; transition: transform .35s var(--ease), box-shadow .35s; animation: mkIn .45s var(--ease) both; }
.vg-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(0,0,0,.4); }
.vg-img { position: relative; aspect-ratio: 1 / .82; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff, #EDEDEA 70%); display: grid; place-items: center; overflow: hidden; }
.vg-img svg { width: 60%; height: 60%; transition: transform .5s var(--ease); filter: drop-shadow(0 14px 14px rgba(0,0,0,.18)); }
.vg-card:hover .vg-img svg { transform: scale(1.08) rotate(-4deg); }
.vg-pbadge { position: absolute; top: 10px; left: 10px; background: #0A0A0A; color: #fff; font-size: .62rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.vg-pbadge.hot { background: #FF4D1A; }
.vg-info { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 14px; gap: 10px; padding: 0 4px; }
.vg-name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.vg-cat { font-size: .76rem; color: #737373; font-weight: 500; }
.vg-price { font-weight: 800; font-size: 1rem; }
.vg-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 8px; padding: 0 4px 4px; }
.vg-swatches { display: flex; gap: 7px; }
.vg-sw { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #D4D4D4; transition: box-shadow .2s, transform .2s; }
.vg-sw:hover { transform: scale(1.12); }
.vg-sw.on { box-shadow: 0 0 0 2px #0A0A0A; }
.vg-add { background: #0A0A0A; color: #fff; font-size: .78rem; font-weight: 700; padding: 9px 15px; border-radius: 999px; transition: background .2s, transform .2s; white-space: nowrap; }
.vg-add:hover { background: #FF4D1A; }
.vg-add.added { background: #16A34A; }
.vg-banner { margin: 0 32px 52px; border-radius: 26px; padding: 40px; background: linear-gradient(120deg, #FF4D1A, #FF8A3D); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.vg-banner h3 { font-size: 1.8rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.vg-banner p { font-family: var(--font-body); opacity: .9; margin-top: 8px; }
.vg-banner form { display: flex; gap: 8px; background: rgba(255,255,255,.18); padding: 6px; border-radius: 999px; flex: 0 1 380px; }
.vg-banner input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 14px; outline: none; }
.vg-banner input::placeholder { color: rgba(255,255,255,.8); }
.vg-banner button { background: #0A0A0A; color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .84rem; }
.vg-foot { padding: 24px 32px; border-top: 1px solid #E7E7E4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #8A8A8A; font-family: var(--font-body); }
/* cart drawer lives in .pv-overlay */
.vg-drawer-wrap { position: absolute; inset: 0; pointer-events: none !important; font-family: var(--font-head); color: #0A0A0A; }
.vg-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .35s; }
.vg-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .45s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.5); }
.vg-drawer-wrap.open { pointer-events: auto !important; }
.vg-drawer-wrap.open .vg-scrim { opacity: 1; }
.vg-drawer-wrap.open .vg-drawer { transform: none; }
.vg-dh { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid #EEE; font-size: 1.05rem; }
.vg-dh button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #F4F4F2; color: #0A0A0A; }
.vg-dh button svg { width: 16px; height: 16px; }
.vg-ship { padding: 14px 22px; font-size: .8rem; color: #525252; border-bottom: 1px solid #F2F2F0; }
.vg-ship b { color: #0A0A0A; }
.vg-bar { height: 6px; border-radius: 4px; background: #EEE; margin-top: 8px; overflow: hidden; }
.vg-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #FF4D1A, #FF8A3D); transition: width .5s var(--ease); }
.vg-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.vg-empty { text-align: center; color: #8A8A8A; padding: 50px 10px; font-size: .9rem; }
.vg-empty svg { width: 44px; height: 44px; margin: 0 auto 12px; color: #D4D4D4; }
.vg-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #F2F2F0; animation: mkIn .35s var(--ease); }
.vg-item-img { width: 58px; height: 58px; border-radius: 12px; background: #F4F4F2; display: grid; place-items: center; flex-shrink: 0; }
.vg-item-img svg { width: 70%; height: 70%; }
.vg-item-info { flex: 1; min-width: 0; font-size: .86rem; }
.vg-item-info b { display: block; }
.vg-item-info span { color: #8A8A8A; font-size: .76rem; }
.vg-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.vg-qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #E5E5E5; font-weight: 700; line-height: 1; color: #0A0A0A; }
.vg-item-price { font-weight: 800; font-size: .9rem; }
.vg-df { padding: 18px 22px 22px; border-top: 1px solid #EEE; }
.vg-sub { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: 14px; }
.vg-checkout { width: 100%; background: #0A0A0A; color: #fff; padding: 15px; border-radius: 999px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s; }
.vg-checkout:hover { background: #FF4D1A; }
.vg-checkout svg { width: 16px; height: 16px; }
.vg-df p { text-align: center; font-size: .72rem; color: #8A8A8A; margin-top: 10px; font-family: var(--font-body); }
@container mk (max-width: 900px) {
  .vg-links { display: none; }
  .vg-grid { grid-template-columns: repeat(2, 1fr); }
}
@container mk (max-width: 600px) {
  .vg-nav, .vg-shop, .vg-hero, .vg-foot { padding-left: 18px; padding-right: 18px; }
  .vg-hero { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .vg-hero p { margin-inline: auto; }
  .vg-hero-art { max-width: 240px; grid-row: 1; }
  .vg-cta.alt { display: none; }
  .vg-perks { grid-template-columns: 1fr; }
  .vg-perks div { border-right: 0; border-bottom: 1px solid #EFEFEC; justify-content: center; }
  .vg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vg-card { padding: 9px; border-radius: 16px; }
  .vg-row { flex-direction: column; align-items: stretch; }
  .vg-swatches { justify-content: center; }
  .vg-info { flex-direction: column; gap: 2px; }
  .vg-banner { margin: 0 18px 40px; padding: 28px 22px; }
  .vg-search-btn { display: none !important; }
}

/* ----- Synthetix AI ----- */
.mk-synth { background: #07051A; color: #E9E7FF; }
.sx-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px; background: rgba(7,5,26,.85); border-bottom: 1px solid rgba(167,139,250,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sx-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff; }
.sx-logo i { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 180deg, #8B5CF6, #22D3EE, #8B5CF6); box-shadow: 0 0 20px rgba(139,92,246,.6); }
.sx-links { display: flex; gap: 26px; font-size: .88rem; color: #A5A3C9; }
.sx-links a { cursor: pointer; } .sx-links a:hover { color: #fff; }
.sx-nav-r { display: flex; gap: 10px; align-items: center; }
.sx-signin { font-size: .86rem; color: #A5A3C9; font-weight: 500; }
.sx-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #8B5CF6, #6366F1); color: #fff; padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: .86rem; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(139,92,246,.8); transition: transform .2s; }
.sx-btn:hover { transform: translateY(-2px); }
.sx-btn.ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.sx-btn.lg { padding: 14px 26px; font-size: .95rem; }
.sx-hero { position: relative; text-align: center; padding: 70px 32px 40px; overflow: hidden; }
.sx-hero::before { content: ''; position: absolute; top: -260px; left: 50%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(139,92,246,.38), transparent 65%); pointer-events: none; }
.sx-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(167,139,250,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); pointer-events: none; }
.sx-hero > * { position: relative; z-index: 1; }
.sx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.35); font-size: .8rem; color: #C4B5FD; }
.sx-pill b { background: #8B5CF6; color: #fff; padding: 2px 9px; border-radius: 999px; font-size: .7rem; }
.sx-hero h1 { font-family: var(--font-head); font-size: clamp(2.1rem, 6cqw, 3.9rem); font-weight: 800; letter-spacing: -.04em; color: #fff; max-width: 820px; margin: 20px auto 16px; line-height: 1.04; }
.sx-hero h1 span { background: linear-gradient(90deg, #A78BFA, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-hero > p { color: #A5A3C9; max-width: 580px; margin: 0 auto 28px; font-size: 1.05rem; }
.sx-ctas { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sx-dash { margin: 46px auto 0; max-width: 1000px; border-radius: 22px; border: 1px solid rgba(167,139,250,.28); background: linear-gradient(180deg, rgba(30,27,75,.65), rgba(15,12,41,.9)); padding: 20px; text-align: left; box-shadow: 0 50px 120px -40px rgba(139,92,246,.55); }
.sx-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sx-dash-head b { font-family: var(--font-head); color: #fff; font-size: 1rem; }
.sx-dash-head small { display: block; color: #6E6A99; font-size: .74rem; }
.sx-range { display: flex; background: rgba(255,255,255,.05); border-radius: 10px; padding: 4px; }
.sx-range button { padding: 6px 13px; border-radius: 7px; font-size: .78rem; font-weight: 600; color: #A5A3C9; transition: all .2s; }
.sx-range button.on { background: #8B5CF6; color: #fff; }
.sx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.sx-kpi { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; }
.sx-kpi span { font-size: .74rem; color: #A5A3C9; }
.sx-kpi b { display: block; font-family: var(--font-head); font-size: 1.55rem; color: #fff; margin: 3px 0; font-variant-numeric: tabular-nums; }
.sx-kpi em { font-style: normal; font-size: .74rem; color: #34D399; font-weight: 600; }
.sx-chart { background: rgba(255,255,255,.025); border-radius: 14px; padding: 12px 12px 8px; border: 1px solid rgba(255,255,255,.06); }
.sx-chart svg { width: 100%; height: auto; display: block; }
.sx-line { fill: none; stroke: url(#sxLine); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sx-area { fill: url(#sxArea); transition: d .6s var(--ease); }
.sx-gridline { stroke: rgba(255,255,255,.06); stroke-dasharray: 4 6; }
.sx-dot { fill: #fff; stroke: #8B5CF6; stroke-width: 3; }
.sx-labels { display: flex; justify-content: space-between; font-size: .68rem; color: #6E6A99; padding: 6px 8px 0; }
.sx-logos { display: flex; justify-content: center; align-items: center; gap: 14px 38px; flex-wrap: wrap; padding: 34px 32px 10px; color: #4B4778; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; }
.sx-logos small { width: 100%; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #6E6A99; font-weight: 600; }
.sx-section { padding: 60px 32px; max-width: 1100px; margin: 0 auto; }
.sx-h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 4cqw, 2.3rem); font-weight: 800; color: #fff; text-align: center; letter-spacing: -.03em; }
.sx-sub { text-align: center; color: #A5A3C9; margin: 10px auto 30px; max-width: 560px; }
.sx-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.sx-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); font-size: .86rem; font-weight: 600; color: #A5A3C9; transition: all .2s; }
.sx-tab:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.sx-tab.on { background: #fff; color: #07051A; border-color: #fff; }
.sx-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 34px; animation: mkIn .45s var(--ease); }
.sx-panel h3 { font-family: var(--font-head); font-size: 1.55rem; color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.sx-panel > div > p { color: #A5A3C9; margin-bottom: 18px; }
.sx-panel ul { display: grid; gap: 10px; }
.sx-panel li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: #D6D3F5; }
.sx-panel li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: #22D3EE; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.sx-art { border-radius: 18px; background: rgba(7,5,26,.7); border: 1px solid rgba(167,139,250,.2); padding: 20px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sx-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.sx-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #8B5CF6, rgba(99,102,241,.3)); animation: grow .8s var(--ease) both; transform-origin: bottom; }
.sx-bars i.f { background: repeating-linear-gradient(45deg, rgba(34,211,238,.5) 0 6px, rgba(34,211,238,.2) 6px 12px); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.sx-lead { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.04); animation: mkIn .5s var(--ease) both; }
.sx-lead i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6366F1, #22D3EE); flex-shrink: 0; }
.sx-lead div { flex: 1; font-size: .84rem; } .sx-lead div small { display: block; color: #6E6A99; font-size: .72rem; }
.sx-score { font-family: var(--font-head); font-weight: 800; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.sx-score.hi { background: rgba(52,211,153,.15); color: #34D399; } .sx-score.md { background: rgba(251,191,36,.15); color: #FBBF24; } .sx-score.lo { background: rgba(248,113,113,.15); color: #F87171; }
.sx-flow { display: grid; gap: 10px; }
.sx-node { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(167,139,250,.2); font-size: .86rem; position: relative; animation: mkIn .5s var(--ease) both; }
.sx-node:not(:last-child)::after { content: ''; position: absolute; left: 29px; bottom: -11px; width: 2px; height: 10px; background: #8B5CF6; }
.sx-node b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(139,92,246,.2); color: #C4B5FD; font-size: .8rem; flex-shrink: 0; }
.sx-node span { margin-left: auto; font-size: .7rem; color: #34D399; font-weight: 600; }
.sx-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 30px; font-size: .9rem; font-weight: 600; color: #A5A3C9; }
.sx-toggle .on-lbl { color: #fff; }
.sx-switch { width: 54px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; transition: background .3s; }
.sx-switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.sx-switch[aria-checked="true"] { background: #8B5CF6; }
.sx-switch[aria-checked="true"]::after { transform: translateX(24px); }
.sx-save { background: rgba(52,211,153,.15); color: #34D399; padding: 3px 9px; border-radius: 999px; font-size: .72rem; }
.sx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sx-plan { border-radius: 20px; padding: 28px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }
.sx-plan.pop { border-color: #8B5CF6; background: linear-gradient(180deg, rgba(139,92,246,.2), rgba(255,255,255,.02)); box-shadow: 0 30px 60px -30px rgba(139,92,246,.6); }
.sx-plan h4 { font-family: var(--font-head); color: #fff; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.sx-plan h4 small { font-size: .66rem; background: #8B5CF6; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.sx-plan > p { color: #A5A3C9; font-size: .86rem; margin-top: 6px; }
.sx-amt { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: #fff; margin: 16px 0 2px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sx-amt small { font-size: .9rem; color: #A5A3C9; font-weight: 500; letter-spacing: 0; }
.sx-plan ul { display: grid; gap: 9px; margin: 18px 0 22px; font-size: .86rem; color: #D6D3F5; }
.sx-plan li { display: flex; gap: 8px; align-items: center; }
.sx-plan li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: #A78BFA; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.sx-plan .sx-btn { margin-top: auto; justify-content: center; }
.sx-foot { padding: 26px 32px 90px; border-top: 1px solid rgba(167,139,250,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #6E6A99; }
/* chat widget lives in .pv-overlay */
.sx-chat-fab { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #22D3EE); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(139,92,246,.8); transition: transform .25s var(--ease); }
.sx-chat-fab:hover { transform: scale(1.06); }
.sx-chat-fab svg { width: 24px; height: 24px; }
.sx-chat-fab .ping { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #34D399; border: 2px solid #07051A; }
.sx-chat { position: absolute; right: 18px; bottom: 86px; width: min(350px, calc(100% - 36px)); height: 440px; max-height: calc(100% - 110px); background: #110E2E; border: 1px solid rgba(167,139,250,.3); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom right; pointer-events: none !important; transition: opacity .3s, transform .35s var(--ease); color: #E9E7FF; font-family: var(--font-body); }
.sx-chat.open { opacity: 1; transform: none; pointer-events: auto !important; }
.sx-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(34,211,238,.15)); border-bottom: 1px solid rgba(167,139,250,.2); }
.sx-chat-head i { width: 34px; height: 34px; border-radius: 10px; background: conic-gradient(from 180deg, #8B5CF6, #22D3EE, #8B5CF6); flex-shrink: 0; }
.sx-chat-head b { display: block; font-size: .9rem; color: #fff; font-family: var(--font-head); }
.sx-chat-head small { font-size: .72rem; color: #34D399; }
.sx-chat-head button { margin-left: auto; color: #A5A3C9; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }
.sx-chat-head button svg { width: 16px; height: 16px; }
.sx-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sx-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .84rem; line-height: 1.45; animation: mkIn .3s var(--ease); }
.sx-msg.bot { background: rgba(255,255,255,.06); border-bottom-left-radius: 4px; align-self: flex-start; }
.sx-msg.me { background: linear-gradient(135deg, #8B5CF6, #6366F1); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.sx-msg.typing-msg { display: flex; gap: 4px; padding: 13px; }
.sx-msg.typing-msg i { width: 6px; height: 6px; border-radius: 50%; background: #A78BFA; animation: typing 1.2s infinite; }
.sx-msg.typing-msg i:nth-child(2) { animation-delay: .15s; } .sx-msg.typing-msg i:nth-child(3) { animation-delay: .3s; }
.sx-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.sx-suggest button { font-size: .74rem; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(167,139,250,.35); color: #C4B5FD; transition: background .2s; }
.sx-suggest button:hover { background: rgba(139,92,246,.2); }
.sx-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(167,139,250,.15); }
.sx-input input { flex: 1; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 9px 12px; color: #fff; font-size: .84rem; outline: none; }
.sx-input input:focus { border-color: #8B5CF6; }
.sx-input button { width: 38px; border-radius: 10px; background: #8B5CF6; color: #fff; display: grid; place-items: center; }
.sx-input button svg { width: 16px; height: 16px; }
@container mk (max-width: 900px) {
  .sx-links, .sx-signin { display: none; }
  .sx-panel { grid-template-columns: 1fr; }
  .sx-plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@container mk (max-width: 600px) {
  .sx-nav, .sx-section, .sx-hero, .sx-foot { padding-left: 18px; padding-right: 18px; }
  .sx-hero { padding-top: 46px; }
  .sx-kpis { grid-template-columns: 1fr; }
  .sx-dash { padding: 14px; }
  .sx-panel { padding: 22px; }
  .sx-nav .sx-btn { padding: 9px 14px; font-size: .8rem; }
}
