/* ============================================================
   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; }
}

/* ============================================================
   AMPLIACIÓN 2026 · Deck comercial completo
   Hero stats · Pain cards · Tabs de módulos · Chat IA ·
   Panel Hmail · Panel Monitor · Tabla comparativa
   ============================================================ */

/* ---------- Hero stats (portada) ---------- */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  margin-top: clamp(26px, 4vh, 44px);
  flex-wrap: wrap;
}
.hero-stats .hs {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.22);
  min-width: 128px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.hero-stats .hs:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.55); }
.hero-stats .hs b {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .hs span { font-size: 11.5px; color: var(--cream-dim); font-weight: 600; letter-spacing: .03em; }

/* ---------- Pain cards (el reto) ---------- */
.card.pain { border-color: rgba(255,255,255,.08); }
.card.pain .ic { background: rgba(160,82,45,.18); color: var(--caramel); }
.card.pain:hover { border-color: rgba(198,134,66,.5); }
.center-note { text-align: center; margin: clamp(18px,3vh,30px) auto 0; max-width: 60ch; }

/* ---------- Category tabs (módulos) ---------- */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-dim);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.cat-tab .ct-ic { color: var(--gold-soft); font-size: 14px; }
.cat-tab b {
  font-size: 11px;
  background: rgba(212,175,55,.16);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}
.cat-tab:hover { color: #fff; border-color: rgba(212,175,55,.5); transform: translateY(-2px); }
.cat-tab.active {
  color: var(--brown-900);
  background: var(--grad-gold);
  border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(212,175,55,.75);
}
.cat-tab.active .ct-ic { color: var(--brown-800); }
.cat-tab.active b { background: rgba(44,24,16,.18); color: var(--brown-900); }

.cat-panels { position: relative; min-height: 240px; }
.cat-panel { display: none; }
.cat-panel.active { display: block; animation: panelIn .55s var(--ease-out) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.cat-desc {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: clamp(14px,2vh,22px);
}
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
.mod-item {
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.18);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.mod-item:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.5); }
.mod-item b { display: block; font-size: 14.5px; margin-bottom: 5px; color: var(--gold-soft); }
.mod-item span { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.mod-item.wide { grid-column: 1 / -1; text-align: center; padding: 26px 30px; }
.mod-item.wide b { font-size: 17px; }
.mod-item.wide span { font-size: 13.5px; max-width: 70ch; display: inline-block; }
@media (max-width: 900px) { .mod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .mod-grid { grid-template-columns: 1fr; } }

/* ---------- Chat El Capillita ---------- */
.chat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-soft);
  border: 1px solid rgba(212,175,55,.32);
  background: rgba(212,175,55,.08);
  border-radius: 999px;
  padding: 7px 14px;
}
.chat-box {
  width: min(430px, 100%);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(28,15,8,.92), rgba(20,11,6,.96));
  border: 1px solid rgba(212,175,55,.3);
  box-shadow: var(--shadow-soft), 0 0 70px -30px rgba(212,175,55,.5);
  overflow: hidden;
  justify-self: center;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(212,175,55,.16), rgba(212,175,55,.04));
  border-bottom: 1px solid rgba(212,175,55,.22);
}
.chat-star { color: var(--gold-bright); }
.chat-live { margin-left: auto; font-size: 10.5px; font-weight: 600; color: #8fe0ad; letter-spacing: .05em; }
.chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
  max-height: 46vh;
  overflow-y: auto;
}
.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.8px;
  line-height: 1.5;
  animation: msgIn .45s var(--ease-out) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.msg.user {
  align-self: flex-end;
  background: var(--grad-gold);
  color: var(--brown-900);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.18);
  color: var(--cream-dim);
  border-bottom-left-radius: 4px;
}
.msg.bot b { color: var(--gold-soft); }
.msg.typing { display: inline-flex; gap: 5px; padding: 13px 16px; }
.msg.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-soft);
  animation: blink 1.1s infinite;
}
.msg.typing i:nth-child(2) { animation-delay: .18s; }
.msg.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- Panel Hmail / Monitor ---------- */
.hmail-panel, .mon-panel {
  width: min(460px, 100%);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(28,15,8,.92), rgba(20,11,6,.96));
  border: 1px solid rgba(212,175,55,.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  justify-self: center;
}
.hp-head {
  padding: 13px 18px;
  font-size: 12.5px;
  color: var(--cream-dim);
  border-bottom: 1px solid rgba(212,175,55,.2);
  background: linear-gradient(120deg, rgba(212,175,55,.13), transparent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hp-head b { color: var(--cream); }
.hp-live { margin-left: auto; font-size: 10.5px; color: #8fe0ad; font-weight: 600; }
.hp-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(212,175,55,.12); }
.hp-stat { background: rgba(20,11,6,.9); padding: 14px 8px; text-align: center; }
.hp-stat b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-stat span { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.hp-feed { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hp-ev {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.8px;
  color: var(--cream-dim);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 9px 12px;
}
.hp-ev .ev-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 3px 9px;
}
.ev-tag.ok    { background: rgba(143,224,173,.14); color: #8fe0ad; }
.ev-tag.open  { background: rgba(244,197,66,.16); color: var(--gold-bright); }
.ev-tag.click { background: rgba(137,180,250,.15); color: #9cc3f7; }
.ev-tag.bad   { background: rgba(240,120,120,.15); color: #f2a0a0; }

.mon-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mon-row:last-child { border-bottom: 0; }
.mon-row > div { flex: 1; min-width: 0; }
.mon-row b { display: block; font-size: 13px; }
.mon-row span:not(.mon-dot) { font-size: 11.5px; color: var(--muted); }
.mon-row em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.mon-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
  background: #8fe0ad;
  box-shadow: 0 0 10px #8fe0ad;
  animation: pulse 2.2s infinite;
}
.mon-dot.warn { background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright); }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .6; } }

/* ---------- Tabla comparativa ---------- */
.compare {
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.25);
  overflow: hidden;
  background: var(--grad-panel);
  box-shadow: var(--shadow-soft);
}
.compare table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 11px 18px; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
.compare thead th.hd-h {
  color: var(--brown-900);
  background: var(--grad-gold);
  font-weight: 800;
}
.compare tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); transition: background .3s var(--ease); }
.compare tbody tr:hover { background: rgba(212,175,55,.06); }
.compare tbody tr:last-child { border-bottom: 0; }
.compare td.yes { color: var(--gold-bright); font-weight: 800; font-size: 15px; }
.compare td.no  { color: rgba(240,120,120,.7); font-weight: 700; }
.compare td:nth-child(2) { background: rgba(212,175,55,.07); }
@media (max-width: 760px) {
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
}

