/* ============================================================
   HERMANDIA · Presentación San Esteban
   Rediseño 2026 — Tradición y tecnología
   Paleta marrón + oro · Tipografía Poppins
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --brown-950: #1c0f08;
  --brown-900: #2c1810;
  --brown-800: #3a2418;
  --brown-700: #4a301f;
  --brown-600: #6b3d22;
  --brown: #8b4513;
  --sienna: #a0522d;
  --caramel: #c68642;
  --gold: #d4af37;
  --gold-bright: #f4c542;
  --gold-soft: #e8c977;
  --cream: #f8f5ef;
  --cream-dim: #e9e0d3;
  --ink: #2c1810;
  --muted: #b9a890;
  --muted-dark: #6b6b6b;

  --grad-gold: linear-gradient(120deg, #f4c542 0%, #d4af37 45%, #c68642 100%);
  --grad-brown: linear-gradient(160deg, #3a2418 0%, #2c1810 55%, #1c0f08 100%);
  --grad-panel: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));

  --shadow-soft: 0 18px 50px -22px rgba(0,0,0,.65);
  --shadow-gold: 0 16px 44px -18px rgba(212,175,55,.55);
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font: 'Poppins', system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--brown-950);
  font-family: var(--font);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-anim *, body.no-anim *::before, body.no-anim *::after {
  animation: none !important;
  transition: none !important;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(212,175,55,.35); color: #fff; }

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--grad-brown);
}
/* animated mesh of warm glows */
.bg::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(212,175,55,.22), transparent 60%),
    radial-gradient(45% 55% at 82% 30%, rgba(160,82,45,.30), transparent 62%),
    radial-gradient(50% 60% at 70% 88%, rgba(244,197,66,.14), transparent 60%),
    radial-gradient(45% 55% at 12% 82%, rgba(139,69,19,.30), transparent 60%);
  filter: blur(10px);
  animation: meshDrift 26s var(--ease) infinite alternate;
}
/* fine vignette + grain */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 50% 0%, transparent 55%, rgba(0,0,0,.55) 100%),
    radial-gradient(120% 120% at 50% 100%, transparent 60%, rgba(0,0,0,.4) 100%);
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -2%,0) scale(1.08); }
  100% { transform: translate3d(-2%, 1%,0) scale(1.04); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* decorative ornaments */
.ornament {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  opacity: .14;
  color: var(--gold);
}
.ornament--tl { top: -40px; left: -40px; width: 240px; transform: rotate(8deg); }
.ornament--br { bottom: -50px; right: -50px; width: 260px; transform: rotate(-170deg); }

/* ============================================================
   INTRO · modal de bienvenida (nombre de la Hermandad)
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(85% 85% at 50% 28%, rgba(58,36,24,.82), rgba(20,11,6,.97));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 1;
  visibility: visible;
  transition: opacity .6s var(--ease);
}
.intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.intro-card {
  width: min(560px, 100%);
  text-align: center;
  background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(212,175,55,.32);
  border-radius: 28px;
  padding: clamp(34px,5vw,54px);
  box-shadow: var(--shadow-soft), 0 0 90px -30px rgba(212,175,55,.6);
  animation: introIn .85s var(--ease-out) both;
}
@keyframes introIn {
  from { opacity: 0; transform: translateY(34px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.intro-logo {
  height: clamp(40px,6vw,56px);
  width: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,.55));
}
.intro-card .eyebrow { justify-content: center; margin-bottom: 16px; }
.intro-card h2 { font-size: clamp(26px,3.8vw,42px); margin-bottom: 12px; }
.intro-card > p {
  color: var(--cream-dim);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 40ch;
}
#introForm { display: flex; flex-direction: column; gap: 14px; }
#introInput {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(212,175,55,.35);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
#introInput::placeholder { color: var(--muted); font-weight: 400; }
#introInput:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.16);
}
#introForm .btn { justify-content: center; margin-top: 4px; }
.intro-skip {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  transition: color .3s var(--ease);
}
.intro-skip:hover { color: var(--cream); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px,2.4vw,26px) clamp(20px,4vw,56px);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: clamp(26px,3vw,34px); width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.brand .brand-sub {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border-left: 1px solid rgba(212,175,55,.4);
  padding-left: 14px;
  font-weight: 600;
}
.topnav {
  display: flex;
  gap: 2px;
  align-items: center;
  background: rgba(28,15,8,.45);
  border: 1px solid rgba(212,175,55,.18);
  backdrop-filter: blur(12px);
  padding: 6px 8px;
  border-radius: 999px;
  max-width: 70vw;
}
.topnav button {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--cream-dim);
  background: none;
  border: 0;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.topnav button:hover { color: #fff; }
.topnav button.active {
  color: var(--brown-900);
  background: var(--grad-gold);
  box-shadow: 0 6px 18px -8px rgba(212,175,55,.8);
}
@media (max-width: 1180px) { .topnav { display: none; } }

/* ============================================================
   DECK + SLIDES
   ============================================================ */
.deck {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px,9vh,120px) clamp(24px,7vw,120px);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s linear .7s;
  overflow-y: auto;
  overflow-x: hidden;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity .8s var(--ease), transform 1s var(--ease-out), visibility 0s;
  z-index: 2;
}
/* directional flavor */
.slide.leaving-up   { transform: translateY(-4%) scale(.98); }
.slide.leaving-down { transform: translateY(4%) scale(.98); }

