/* =====================================================================
   EVOLUX — design system
   Navy · tech blue · luminous blue · white · metallic grey · discreet gold
   ===================================================================== */
:root {
  --navy-950: #02060e;
  --navy-900: #050b19;
  --navy-800: #0a1630;
  --navy-700: #12234a;
  --blue: #2a6fdb;
  --blue-2: #3b8bff;
  --glow: #7cc8ff;
  --white: #ffffff;
  --ink: #e8eef8;
  --muted: #9aa7b8;
  --metal: #c3ccd8;
  --gold: #d4af5f;
  --gold-2: #f0d590;
  --gold-3: #a8833a;
  --ok: #2ecc8f;
  --warn: #f5b84b;
  --err: #ff6b6b;
  --line: rgba(160, 190, 235, 0.14);
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); line-height: 1.6; font-size: 16px;
  background: radial-gradient(1100px 560px at 85% -10%, rgba(212, 175, 95, 0.10), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(42, 111, 219, 0.10), transparent 60%),
              var(--navy-900);
  min-height: 100vh; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--glow); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--white); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.tight { padding: 56px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--metal); max-width: 680px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .kicker::before { display: none; }
.sec-head { margin-bottom: 48px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.gold { color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 0.95rem var(--body); border: 1px solid transparent; cursor: pointer; transition: 0.25s; color: var(--white); background: none; white-space: nowrap; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-primary { background: linear-gradient(135deg, var(--gold-3), var(--gold) 45%, var(--gold-2)); color: #140f04; box-shadow: 0 10px 30px -12px rgba(212, 175, 95, 0.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(240, 213, 144, 0.8); color: #140f04; }
.btn-primary .spin { border-color: rgba(0, 0, 0, 0.25); border-top-color: #140f04; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--glow); color: #fff; }
.btn-gold { border-color: rgba(212, 175, 95, 0.7); color: var(--gold-2); background: rgba(212, 175, 95, 0.08); }
.btn-gold:hover { color: #140f04; background: var(--gold); transform: translateY(-2px); }
.btn-danger { border-color: rgba(255, 107, 107, 0.4); color: var(--err); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--glow); cursor: pointer; font: inherit; padding: 0; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- header */
.demo-bar { background: linear-gradient(90deg, #7a5a1e, var(--gold)); color: var(--navy-950); text-align: center; font-size: 0.78rem; font-weight: 600; padding: 6px 12px; letter-spacing: 0.04em; }
header.top { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: 0.3s; border-bottom: 1px solid transparent; }
header.top.scrolled, header.top.solid { background: rgba(6, 20, 46, 0.82); backdrop-filter: blur(14px); border-color: var(--line); }
header.top .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-family: var(--head); font-weight: 700; letter-spacing: 0.16em; font-size: 1.15rem; white-space: nowrap; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: #fff; font-size: 1rem; letter-spacing: 0; box-shadow: 0 0 24px rgba(92, 200, 255, 0.35); }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { white-space: nowrap; color: var(--metal); font-size: 0.88rem; padding: 8px 9px; border-radius: 999px; font-weight: 500; }
nav.main a:hover, nav.main a.on { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.head-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-sel { position: relative; }
.lang-sel select { appearance: none; background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 30px 8px 34px; font: 500 0.85rem var(--body); cursor: pointer; }
.lang-sel select option { color: #000; }
.lang-sel .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--glow); }
.lang-sel::after { content: "▾"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; color: var(--muted); pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--white); cursor: pointer; }
.icon-btn:hover { border-color: var(--glow); color: #fff; }
.burger { display: none; }
@media (max-width: 1380px) {
  nav.main { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: rgba(3, 11, 28, 0.97); backdrop-filter: blur(16px); padding: 16px 24px 28px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: 0.35s; margin: 0; }
  nav.main.open { transform: none; }
  nav.main a { font-size: 1.05rem; padding: 12px 8px; }
  .burger { display: grid; }
  .head-tools { margin-left: auto; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); margin-top: calc(-1 * var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero canvas.no-webgl { background: url("../assets/projects/evx-002-ext2.svg") center/cover; opacity: 0.5; }
.hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 11, 28, 0.92) 0%, rgba(3, 11, 28, 0.55) 45%, rgba(3, 11, 28, 0.05) 75%), linear-gradient(0deg, var(--navy-900) 0%, transparent 25%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.hero h1 { max-width: 720px; font-size: clamp(2.2rem, 5.2vw, 4.2rem); background: linear-gradient(180deg, #fff 35%, #f3dfa8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 36px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero .stats b { display: block; font-family: var(--head); font-size: 2rem; color: var(--white); font-weight: 600; }
.hero .stats span { color: var(--muted); font-size: 0.85rem; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--glow), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero canvas, .hero .bgimg, .hero .hero-video { position: relative; inset: auto; width: 100%; height: 46vh; min-height: 280px; flex: none; }
  .hero::after { inset: 0 0 auto 0; height: 46vh; min-height: 280px; background: linear-gradient(0deg, var(--navy-900) 2%, transparent 40%); }
  .hero .wrap { padding-top: 0; padding-bottom: 40px; margin-top: -40px; }
  .hero h1 { font-size: 2.1rem; }
  .hero .lead { font-size: 1rem; margin-bottom: 24px; }
  .hero .stats { gap: 24px; margin-top: 32px; }
  .hero .stats b { font-size: 1.6rem; }
  .hero .actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- page head */
.page-head { padding: 36px 0 26px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(212, 175, 95, 0.07), transparent); }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.3em; }
.page-head .lead { margin-bottom: 0; }
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------------------------------------------------------------- cards & grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: 0.3s; position: relative; }
.card.hover:hover { border-color: rgba(92, 200, 255, 0.35); background: var(--card-2); transform: translateY(-4px); }
.svc .ic-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31, 111, 235, 0.25), rgba(92, 200, 255, 0.08)); border: 1px solid rgba(92, 200, 255, 0.25); color: var(--glow); margin-bottom: 20px; }
.svc .ic-wrap .ic { width: 26px; height: 26px; }
.svc p { color: var(--muted); font-size: 0.95rem; }
.svc .more { font-size: 0.88rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.svc .more .ic { width: 16px; height: 16px; }

/* project cards */
.pcard { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: 0.35s; display: flex; flex-direction: column; color: var(--ink); }
.pcard:hover { transform: translateY(-6px); border-color: rgba(92, 200, 255, 0.35); box-shadow: var(--shadow); color: var(--ink); }
.pcard .ph { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--navy-800); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .code { position: absolute; top: 12px; left: 12px; background: rgba(3, 11, 28, 0.75); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold-2); font-weight: 600; }
.pcard .tag { position: absolute; top: 12px; right: 12px; background: rgba(5, 11, 25, 0.78); border: 1px solid rgba(212, 175, 95, 0.5); padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; color: #fff; }
.pcard .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard h3 { margin: 0; font-size: 1.1rem; }
.specs { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.specs span { display: inline-flex; gap: 6px; align-items: center; }
.specs .ic { width: 16px; height: 16px; color: var(--glow); }
.pcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price small { display: block; color: var(--muted); font-size: 0.72rem; }
.price b { font-family: var(--head); font-size: 1.25rem; color: var(--white); }

/* ---------------------------------------------------------------- store */
.store { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
.filters h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--metal); cursor: pointer; font: 500 0.82rem var(--body); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #140f04; }
.chip:hover { border-color: var(--glow); }
.store-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .store { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
}
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: 600 0.9rem var(--body); padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.pager button.on { background: var(--gold); border-color: var(--gold); color: #140f04; }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager .info { color: var(--muted); font-size: 0.85rem; width: 100%; text-align: center; margin-top: 6px; }

/* ---------------------------------------------------------------- project page */
.pj { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 980px) { .pj { grid-template-columns: 1fr; } }
.facade { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--navy-800); cursor: zoom-in; }
.facade img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.facade .hint { position: absolute; bottom: 12px; right: 12px; background: rgba(3, 11, 28, 0.7); padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; display: flex; gap: 6px; align-items: center; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: 0.7; }
.thumbs img.on, .thumbs img:hover { border-color: var(--glow); opacity: 1; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 36px 0 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 16px; font: 600 0.92rem var(--body); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.tabs button.on { color: var(--white); border-color: var(--gold); }
.tabs button .ic { width: 16px; height: 16px; }
.tabs .badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 999px; background: rgba(201, 164, 92, 0.15); color: var(--gold-2); }
.tabs .badge.ok { background: rgba(46, 204, 143, 0.15); color: var(--ok); }
.locked { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; -webkit-user-select: none; }
.locked img { width: 100%; filter: blur(7px) saturate(0.8); transform: scale(1.04); pointer-events: none; }
.locked .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 46, 0.35), rgba(6, 20, 46, 0.85)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 10px; }
.locked .veil .lockic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(201, 164, 92, 0.15); border: 1px solid rgba(201, 164, 92, 0.5); color: var(--gold-2); }
.locked .veil .lockic .ic { width: 28px; height: 28px; }
.locked .veil p { max-width: 420px; color: var(--metal); }
.unlocked-grid { display: grid; gap: 14px; }
.unlocked-grid img { border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; background: #fff; }
.files { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.file-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; }
model-viewer { width: 100%; height: 460px; background: radial-gradient(circle at 50% 40%, #12295c, #030b1c); border-radius: var(--radius); --poster-color: transparent; }
.buybox { position: sticky; top: calc(var(--header-h) + 20px); }
.buybox .specs-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 24px; }
.buybox .specs-big div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.buybox .specs-big small { color: var(--muted); font-size: 0.75rem; display: flex; gap: 6px; align-items: center; }
.buybox .specs-big small .ic { width: 14px; height: 14px; color: var(--glow); }
.buybox .specs-big b { font-family: var(--head); font-size: 1.15rem; color: #fff; }
.part { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); margin-bottom: 10px; transition: 0.2s; }
.part:hover { border-color: rgba(92, 200, 255, 0.4); }
.part.best { border-color: rgba(201, 164, 92, 0.55); background: linear-gradient(135deg, rgba(201, 164, 92, 0.1), transparent); }
.part .pi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(31, 111, 235, 0.15); color: var(--glow); flex: none; }
.part.best .pi { background: rgba(201, 164, 92, 0.18); color: var(--gold-2); }
.part .txt { flex: 1; min-width: 0; }
.part .txt b { display: block; color: #fff; font-size: 0.95rem; }
.part .txt small { color: var(--muted); font-size: 0.8rem; }
.part .pr { text-align: right; }
.part .pr b { font-family: var(--head); color: #fff; display: block; }
.part .pr s { color: var(--muted); font-size: 0.78rem; }
.part .own { color: var(--ok); font-size: 0.8rem; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.save-tag { display: inline-block; margin-left: 6px; font-size: 0.68rem; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-weight: 700; vertical-align: middle; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feat li { display: flex; gap: 10px; color: var(--metal); font-size: 0.95rem; }
.feat li .ic { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }

/* ---------------------------------------------------------------- about / founder */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.prose p { color: var(--metal); font-size: 1.05rem; }
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .mv { grid-template-columns: 1fr; } }
.values { display: flex; flex-wrap: wrap; gap: 12px; }
.values span { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: inline-flex; gap: 8px; align-items: center; }
.values .ic { color: var(--gold); width: 16px; height: 16px; }
.portrait { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.portrait .ph-empty .initials { font-family: var(--head); font-size: 4rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.05em; }
.portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--glow), var(--gold)); }
.founder-name { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: 0.04em; }
.edu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.edu li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); align-items: center; }
.edu li .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(201, 164, 92, 0.15); color: var(--gold-2); font-weight: 700; font-size: 0.85rem; flex: none; }
.timeline { border-left: 1px solid var(--line); padding-left: 22px; display: grid; gap: 18px; }
.timeline .it { position: relative; }
.timeline .it::before { content: ""; position: absolute; left: -27px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.timeline .it b { color: #fff; display: block; }
.timeline .it small { color: var(--gold-2); }

/* ---------------------------------------------------------------- diaspora */
.dia-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; background: linear-gradient(135deg, rgba(31, 111, 235, 0.3), rgba(6, 20, 46, 0.4)), url("../assets/projects/evx-012-ext2.svg") center/cover; border: 1px solid var(--line); }
.dia-hero h2 { max-width: 640px; font-size: clamp(1.8rem, 3.6vw, 3rem); }
@media (max-width: 640px) { .dia-hero { padding: 36px 24px; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps div { counter-increment: s; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.steps div::before { content: "0" counter(s); display: block; font-family: var(--head); color: var(--gold); font-size: 1.4rem; margin-bottom: 8px; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.countries span { padding: 6px 14px; border-radius: 999px; background: rgba(3, 11, 28, 0.55); border: 1px solid var(--line); font-size: 0.85rem; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 0.85rem; color: var(--metal); font-weight: 500; }
label.f .req { color: var(--gold); }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(3, 11, 28, 0.55); color: var(--white); font: 400 0.95rem var(--body); transition: 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.15); }
select option { background: var(--navy-900); }
textarea { min-height: 120px; resize: vertical; }
input[type="file"] { padding: 10px; cursor: pointer; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); }
label.check { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-size: 0.92rem; }
.auth-box { max-width: 440px; margin: 0 auto; }
.note { padding: 14px 16px; border-radius: 12px; background: rgba(31, 111, 235, 0.1); border: 1px solid rgba(31, 111, 235, 0.3); font-size: 0.88rem; color: var(--metal); white-space: pre-line; }
.note.gold { background: rgba(201, 164, 92, 0.1); border-color: rgba(201, 164, 92, 0.35); }
.note.ok { background: rgba(46, 204, 143, 0.1); border-color: rgba(46, 204, 143, 0.35); }

/* ---------------------------------------------------------------- contact */
.contact-list { display: grid; gap: 14px; }
.contact-list > a, .contact-list > div { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.contact-list .ic { color: var(--glow); width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 0.78rem; }

/* ---------------------------------------------------------------- tables / account / admin */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.02); }
tr:last-child td { border-bottom: 0; }
td .btn-sm { padding: 6px 10px; }
.st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.st.pending, .st.new { background: rgba(245, 184, 75, 0.15); color: var(--warn); }
.st.review, .st.in_progress { background: rgba(92, 200, 255, 0.15); color: var(--glow); }
.st.paid, .st.answered { background: rgba(46, 204, 143, 0.15); color: var(--ok); }
.st.cancelled, .st.closed { background: rgba(154, 167, 184, 0.15); color: var(--muted); }
.side-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.side-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav button { text-align: left; background: none; border: 0; padding: 11px 14px; border-radius: 12px; color: var(--metal); font: 500 0.92rem var(--body); cursor: pointer; display: flex; gap: 10px; align-items: center; }
.side-nav button:hover { background: var(--card); color: #fff; }
.side-nav button.on { background: rgba(212, 175, 95, 0.14); color: var(--gold-2); }
.side-nav button .cnt { margin-left: auto; font-size: 0.72rem; background: var(--gold); color: var(--navy-950); padding: 1px 8px; border-radius: 999px; font-weight: 700; }
@media (max-width: 900px) {
  .side-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; flex-direction: row; overflow-x: auto; }
  .side-nav button { white-space: nowrap; }
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-size: 0.78rem; }
.kpi b { display: block; font-family: var(--head); font-size: 1.7rem; color: #fff; margin-top: 4px; }
.bars { display: flex; align-items: end; gap: 8px; height: 160px; padding: 10px 0; }
.bars div { flex: 1; background: linear-gradient(180deg, var(--glow), var(--blue)); border-radius: 6px 6px 0 0; position: relative; min-height: 2px; }
.bars div span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.bars div em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; color: var(--metal); font-style: normal; white-space: nowrap; }
.adm-sec { display: grid; gap: 20px; }
.adm-sec > h2 { margin: 0; }
.adm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.lang-tabs button { border: 0; background: none; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; font: 600 0.8rem var(--body); }
.lang-tabs button.on { background: var(--gold); color: #140f04; }
.ml-field { display: grid; gap: 6px; }
.ml-field [data-l] { display: none; }
.ml-field [data-l].on { display: block; }
.img-field { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.img-field .prev { width: 120px; height: 80px; border-radius: 10px; background: var(--navy-800) center/contain no-repeat; border: 1px solid var(--line); }
.img-field.dark .prev { background-color: #fff; }
.thumb-list { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-list .t { position: relative; width: 120px; height: 80px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.thumb-list .t img { width: 100%; height: 100%; object-fit: cover; }
.thumb-list .t button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(3, 11, 28, 0.8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.thumb-list .t button .ic { width: 14px; height: 14px; }
.list-editor .item { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; display: grid; gap: 14px; }
legend { padding: 0 8px; color: var(--gold-2); font-weight: 600; font-size: 0.9rem; }

/* ---------------------------------------------------------------- footer */
footer.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(3, 11, 28, 0.8)); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-family: var(--body); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul a { color: var(--metal); }
footer .slogan { font-family: var(--head); color: var(--white); font-size: 1.05rem; margin: 18px 0; max-width: 360px; }
footer .socials { display: flex; gap: 8px; }
footer .bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.7); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------------------------------------------------------------- modal, lightbox, toast */
.modal-wrap { position: fixed; inset: 0; z-index: 100; background: rgba(3, 11, 28, 0.82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade 0.2s; }
.modal { position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--navy-900); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.modal.wide { width: min(1100px, 100%); padding: 16px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy-800); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.lb-stage { height: min(74vh, 760px); overflow: hidden; display: grid; place-items: center; border-radius: 12px; background: #0a1730; cursor: grab; touch-action: none; }
.lb-stage img { max-width: 100%; max-height: 100%; transition: transform 0.12s; user-select: none; }
.lb-bar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; }
.lb-bar button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-n { color: var(--muted); font-size: 0.85rem; min-width: 60px; text-align: center; }
#toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast { padding: 12px 20px; border-radius: 12px; background: var(--navy-700); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 0.9rem; transition: 0.4s; }
.toast.ok { border-color: rgba(46, 204, 143, 0.5); }
.toast.err { border-color: rgba(255, 107, 107, 0.6); }
.toast.out { opacity: 0; transform: translateY(10px); }
@keyframes fade { from { opacity: 0; } }

/* ---------------------------------------------------------------- reveal animation */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }
.loader { min-height: 50vh; display: grid; place-items: center; }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------------------------------------------------------------- ads (cinema-style advertising space) */
.ads-wrap { padding: 36px 0 12px; }
.ads-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ads-head span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.ads-head a { font-size: 0.85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.ads-head .ic { width: 16px; height: 16px; }
.ads { position: relative; display: grid; border-radius: 22px; overflow: hidden; border: 1px solid rgba(212, 175, 95, 0.28); background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.ad-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s; }
.ad-slide.on { opacity: 1; visibility: visible; }
.ad-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #02060e; container-type: size; }
.ad-media img, .ad-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-media.yt iframe, .hero-video.yt iframe { position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); }
.ad-slide.on .ad-media img { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.ad-txt { position: absolute; left: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 0 5% 6%; width: min(640px, 70%); background: linear-gradient(90deg, rgba(2, 6, 14, 0.88), rgba(2, 6, 14, 0.35) 75%, transparent); pointer-events: none; }
.ad-txt > * { pointer-events: auto; }
.ad-txt h3 { font-size: clamp(1.3rem, 2.8vw, 2.3rem); margin: 0; text-wrap: balance; }
.ad-txt p { color: var(--ink); opacity: 0.85; margin: 0; max-width: 520px; }
.ad-tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(212, 175, 95, 0.45); padding: 3px 10px; border-radius: 999px; background: rgba(2, 6, 14, 0.5); }
.ad-sound { position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(2, 6, 14, 0.6); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.ad-sound .i-on { display: none; } .ad-sound.on .i-on { display: block; } .ad-sound.on .i-off { display: none; }
.ad-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); z-index: 2; }
.ad-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.ad-dots { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.ad-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; padding: 0; }
.ad-dots button.on { background: var(--gold); width: 26px; border-radius: 6px; }
.ad-foot { text-align: right; margin-top: 8px; font-size: 0.8rem; }
.ad-foot a { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.ad-foot .ic { width: 14px; height: 14px; }
.ads.popup { border-radius: 14px; }
.ads.popup .ad-media { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .ad-media { aspect-ratio: 16 / 9; } }
/* phones: video full width on top, text underneath (nothing hidden, nothing cut) */
@media (max-width: 640px) {
  .ads-wrap .wrap { padding: 0 12px; }
  .ads { border-radius: 16px; }
  .ad-txt { position: static; width: 100%; padding: 16px 16px 20px; background: linear-gradient(180deg, #050b19, #02060e); }
  .ad-txt h3 { font-size: 1.2rem; }
  .ad-txt p { font-size: 0.92rem; }
  .ad-dots { top: 10px; }
}

/* hero background video (ad placed on "top of home page") */
.hero-video { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- custom notice */
.custom-notice { display: flex; gap: 20px; padding: 24px 26px; border-radius: 18px; border: 1px solid rgba(201, 164, 92, 0.45); background: linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(31, 111, 235, 0.06)); margin-bottom: 28px; }
.custom-notice .cn-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 164, 92, 0.18); color: var(--gold-2); flex: none; }
.custom-notice p { color: var(--ink); margin: 0 0 14px; }
.cn-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .custom-notice { flex-direction: column; } }

/* ---------------------------------------------------------------- agenda */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 0; }
.cal button { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: 600 0.95rem var(--body); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.cal button small { font-size: 0.6rem; font-weight: 500; color: var(--muted); }
.cal button:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; }
.cal button.on { background: var(--gold); border-color: var(--gold); color: #140f04; }
.cal button.on small { color: #3a2c08; }
.cal button:not(:disabled):hover { border-color: var(--glow); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slots button { padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: 600 0.92rem var(--body); }
.slots button small { display: block; font-size: 0.66rem; color: var(--muted); font-weight: 500; }
.slots button:disabled { text-decoration: line-through; opacity: 0.35; cursor: not-allowed; }
.slots button.on { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.slots button.on small { color: var(--navy-800); }
.agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .agenda-grid { grid-template-columns: 1fr; } }
textarea.ovr { border-color: rgba(201, 164, 92, 0.6); }
@media (max-width: 520px) { .hide-s { display: none; } }

/* ---------------------------------------------------------------- language switch (always visible) */
.lang-pills { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.lang-pills button { border: 0; background: none; color: var(--metal); font: 700 0.78rem var(--body); letter-spacing: 0.06em; padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.lang-pills button.on { background: var(--gold); color: #140f04; }
.lang-pills button:not(.on):hover { color: #fff; }
.lang-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: radial-gradient(800px 500px at 50% 0%, rgba(212, 175, 95, 0.18), transparent 70%), rgba(2, 6, 14, 0.96); backdrop-filter: blur(8px); animation: fade 0.3s; }
.lang-gate .box { width: min(560px, 100%); text-align: center; }
.lang-gate img { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 60px rgba(212, 175, 95, 0.35); }
.lang-gate h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 4px; }
.lang-gate p { color: var(--muted); margin-bottom: 26px; }
.lang-gate .choices { display: grid; gap: 12px; }
.lang-gate .choices button { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer; font: 600 1.15rem var(--head); text-align: left; transition: 0.2s; }
.lang-gate .choices button:hover { border-color: var(--gold); background: rgba(212, 175, 95, 0.1); transform: translateY(-2px); }
.lang-gate .choices .fl { font-size: 2rem; }
.lang-gate .choices small { display: block; font: 400 0.85rem var(--body); color: var(--muted); }

/* ---------------------------------------------------------------- explanatory guide strip */
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.guide div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 0.9rem; color: var(--metal); }
.guide b.n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #140f04; font-size: 0.85rem; }
.guide strong { color: #fff; display: block; font-size: 0.95rem; }
@media (max-width: 760px) {
  .guide { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
  .guide div { flex-direction: column; align-items: center; text-align: center; padding: 10px 6px; gap: 6px; font-size: 0; }
  .guide strong { font-size: 0.76rem; line-height: 1.25; }
  .scroll-cue { display: none; }
}

@media (max-width: 520px) { .brand span { display: none; } .lang-pills button { padding: 6px 8px; font-size: .7rem; } }
.pj > *, .store > *, .split > *, .side-layout > *, .agenda-grid > *, .grid > * { min-width: 0; }

.check.consent { align-items: flex-start; font-size: 0.88rem; color: var(--metal); line-height: 1.45; }
.check.consent input { margin-top: 2px; flex: none; }
.shake { animation: shake 0.4s; color: var(--gold-2); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* FAQ & legal */
.faq { display: grid; gap: 10px; }
.faq-it { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 20px; }
.faq-it[open] { border-color: rgba(212, 175, 95, 0.45); }
.faq-it summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; color: #fff; position: relative; }
.faq-it summary::-webkit-details-marker { display: none; }
.faq-it summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--gold); }
.faq-it[open] summary::after { content: "–"; }
.faq-it .prose { padding-bottom: 16px; }
.prose h3 { margin-top: 1.4em; font-size: 1.1rem; }
.prose ul { padding-left: 1.2em; color: var(--metal); }
.prose li { margin-bottom: 6px; }
.legal p, .legal li { font-size: 0.98rem; }
mark.todo { background: rgba(212, 175, 95, 0.18); color: var(--gold-2); padding: 0 4px; border-radius: 4px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 36px; font-size: 0.85rem; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: #fff; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }
/* lite mode: no 3D, no autoplay video, no heavy effects */
.lite .hero canvas { display: none; }
.lite .hero { background: radial-gradient(900px 500px at 75% 40%, rgba(212, 175, 95, 0.16), transparent 60%), url("../assets/ads/evolux-ad-poster.jpg") 75% center / cover no-repeat; }
.lite * { backdrop-filter: none !important; }

.cur-sel select { appearance: none; background: rgba(255, 255, 255, 0.05); color: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: 700 0.76rem var(--body); cursor: pointer; width: auto; }
.cur-sel select option { color: #000; }
@media (max-width: 520px) { .cur-sel select { padding: 6px 8px; font-size: 0.7rem; } }
/* cost calculator */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: grid; gap: 20px; }
.calc-in .f > span { font-size: 0.9rem; color: #fff; font-weight: 600; display: flex; justify-content: space-between; }
.calc-in input[type=range] { padding: 0; accent-color: var(--gold); height: 28px; background: none; border: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
@media (max-width: 520px) { .seg { grid-auto-flow: row; } }
.seg button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 10px 8px; cursor: pointer; font: 600 0.88rem var(--body); text-align: center; }
.seg button small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.seg button.on { background: rgba(212, 175, 95, 0.16); border-color: var(--gold); color: var(--gold-2); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-out { position: sticky; top: calc(var(--header-h) + 20px); }
.result .big { font-family: var(--head); font-size: clamp(1.7rem, 4vw, 2.6rem); color: #fff; line-height: 1.1; margin: 6px 0; font-weight: 600; }
.result .stack { display: flex; height: 14px; border-radius: 8px; overflow: hidden; margin: 18px 0 14px; background: var(--card); }
.result .stack i { display: block; height: 100%; }
.result .ln { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.result .ln span { display: flex; align-items: center; gap: 8px; color: var(--metal); }
.result .ln span i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.result .ln b { color: #fff; white-space: nowrap; }

.calc-cta { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(124, 200, 255, 0.35); background: linear-gradient(135deg, rgba(42, 111, 219, 0.16), rgba(212, 175, 95, 0.06)); color: var(--ink); margin-bottom: 24px; }
.calc-cta:hover { border-color: var(--gold); color: var(--ink); }
.calc-cta > .ic:first-child { width: 30px; height: 30px; color: var(--gold-2); }
.calc-cta span { flex: 1; }
.calc-cta b { display: block; color: #fff; }
.calc-cta small { color: var(--muted); }
.calc-cta.big { padding: 26px 28px; }
.calc-cta.big b { font-family: var(--head); font-size: 1.4rem; }
@media (max-width: 640px) { .calc-cta.big { flex-wrap: wrap; } .calc-cta.big .btn { width: 100%; } }

@media (max-width: 1600px) { header.top .hide-s { display: none; } header.top .btn-sm:has(.hide-s) { padding: 8px 11px; } }