/* ---------- misc ---------- */
.feature-pills.tight { margin-top: 22px; }
@media (max-height: 760px) {
  .chat-body { min-height: 220px; }
  .cat-panels { min-height: 180px; }
}

/* ============================================================
   AMPLIACIÓN SEPTIEMBRE 2026
   Componentes nuevos del deck comercial + herramientas de ponente
   ============================================================ */

/* ---------- utilidades compartidas ---------- */
.quote {
  margin-top: 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212,175,55,.07);
  border-radius: 0 12px 12px 0;
  font-size: clamp(.95rem,1.15vw,1.06rem);
  color: var(--cream-dim);
  font-style: italic;
}
.quote b { color: var(--gold-soft); font-style: normal; }

.fineprint {
  margin-top: 16px;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}
.fineprint b { color: var(--gold-soft); }
.fineprint.center { text-align: center; max-width: 760px; margin: 26px auto 0; }

.mini-btn {
  margin-left: 10px;
  padding: 5px 13px;
  font: 600 .78rem var(--font);
  color: var(--gold-soft);
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.32);
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}
.mini-btn:hover { background: var(--gold); color: var(--brown-950); transform: translateY(-1px); }

.ia-list.tight li { margin-bottom: 9px; }
.split.wide-right { grid-template-columns: .92fr 1.08fr; }