.slide-inner {
  width: 100%;
  max-width: 1180px;
  margin: auto;
}

/* ---------- Reveal animation primitives ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
}
.is-active [data-reveal] {
  animation: revealUp .9s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px,1.3vw,13px);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--grad-gold);
}
h1, h2, h3 { font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.title {
  font-size: clamp(34px,5.4vw,72px);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 22px;
}
.title .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(15px,1.7vw,20px);
  line-height: 1.6;
  color: var(--cream-dim);
  font-weight: 400;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--brown-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(244,197,66,.7); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--cream);
  border: 1px solid rgba(212,175,55,.4);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(212,175,55,.1); }

/* ============================================================
   SLIDE 1 — COVER
   ============================================================ */
.cover { text-align: center; }
.cover .logo-xl {
  height: clamp(54px,8vw,92px);
  width: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.6));
}
.cover .title { font-size: clamp(42px,8vw,104px); margin-bottom: 14px; }
.cover .tagline {
  font-size: clamp(15px,2vw,22px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 38px;
}
.cover .cover-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  border: 1px solid rgba(212,175,55,.22);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(28,15,8,.4);
  backdrop-filter: blur(8px);
}
.cover .cover-meta b { color: var(--cream); font-weight: 700; }
.cover .cover-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.shimmer {
  position: relative;
  display: inline-block;
}
.shimmer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 100% { background-position: 180% 0; }
  50% { background-position: -80% 0; }
}

/* ============================================================
   SLIDE 2 — QUÉ ES (split layout)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px,5vw,70px);
  align-items: center;
}
.feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.pill:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.08); }
.pill .ic {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(212,175,55,.14);
  color: var(--gold-bright);
  font-size: 19px;
  line-height: 1;
}
.pill .ic svg { width: 20px; height: 20px; }

/* ============================================================
   PORTAL DEL HERMANO — device mockup
   ============================================================ */
.portal-device {
  max-width: 380px;
  width: 100%;
  margin: auto;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(58,36,24,.92), rgba(28,15,8,.94));
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: var(--shadow-soft), 0 0 70px -24px rgba(212,175,55,.55);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.pd-bar {
  display: flex; gap: 7px;
  padding: 14px 16px;
  background: rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(212,175,55,.14);
}
.pd-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(212,175,55,.45); }
.pd-bar span:nth-child(1) { background: var(--gold-bright); }
.pd-body { padding: 22px 20px 24px; }
.pd-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.pd-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-gold); color: var(--brown-900);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  flex: 0 0 auto;
}
.pd-id small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.pd-id b { font-size: 15px; }
.pd-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  color: #8fe0ad;
  background: rgba(125,220,160,.1);
  border: 1px solid rgba(125,220,160,.32);
  padding: 7px 13px; border-radius: 999px;
  margin-bottom: 18px;
}
.pd-dot { width: 7px; height: 7px; border-radius: 50%; background: #8fe0ad; box-shadow: 0 0 8px #8fe0ad; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pd-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 12px;
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  font-size: 13px; font-weight: 600;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.pd-tile:hover { border-color: rgba(212,175,55,.5); transform: translateY(-2px); }
.pd-tile span {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: rgba(212,175,55,.14); color: var(--gold-bright);
  display: grid; place-items: center; font-size: 15px;
}
.pd-cta {
  text-align: center; padding: 13px; border-radius: 12px;
  background: var(--grad-gold); color: var(--brown-900);
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   GRID CARDS (Ventajas / Módulos)
   ============================================================ */
.section-head { text-align: center; margin-bottom: clamp(28px,4vh,48px); }
.section-head .lead { margin: 0 auto; }

.cards {
  display: grid;
  gap: 16px;
}
.cards.adv { grid-template-columns: repeat(4, 1fr); }
.cards.mods { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.14);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 0% 0%, rgba(212,175,55,.16), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(212,175,55,.55);
  box-shadow: var(--shadow-soft);
}
.card:hover::before { opacity: 1; }
.card .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(212,175,55,.12);
  color: var(--gold-bright);
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1;
  transition: transform .4s var(--ease), background .4s;
}
.card:hover .ic { transform: scale(1.08) rotate(-4deg); background: rgba(212,175,55,.22); }
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.card p { font-size: 12.5px; line-height: 1.5; color: var(--muted); font-weight: 400; }

/* compact module variant */
.card.mod { padding: 18px 16px; }
.card.mod h3 { font-size: 14px; margin-bottom: 0; }
.card.mod .ic { width: 38px; height: 38px; margin-bottom: 12px; font-size: 19px; }
.card.mod .ic svg { width: 20px; height: 20px; }

/* ============================================================
   SLIDE — IA HIGHLIGHT
   ============================================================ */