/* ---------- KPI en línea ---------- */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0 18px;
}
.kpi-row.big { grid-template-columns: repeat(3, 1fr); }
.kpi {
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  text-align: center;
}
.kpi b {
  display: block;
  font-size: clamp(1.25rem,2.1vw,1.75rem);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.kpi span {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   2 · TARJETAS QUE GIRAN (problema → solución)
   ============================================================ */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flip {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  perspective: 1200px;
  min-height: 196px;
  text-align: left;
}
.flip-in {
  position: relative;
  display: block;
  height: 100%;
  min-height: 196px;
  transition: transform .72s var(--ease-out);
  transform-style: preserve-3d;
}
.flip.on .flip-in { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: var(--radius-sm);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.flip-face b { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.flip-face small { font-size: .87rem; line-height: 1.55; color: var(--muted); }
.flip-face .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-size: 1.12rem;
}
.flip-face.front {
  background: var(--grad-panel);
  border: 1px solid rgba(160,82,45,.3);
}
.flip-face.front .ic { background: rgba(160,82,45,.22); color: #e2a06b; }
.flip:hover .flip-face.front { border-color: rgba(212,175,55,.4); box-shadow: var(--shadow-soft); }
.flip-face.back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, rgba(212,175,55,.16), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.44);
}
.flip-face.back .ic { background: var(--grad-gold); color: var(--brown-950); font-weight: 800; }
.flip-face.back b { color: var(--gold-soft); }
.flip-face.back small { color: var(--cream-dim); }

/* ---------- cinta de ventajas ---------- */
.ticker {
  margin-top: clamp(22px,3.4vh,38px);
  overflow: hidden;
  border-top: 1px solid rgba(212,175,55,.16);
  border-bottom: 1px solid rgba(212,175,55,.16);
  padding: 11px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  width: max-content;
  animation: tickerRun 44s linear infinite;
}
.ticker-track span { font-size: .84rem; color: var(--cream-dim); letter-spacing: .02em; }
.ticker-track i { color: var(--gold); font-style: normal; }
@keyframes tickerRun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   5 · EL DÍA GRANDE · recorrido de la papeleta
   ============================================================ */
.journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(22px,3.2vh,34px);
}
.journey::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 19px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,175,55,.15), rgba(212,175,55,.42), rgba(212,175,55,.15));
}
.jstep {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.jnum {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: .96rem;
  color: var(--muted);
  background: var(--brown-900);
  border: 2px solid rgba(212,175,55,.28);
  transition: all .45s var(--ease-out);
}
.jlbl {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s;
}
.jstep:hover .jnum { border-color: var(--gold); color: var(--gold-soft); }
.jstep.active .jnum {
  background: var(--grad-gold);
  border-color: var(--gold-bright);
  color: var(--brown-950);
  box-shadow: var(--shadow-gold);
  transform: scale(1.14);
}
.jstep.active .jlbl { color: var(--gold-soft); font-weight: 600; }
.jstep.done .jnum { border-color: rgba(212,175,55,.6); color: var(--gold-soft); }

.journey-stage { position: relative; min-height: 268px; }
.jpanel {
  display: none;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px,4vw,56px);
  align-items: center;
}
.jpanel.active { display: grid; animation: jIn .6s var(--ease-out) both; }
@keyframes jIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.jtag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.26);
}
.jtext h3 {
  font-size: clamp(1.3rem,2.3vw,1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.jtext p { font-size: clamp(.94rem,1.2vw,1.05rem); line-height: 1.7; color: var(--cream-dim); }
.jtext p b { color: var(--gold-soft); }

.jcard {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(212,175,55,.24);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.jcard > b {
  display: block;
  margin-bottom: 12px;
  font-size: .96rem;
  color: var(--gold-soft);
}
.jrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: .84rem;
  color: var(--muted);
  border-top: 1px solid rgba(212,175,55,.1);
}
.jrow em { font-style: normal; color: var(--cream); text-align: right; }
.jrow em.ok { color: #7fd18f; }
.jrow em.warn { color: var(--gold-bright); }
.jbtn {
  margin-top: 14px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brown-950);
  background: var(--grad-gold);
}
.jcard.ticket { text-align: center; }
.jcard.ticket .tk-top,
.jcard.ticket .tk-foot {
  display: block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.jcard.ticket .tk-foot { margin-top: 12px; }
.jcard.ticket > b { font-size: 1.15rem; margin: 8px 0 12px; }
.qr {
  width: 82px; height: 82px;
  margin: 14px auto 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--cream) 22%, transparent 0 30%, var(--cream) 0 40%, transparent 0 52%, var(--cream) 0 66%, transparent 0 74%, var(--cream) 0),
    linear-gradient(0deg, var(--cream) 18%, transparent 0 28%, var(--cream) 0 44%, transparent 0 56%, var(--cream) 0 70%, transparent 0 80%, var(--cream) 0);
  background-blend-mode: multiply;
  box-shadow: 0 0 0 6px var(--cream);
}
.jcard.scan .scan-beam {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(212,175,55,.28), transparent);
  animation: scanRun 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes scanRun { 0%,100% { transform: translateY(-40%); } 50% { transform: translateY(230%); } }
@media (prefers-reduced-motion: reduce) { .jcard.scan .scan-beam { animation: none; } }

/* ============================================================
   7 · CAPILLITA · comparativa de versiones
   ============================================================ */
.vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px,2.4vw,28px);
  align-items: stretch;
}
.vs-card {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.vs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.vs-card.plus {
  background: linear-gradient(155deg, rgba(28,15,8,.9), rgba(58,36,24,.55));
  border-color: rgba(212,175,55,.5);
  box-shadow: var(--shadow-gold);
}
.vs-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.vs-av {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  font-size: 1.2rem;
  flex: none;
}
.vs-card.std .vs-av { background: rgba(160,82,45,.3); color: #e2a06b; }
.vs-card.plus .vs-av { background: var(--grad-gold); color: var(--brown-950); box-shadow: var(--shadow-gold); }
.vs-head b { display: block; font-size: 1.08rem; }
.vs-card.plus .vs-head b { color: var(--gold-soft); }
.vs-head small { font-size: .76rem; color: var(--muted); }
.vs-claim {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--cream-dim);
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,.14);
}
.vs-claim b { color: var(--gold-soft); }
.vs-list { list-style: none; display: grid; gap: 8px; }
.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  line-height: 1.45;
}
.vs-list li::before {
  content: "✓";
  width: 19px; height: 19px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 800;
}
.vs-list li.y { color: var(--cream); }
.vs-list li.y::before { background: rgba(127,209,143,.18); color: #7fd18f; }
.vs-card.plus .vs-list li.y::before { background: var(--grad-gold); color: var(--brown-950); }
.vs-list li.n { color: #7e6a55; }
.vs-list li.n::before { content: "✗"; background: rgba(255,255,255,.05); color: #7e6a55; }
.vs-mid {
  display: grid;
  place-items: center;
}
.vs-mid span {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: var(--brown-900);
  border: 1px solid rgba(212,175,55,.3);
}

/* ============================================================
   8 · CHAT INTERACTIVO
   ============================================================ */
.ask-groups { display: grid; gap: 12px; margin-top: 20px; }
.ask-group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.ask-lbl {
  width: 104px;
  flex: none;
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}
.ask {
  padding: 6px 13px;
  font: 500 .8rem var(--font);
  color: var(--cream-dim);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.ask:hover { background: rgba(212,175,55,.16); border-color: var(--gold); color: var(--cream); transform: translateY(-1px); }
.ask.used { border-style: dashed; opacity: .6; }
.ask.live { background: var(--grad-gold); color: var(--brown-950); border-color: var(--gold-bright); font-weight: 700; }
.chat-foot {
  padding: 9px 16px;
  border-top: 1px solid rgba(212,175,55,.14);
  font-size: .74rem;
  color: var(--muted);
  text-align: center;
}
.msg.bot .mask {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(212,175,55,.16);
  color: var(--gold-soft);
  letter-spacing: .1em;
}
.msg.bot .src {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(212,175,55,.16);
  font-size: .74rem;
  color: var(--muted);
}

/* ---------- barra de fiabilidad de Hmail ---------- */
.hp-rel { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(212,175,55,.14); }
.hp-rel-top { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 7px; }
.hp-rel-top b { color: var(--gold-soft); }
.hp-bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad-gold); }
.is-active .hp-bar i { animation: barGrow 1.4s var(--ease-out) .5s forwards; }
@keyframes barGrow { to { width: var(--w); } }

/* ============================================================
   11 · TRÍO DE CONFIANZA
   ============================================================ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,2vw,22px); }
.tcol {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  transition: transform .45s var(--ease), border-color .45s;
}
.tcol:hover { transform: translateY(-5px); border-color: rgba(212,175,55,.4); }
.tcol header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tic {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 1.18rem;
  color: var(--brown-950);
  background: var(--grad-gold);
}
.tcol h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.tcol ul { list-style: none; display: grid; gap: 10px; }
.tcol li {
  position: relative;
  padding-left: 17px;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--cream-dim);
}
.tcol li::before { content: "›"; position: absolute; left: 0; top: -1px; color: var(--gold); font-weight: 800; }
.tcol li b { color: var(--gold-soft); }

/* ---------- pestañas de servicios y rejilla a 3 ---------- */
.cat-tabs.two { max-width: 620px; margin-left: auto; margin-right: auto; }
.mod-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   15 · PRESUPUESTO
   ============================================================ */
.ministeps { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.ministeps li { display: flex; align-items: flex-start; gap: 14px; }
.ministeps > li > b {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .84rem;
  font-weight: 800;
  color: var(--brown-950);
  background: var(--grad-gold);
}
.ministeps div b { display: block; font-size: .95rem; margin-bottom: 2px; }
.ministeps div span { font-size: .85rem; line-height: 1.55; color: var(--muted); }

.price-box {
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: var(--shadow-soft);
}
.pb-head {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,175,55,.16);
  margin-bottom: 16px;
}
.pb-sec + .pb-sec { margin-top: 18px; }
.pb-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.pb-tag.in { background: rgba(127,209,143,.16); color: #7fd18f; }
.pb-tag.add { background: rgba(212,175,55,.16); color: var(--gold-soft); }
.pb-sec ul { list-style: none; display: grid; gap: 7px; }
.pb-sec li {
  position: relative;
  padding-left: 16px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--cream-dim);
}
.pb-sec li::before { content: "·"; position: absolute; left: 4px; color: var(--gold); font-weight: 800; }
.pb-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(212,175,55,.16);
  font-size: .82rem;
  color: var(--gold-soft);
  text-align: center;
}

/* ============================================================
   16 · PRUEBA SOCIAL
   ============================================================ */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard {
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  transition: transform .45s var(--ease), border-color .45s;
}
.pcard:hover { transform: translateY(-5px); border-color: rgba(212,175,55,.42); }
.pyear {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-950);
  background: var(--grad-gold);
}
.pcard h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 9px; }
.pcard p { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.pcard p b { color: var(--gold-soft); }
.pcard i { color: var(--cream-dim); }

/* ============================================================
   HERRAMIENTAS DE PONENTE
   ============================================================ */
.intro-tip { margin-top: 18px; font-size: .76rem; color: var(--muted); }
.intro-tip b { color: var(--gold-soft); padding: 1px 6px; border: 1px solid rgba(212,175,55,.3); border-radius: 5px; }

.counter-help {
  margin-left: 8px;
  width: 20px; height: 20px;
  font: 700 .74rem var(--font);
  color: var(--muted);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.24);
  border-radius: 50%;
  cursor: pointer;
  transition: color .3s, background .3s;
}
.counter-help:hover { color: var(--gold-soft); background: rgba(212,175,55,.18); }

/* ---------- índice visual ---------- */
.overview {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: clamp(24px,5vh,56px) clamp(20px,5vw,70px);
  overflow-y: auto;
  background: radial-gradient(85% 85% at 50% 20%, rgba(58,36,24,.95), rgba(16,9,5,.985));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: ovIn .35s var(--ease-out);
}
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }
.ov-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.ov-close, .notes-head button {
  width: 34px; height: 34px;
  font-size: .95rem;
  color: var(--cream-dim);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.24);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.ov-close:hover, .notes-head button:hover { background: var(--gold); color: var(--brown-950); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px,1fr)); gap: 13px; }
.ov-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 15px 14px;
  text-align: left;
  border-radius: 13px;
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.16);
  cursor: pointer;
  transition: all .35s var(--ease);
  font: inherit;
  color: inherit;
}
.ov-item:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(212,175,55,.12); }
.ov-item.active { border-color: var(--gold-bright); box-shadow: var(--shadow-gold); }
.ov-item .n { font-size: .7rem; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.ov-item .t { font-size: .93rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- notas del ponente ---------- */
.notes {
  position: fixed;
  left: clamp(16px,4vw,44px);
  right: clamp(16px,4vw,44px);
  bottom: 84px;
  z-index: 90;
  padding: 15px 18px;
  border-radius: 15px;
  background: rgba(16,9,5,.93);
  border: 1px solid rgba(212,175,55,.3);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: revealUp .45s var(--ease-out) both;
}
.notes-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.notes-head b { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.notes-clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: .84rem;
  font-weight: 700;
  color: var(--gold-soft);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(212,175,55,.12);
}
.notes p { font-size: .9rem; line-height: 1.6; color: var(--cream-dim); }

/* ---------- ayuda de teclas ---------- */
.keyhelp {
  position: fixed;
  left: clamp(20px,4vw,56px);
  bottom: 76px;
  z-index: 95;
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(16,9,5,.95);
  border: 1px solid rgba(212,175,55,.3);
  box-shadow: var(--shadow-soft);
  animation: revealUp .4s var(--ease-out) both;
}
.keyhelp b { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.keyhelp span { font-size: .8rem; color: var(--cream-dim); display: flex; align-items: center; gap: 6px; }
kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  text-align: center;
  font: 600 .72rem var(--font);
  color: var(--gold-soft);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 6px;
}

/* ============================================================
   RESPONSIVE de los componentes nuevos
   ============================================================ */
@media (max-width: 1080px) {
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .trio, .proof { grid-template-columns: 1fr 1fr; }
  .mod-grid.three { grid-template-columns: 1fr 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-mid { display: none; }
  .jpanel { grid-template-columns: 1fr; }
  .jvis { display: none; }
  .split.wide-right { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .flip-grid { grid-template-columns: 1fr; }
  .trio, .proof { grid-template-columns: 1fr; }
  .mod-grid.three { grid-template-columns: 1fr; }
  .kpi-row, .kpi-row.big { grid-template-columns: 1fr 1fr; }
  .ask-lbl { width: 100%; }
  .journey { max-width: 100%; }
  .jlbl { font-size: .66rem; }
  .notes { bottom: 74px; }
  .keyhelp { display: none; }
}
@media (max-height: 780px) {
  .flip, .flip-in { min-height: 178px; }
  .journey-stage { min-height: 232px; }
}

/* los paneles de ponente declaran display propio: [hidden] debe seguir mandando */
[hidden] { display: none !important; }

/* ============================================================
   REVISIÓN CONTRA LA WEB VIVA · septiembre 2026
   ============================================================ */
.first-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.4);
}
.cover-claim {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: clamp(.94rem,1.25vw,1.08rem);
  line-height: 1.7;
  color: var(--cream-dim);
}
.cover-claim b { color: var(--gold-soft); }

.pill.hi { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.1); }
.pill.hi .ic { background: var(--grad-gold); color: var(--brown-950); }

/* módulos estrenados esta temporada */
.mod-item.nuevo { border-color: rgba(212,175,55,.45); }
.mod-item.nuevo b::after {
  content: "nuevo";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--brown-950);
  background: var(--grad-gold);
}