.ia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px,5vw,70px);
  align-items: center;
}
.ia-orb {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: auto;
  width: 100%;
}
.ia-orb .core {
  position: absolute; inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4c542, #c68642 55%, #8b4513 100%);
  box-shadow: 0 0 90px rgba(212,175,55,.6), inset 0 0 50px rgba(255,255,255,.25);
  display: grid; place-items: center;
  animation: floaty 6s ease-in-out infinite;
}
.ia-orb .core svg { width: 42%; height: 42%; color: rgba(44,24,16,.85); }
.ia-orb .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.3);
  animation: spin 18s linear infinite;
}
.ia-orb .ring::before {
  content: ""; position: absolute; top: 50%; left: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold-bright);
}
.ia-orb .ring.r2 { inset: 9%; animation-duration: 12s; animation-direction: reverse; }
.ia-orb .ring.r3 { inset: -7%; animation-duration: 26s; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }

.ia-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.ia-list li {
  list-style: none;
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 14.5px; color: var(--cream-dim); line-height: 1.5;
}
.ia-list .chk {
  flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: var(--brown-900);
  margin-top: 1px;
  font-size: 13px; font-weight: 800; line-height: 1;
}
.ia-list .chk svg { width: 14px; height: 14px; }

/* ============================================================
   SLIDE — PROCESO (timeline)
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 38px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.5), transparent);
}
.step { text-align: center; position: relative; }
.step .num {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 800;
  color: var(--brown-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  position: relative; z-index: 2;
  transition: transform .4s var(--ease);
}
.step:hover .num { transform: translateY(-6px) scale(1.05); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 26ch; margin: 0 auto; }

/* ============================================================
   SLIDE — STATS / SAN ESTEBAN
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 14px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  transition: transform .4s var(--ease), border-color .4s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.5); }
.stat .big {
  font-size: clamp(40px,5vw,60px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { margin-top: 10px; font-size: 13px; color: var(--cream-dim); font-weight: 600; letter-spacing: .04em; }

/* ============================================================
   SLIDE — CONTACTO / GRACIAS
   ============================================================ */
.thanks { text-align: center; }
.thanks .title { font-size: clamp(46px,8vw,108px); }
.contact-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-radius: 999px;
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.2);
  transition: transform .35s var(--ease), border-color .35s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.contact-card .ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14); color: var(--gold-bright);
  font-size: 19px; line-height: 1;
}
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card .t { text-align: left; }
.contact-card .t small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card .t b { font-size: 17px; font-weight: 700; }

/* ============================================================
   PAGE SELECTORS (dot nav)
   ============================================================ */
.dots {
  position: fixed;
  right: clamp(16px,2.4vw,34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.dots button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.dots .lbl {
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s;
  white-space: nowrap;
}
.dots button:hover .lbl { opacity: 1; transform: translateX(0); color: var(--cream); }
.dots .pip {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,.45);
  background: transparent;
  transition: all .35s var(--ease);
  flex: 0 0 auto;
}
.dots button.active .pip {
  background: var(--grad-gold);
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(244,197,66,.7);
  transform: scale(1.25);
}
.dots button.active .lbl { opacity: 1; transform: translateX(0); color: var(--gold-soft); }
@media (max-width: 640px) { .dots .lbl { display: none; } }

/* ---------- Arrows ---------- */
.arrows {
  position: fixed;
  bottom: clamp(18px,3vh,34px);
  right: clamp(20px,4vw,56px);
  z-index: 40;
  display: flex;
  gap: 12px;
}
.arrows button {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.3);
  background: rgba(28,15,8,.55);
  backdrop-filter: blur(10px);
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.arrows button:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(212,175,55,.16); }
.arrows button:disabled { opacity: .25; cursor: not-allowed; transform: none; }
.arrows svg { width: 22px; height: 22px; }

/* ---------- Progress + counter ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 50;
  background: var(--grad-gold);
  box-shadow: 0 0 14px rgba(244,197,66,.6);
  transition: width .7s var(--ease);
}
.counter {
  position: fixed;
  bottom: clamp(18px,3vh,34px);
  left: clamp(20px,4vw,56px);
  z-index: 40;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
}
.counter b { color: var(--gold-bright); font-size: 18px; }

/* scroll hint on cover */
.scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(212,175,55,.5);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--gold);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity:0; transform: translate(-50%,0);} 40%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards.adv, .cards.mods { grid-template-columns: repeat(3, 1fr); }
  .timeline, .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 760px) {
  .split, .ia { grid-template-columns: 1fr; }
  .ia-orb { max-width: 260px; order: -1; }
  .feature-pills { grid-template-columns: 1fr; }
  .cards.adv, .cards.mods { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 96px 22px 90px; align-items: flex-start; }
  .arrows { bottom: 14px; }
}
@media (max-width: 460px) {
  .cards.adv, .cards.mods, .stats { grid-template-columns: 1fr 1fr; }
  .card p { display: none; }
  .card.mod h3, .card h3 { font-size: 12.5px; }
}