/* recorrido de 6 pasos */
.journey.six { grid-template-columns: repeat(6, 1fr); max-width: 880px; }
.jpay { display: flex; gap: 8px; margin-top: 12px; }
.jpay span {
  flex: 1;
  padding: 7px;
  text-align: center;
  border-radius: 9px;
  font-size: .76rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.16);
}
.jpay span.on { color: var(--gold-soft); border-color: var(--gold); background: rgba(212,175,55,.14); font-weight: 700; }

/* provincias con presencia */
.prov { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.prov span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-soft);
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.32);
}

/* oferta de estreno */
.offer {
  padding: 24px 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(212,175,55,.16), rgba(28,15,8,.72));
  border: 1px solid rgba(212,175,55,.5);
  box-shadow: var(--shadow-gold);
}
.off-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown-950);
  background: var(--grad-gold);
}
.offer h3 { font-size: clamp(1.1rem,1.8vw,1.4rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.offer > p { font-size: .9rem; line-height: 1.6; color: var(--cream-dim); }
.offer > p b { color: var(--gold-soft); }
.off-big { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.off-big b {
  font-size: clamp(2.4rem,5vw,3.6rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.off-big span { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.off-big span b { font-size: .86rem; color: var(--gold-soft); background: none; -webkit-text-fill-color: var(--gold-soft); }
.off-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.off-split div {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(212,175,55,.2);
}
.off-split small { display: block; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.off-split b { font-size: .9rem; color: var(--cream); }
.off-note { margin-top: 14px; font-size: .76rem; line-height: 1.55; color: var(--muted); }

/* ---------- humo de cirios: pozo de luz cálida al pie ---------- */
.candlelight {
  position: fixed;
  inset: auto 0 0 0;
  height: 46vh;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 22% 118%, rgba(244,197,66,.16), transparent 68%),
    radial-gradient(52% 100% at 78% 122%, rgba(198,134,66,.14), transparent 66%);
  animation: candleFlicker 7s var(--ease) infinite alternate;
}
@keyframes candleFlicker {
  0%   { opacity: .72; transform: translateY(0) scaleY(1); }
  40%  { opacity: 1;   transform: translateY(-1.5%) scaleY(1.06); }
  100% { opacity: .82; transform: translateY(.5%) scaleY(.97); }
}
@media (prefers-reduced-motion: reduce) { .candlelight { animation: none; } }

@media (max-width: 1080px) {
  .off-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .journey.six { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .journey.six::before { display: none; }
}

/* ---------- las dos sedes en el cierre ---------- */
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 620px;
  margin: clamp(22px,3.2vh,34px) auto 0;
}
.office {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(212,175,55,.18);
  text-align: left;
  transition: transform .4s var(--ease), border-color .4s;
}
.office:hover { transform: translateY(-3px); border-color: rgba(212,175,55,.45); }
.of-city {
  display: block;
  margin-bottom: 5px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.office b { display: block; font-size: .92rem; margin-bottom: 5px; }
.of-addr { display: block; font-size: .8rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 620px) { .offices { grid-template-columns: 1fr; } }

/* ============================================================
   REVISIÓN OCT-2026 · pilares, cargos, interruptor de versión,
   tira del Monitor, tabla con grupos
   ============================================================ */

/* ---------- Qué es · pilares ---------- */
.pillars { display: grid; gap: 14px; }
.pillar {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--grad-panel);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.pillar:hover { transform: translateX(6px); border-color: rgba(212,175,55,.5); }
.pillar .p-ic {
  flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; font-size: 20px; line-height: 1;
  background: rgba(212,175,55,.14); color: var(--gold-bright);
}
.pillar b { display: block; font-size: 15px; margin-bottom: 4px; }
.pillar .p-tx { font-size: 13px; line-height: 1.5; color: var(--muted); }
.pillar .p-tx b { display: inline; font-size: inherit; color: var(--gold-soft); }
.pillar.hi { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.09); }
.pillar.hi .p-ic { background: var(--grad-gold); color: var(--brown-950); box-shadow: var(--shadow-gold); }

/* ---------- Estrenos (módulos) ---------- */
.novedades {
  margin: clamp(14px,2.2vh,24px) auto 0; max-width: 1080px; text-align: center;
  font-size: 12.5px; color: var(--muted); letter-spacing: .02em;
}
.novedades b {
  display: inline-block; margin-right: 10px; padding: 3px 11px; border-radius: 999px;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown-950); background: var(--grad-gold);
}

/* ---------- Cada cargo ---------- */
.cargo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px,1.6vw,18px); max-width: 1080px; margin: 0 auto;
}
.cargo {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px 20px 78px; border-radius: var(--radius-sm);
  background: var(--grad-panel); border: 1px solid rgba(212,175,55,.2);
  transition: transform .35s var(--ease), border-color .35s;
}
.cargo:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.55); }
.cargo .cg-ic {
  position: absolute; left: 20px; top: 20px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; font-size: 20px;
  background: var(--grad-gold); color: var(--brown-950); box-shadow: var(--shadow-gold);
}
.cargo b { font-size: 15.5px; }
.cargo em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--gold-soft); }
.cargo > span:last-child { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
@media (max-width: 1000px) { .cargo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px)  { .cargo-grid { grid-template-columns: 1fr; } }

/* ---------- El Capillita · interruptor de versión ---------- */
.mode-switch {
  display: inline-flex; gap: 6px; padding: 5px; margin-top: 18px;
  border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid rgba(212,175,55,.22);
}
.mode {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 9px 18px; border-radius: 12px; border: 0; cursor: pointer;
  background: transparent; color: var(--cream-dim); font-family: inherit; text-align: left;
  transition: background .3s var(--ease), color .3s;
}
.mode b { font-size: 13.5px; font-weight: 700; }
.mode small { font-size: 10.5px; opacity: .7; }
.mode:hover { background: rgba(212,175,55,.1); }
.mode.on { background: var(--grad-gold); color: var(--brown-950); box-shadow: var(--shadow-gold); }
.mode.on small { opacity: .8; }
.mode-desc { margin-top: 12px; max-width: 52ch; font-size: 13px; line-height: 1.55; color: var(--muted); min-height: 3.1em; }
.mode-desc b { color: var(--gold-soft); }
.ask.locked { opacity: .55; border-style: dashed; }
.ask.locked::after { content: " 🔒"; font-size: .85em; }
.chat-box.std .chat-star { color: #e2a06b; }
.chat-box.std { box-shadow: var(--shadow-soft); border-color: rgba(160,82,45,.5); }

/* ---------- Infraestructura · tira del Monitor ---------- */
.mon-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px;
  margin: clamp(16px,2.4vh,26px) auto 0; padding: 12px 22px; max-width: 980px;
  border-radius: 999px; background: rgba(0,0,0,.26); border: 1px solid rgba(212,175,55,.2);
  font-size: 12px; color: var(--cream-dim);
}
.mon-strip .ms-lbl { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; color: var(--gold-soft); }
.mon-strip .ms-i { display: inline-flex; align-items: center; gap: 8px; }
.mon-strip .mon-dot { display: inline-block; flex: 0 0 auto; }
@media (max-width: 720px) { .mon-strip { border-radius: var(--radius-sm); justify-content: flex-start; } }

/* ---------- Servicios ---------- */
.svc .mod-item { padding: 20px 22px; }
.svc .mod-item b { font-size: 15px; margin-bottom: 6px; }
.svc .mod-item span:not(.svc-ic) { font-size: 12.8px; }
.svc-ic {
  display: grid !important; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
  border-radius: 11px; font-size: 18px !important; background: rgba(212,175,55,.14); color: var(--gold-bright) !important;
}

/* ---------- Tabla comparativa con grupos ---------- */
.compare td.mid { color: var(--muted); font-weight: 700; }
.compare tr.grp td {
  padding: 8px 18px; text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-soft); background: rgba(212,175,55,.08);
}
.compare tr.grp:hover { background: none; }
.compare tr.grp td:nth-child(2) { background: rgba(212,175,55,.08); }
.compare th, .compare td { padding-top: 9px; padding-bottom: 9px; }

/* ---------- Densidad: que cada pantalla quepa sin desplazarse ---------- */
.slide { padding-top: clamp(78px,10vh,104px); padding-bottom: clamp(56px,7vh,84px); }
.slide:not(.cover):not(.thanks) .title { font-size: clamp(30px,4.3vw,56px); margin-bottom: 16px; }
.slide:not(.cover):not(.thanks) .eyebrow { margin-bottom: 14px; }
.slide:not(.cover):not(.thanks) .lead { font-size: clamp(14px,1.45vw,18px); line-height: 1.55; }
.section-head { margin-bottom: clamp(12px,2vh,22px); }
.cat-tab { font-size: 12.5px; padding: 8px 13px; gap: 6px; }
.cat-tabs { gap: 8px; margin-bottom: clamp(12px,2vh,20px); }
.cat-desc { margin-bottom: 12px; }
.mod-grid { gap: 11px; }
.mod-item { padding: 13px 16px; }
.mod-item b { font-size: 14px; margin-bottom: 3px; }
.mod-item span { font-size: 12px; line-height: 1.45; }
.cat-panels { min-height: 0; }
@media (min-width: 1100px) { .cat-tabs:not(.two) { flex-wrap: nowrap; } .cat-tab { white-space: nowrap; } }
@media (min-width: 1100px) {
  .mod-grid:not(.three):has(> :nth-child(7)),
  .mod-grid:not(.three):has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); max-width: 1180px; }
}
.ask-groups { gap: 9px; margin-top: 14px; }
.mode-desc { min-height: 0; margin-top: 10px; }
.mode-switch { margin-top: 14px; }
.fineprint { font-size: 11.5px; }
@media (max-height: 860px) { .chat-body { min-height: 230px; max-height: 40vh; } }

/* ---------- Portada y cierre: caben en pantallas de 800 px ---------- */
.cover .title { font-size: clamp(38px, min(7vw, 11vh), 96px); margin-bottom: 8px; }
.cover .logo-xl { height: clamp(40px, 7vh, 72px); width: auto; margin-bottom: 10px; }
.cover .tagline { margin-bottom: 14px; }
.cover-claim { font-size: clamp(14px, 1.5vw, 17px); }
.scroll-hint { display: none; }
.thanks .title { font-size: clamp(34px, min(6vw, 9.5vh), 84px); margin-bottom: 14px; }
.thanks .contact-row { margin-top: 14px; }
.thanks .fineprint.center { margin-top: 14px; }
@media (max-width: 1560px) { .topnav { display: none; } }

/* ============================================================
   OCTUBRE 2026 · Capillita en vídeo y Vía Crucis de la implantación
   ============================================================ */

/* ---------- El Capillita · vídeo real ↔ demo interactiva ---------- */
.cap-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; min-width: 0; }
.cap-views {
  display: inline-flex; gap: 6px; padding: 5px;
  border-radius: 999px; background: rgba(0,0,0,.28); border: 1px solid rgba(212,175,55,.22);
}
.cap-view {
  padding: 7px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--cream-dim); font: 600 12.5px/1 var(--font);
  transition: background .3s var(--ease), color .3s;
}
.cap-view:hover { background: rgba(212,175,55,.1); }
.cap-view.on { background: var(--grad-gold); color: var(--brown-950); box-shadow: var(--shadow-gold); }
.cap-video {
  width: 100%; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid rgba(212,175,55,.3);
  box-shadow: var(--shadow-soft), 0 0 70px -30px rgba(212,175,55,.5);
  animation: jIn .5s var(--ease-out) both;
}
.cap-video video { display: block; width: 100%; max-height: 54vh; background: #000; }
.cap-video figcaption {
  padding: 10px 16px; font-size: 12px; line-height: 1.45; color: var(--muted);
  background: linear-gradient(165deg, rgba(28,15,8,.95), rgba(20,11,6,.98));
  border-top: 1px solid rgba(212,175,55,.2);
}
.cap-video figcaption b { color: var(--gold-soft); }
.cap-stage .chat-box { animation: jIn .5s var(--ease-out) both; }

/* ---------- Vía Crucis de la implantación ---------- */
.vc-progress {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  max-width: 1180px; margin: 0 auto clamp(12px,2vh,20px); padding: 12px 22px;
  border-radius: 999px; background: rgba(0,0,0,.26); border: 1px solid rgba(212,175,55,.22);
  font-size: 13px; color: var(--cream-dim);
}
.vc-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); }
.vc-bar i {
  position: absolute; inset: 0 auto 0 0; width: 86%; border-radius: inherit;
  background: var(--grad-gold); box-shadow: 0 0 14px rgba(212,175,55,.5);
  transition: width .17s linear;
}
.vc-cross {
  position: absolute; top: 50%; left: 86%; transform: translate(-50%, -50%);
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brown-900); border: 2px solid var(--gold-bright); color: var(--gold-bright);
  font-size: 12px; transition: left .17s linear;
}
.vc-pct { font-size: 15px; color: var(--gold-soft); min-width: 4ch; text-align: right; }

.vc-wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(14px,2vw,26px);
  max-width: 1180px; margin: 0 auto; align-items: stretch;
}
.vc-stations { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-content: start; }
.vc-st {
  position: relative; width: 100%; height: 100%; min-height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px;
  padding: 10px 5px 8px; border-radius: var(--radius-sm); cursor: pointer;
  font-family: inherit; color: var(--muted); text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,55,.14);
  transition: all .35s var(--ease-out);
}
.vc-st:hover { border-color: rgba(212,175,55,.5); transform: translateY(-2px); }
.vc-n { font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--cream-dim); font-family: Georgia, "Times New Roman", serif; }
.vc-nm { font-size: 10.5px; line-height: 1.25; }
.vc-st.vb::after { content: "✠"; position: absolute; top: 5px; right: 7px; font-size: 10px; color: var(--gold); opacity: .8; }
/* estado final (también el que queda tras el recorrido) */
.vc-st.done { background: rgba(212,175,55,.09); border-color: rgba(212,175,55,.38); }
.vc-st.done .vc-n { color: var(--gold-soft); }
.vc-st.now { border-color: var(--gold-bright); box-shadow: 0 0 0 1px var(--gold-bright), var(--shadow-gold); }
.vc-st.now .vc-n { color: var(--gold-bright); }
.vc-st.now .vc-nm { color: var(--cream); }
.vc-st.todo { opacity: .6; border-style: dashed; }
/* durante el recorrido animado, solo brilla lo ya alcanzado */
.vc-wrap .walking .vc-st:not(.lit) { background: rgba(255,255,255,.03); border-color: rgba(212,175,55,.14); box-shadow: none; }
.vc-wrap .walking .vc-st:not(.lit) .vc-n { color: var(--muted); }
.vc-st.sel { outline: 2px solid var(--gold); outline-offset: 2px; }

.vc-detail {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--grad-panel); border: 1px solid rgba(212,175,55,.26); box-shadow: var(--shadow-soft);
}
.vc-detail.in { animation: jIn .45s var(--ease-out) both; }
.vc-big {
  flex: 0 0 auto; min-width: 58px; padding: 10px 8px; border-radius: 12px; text-align: center;
  font: 800 22px/1 Georgia, "Times New Roman", serif; color: var(--gold-bright);
  background: rgba(0,0,0,.3); border: 1px solid rgba(212,175,55,.4);
}
.vc-body { min-width: 0; }
.vc-body h3 { font-size: 17px; margin: 8px 0 6px; }
.vc-body p { font-size: 12.8px; line-height: 1.55; color: var(--cream-dim); }
.vc-body ul { margin: 6px 0 0 18px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.vc-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.vc-badge.done { background: rgba(143,224,173,.14); color: #8fe0ad; }
.vc-badge.now  { background: rgba(244,197,66,.18); color: var(--gold-bright); }
.vc-badge.todo { background: rgba(255,255,255,.07); color: var(--muted); }
.vc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.vc-meta b { color: var(--cream); }
.vc-vb { font-weight: 600; color: var(--gold-soft); }
.vc-vb.ok { color: #8fe0ad; }
.vc-vb.btn {
  padding: 7px 14px; border-radius: 999px; color: var(--brown-950);
  background: var(--grad-gold); box-shadow: var(--shadow-gold);
}

@media (max-width: 1080px) {
  .vc-wrap { grid-template-columns: 1fr; }
  .vc-progress { grid-template-columns: 1fr auto; border-radius: var(--radius-sm); }
  .vc-where { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .vc-stations { grid-template-columns: repeat(4, 1fr); }
  .vc-nm { font-size: 9.5px; }
  .vc-detail { flex-direction: column; gap: 10px; }
}
@media (min-width: 1081px) {
  .split.wide-right:has(.cap-video:not([hidden])) { grid-template-columns: .78fr 1.22fr; }
}

/* ---------- Vía Crucis interactivo ---------- */
.vc-bar i { transition: width .55s var(--ease-out); }
.vc-cross { transition: left .55s var(--ease-out); }
.vc-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vc-side .vc-detail { flex: 1 1 auto; }
.vc-ctrl { display: flex; gap: 10px; justify-content: flex-end; }
.vc-prev, .vc-next {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 var(--font); transition: transform .25s var(--ease), opacity .25s, background .25s;
}
.vc-prev { background: transparent; color: var(--cream-dim); border: 1px solid rgba(212,175,55,.3); }
.vc-prev:hover:not(:disabled) { background: rgba(212,175,55,.1); }
.vc-prev:disabled { opacity: .35; cursor: default; }
.vc-next { border: 0; color: var(--brown-950); background: var(--grad-gold); box-shadow: var(--shadow-gold); }
.vc-next:hover { transform: translateY(-2px); }
button.vc-vb { border: 0; cursor: pointer; font: 600 12px/1 var(--font); }
button.vc-vb:hover { transform: translateY(-1px); }
.vc-st.now { animation: vcPulse 2.2s ease-in-out infinite; }
@keyframes vcPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--gold-bright), 0 0 0 0 rgba(244,197,66,.45); }
  50%      { box-shadow: 0 0 0 1px var(--gold-bright), 0 0 0 7px rgba(244,197,66,0); }
}
@media (prefers-reduced-motion: reduce) { .vc-st.now { animation: none; } }
@media (max-width: 720px) { .vc-ctrl { justify-content: stretch; } .vc-ctrl button { flex: 1; } }
