/* ══════════════════════════════════════════════
   KHAL CALLOWAY STUDIO — DESIGN SYSTEM V2
   "Canva vende diseños. Tú creas el futuro 👁️"
   ══════════════════════════════════════════════ */

:root {
  --void: #050505;
  --abyss: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --border: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.4);
  --gold: #D4AF37;
  --gold-dim: #9A7A2E;
  --gold-bright: #F2D06B;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glass: rgba(212, 175, 55, 0.06);
  --cream: #F5EDD6;
  --cream-dim: #C8BBAA;
  --deep-violet: #0E0620;
  --violet-glow: rgba(138, 43, 226, 0.12);
  --crimson: #8C1C13;
  --font-display: 'Ramen Sauce', 'Cinzel', serif;
  --font-monarchie: 'LaMonarchie', 'Cinzel', serif;
  --font-body: 'Courier New', 'Courier', monospace;
  --font-script: 'LaMonarchie', cursive;
  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RAMen SAUCE FONT ── */
@font-face {
  font-family: 'Ramen Sauce';
  src: url('assets/fonts/Ramen Sauce.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── LA MONARCHIE FONT ── */
@font-face {
  font-family: 'LaMonarchie';
  src: url('assets/fonts/LaMonarchie.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  /* Fase 1E: deep-space background — sparse star points via radial-gradient */
  /* Fase 1E.1: pure obsidian void — no blue cast */
  background:
    /* Rigel-class blue — very sparse, top-right */
    radial-gradient(circle at 83% 12%, rgba(120, 168, 255, 0.14) 0px, transparent 1.5px),
    /* Faint blue left */
    radial-gradient(circle at 14% 31%, rgba(140, 160, 220, 0.10) 0px, transparent 1.5px),
    /* Red dwarf — barely there */
    radial-gradient(circle at 76% 58%, rgba(220, 80, 60, 0.08) 0px, transparent 1.2px),
    /* White dwarf — ghost */
    radial-gradient(circle at 22% 74%, rgba(210, 220, 240, 0.09) 0px, transparent 1px),
    /* Bottom star — very faint */
    radial-gradient(circle at 91% 87%, rgba(140, 175, 255, 0.10) 0px, transparent 1.5px),
    /* Obsidian void base — matches Eye image edge color */
    linear-gradient(180deg, #05030f 0%, #03020a 35%, #020108 65%, #05030f 100%);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
}

/* ══ FASE 1F.1: GLOBAL VOID STARFIELD — body::before ══
   CSS-only, position:fixed — sparse star points distributed across
   the full page. Pointer-events:none. z-index:0 (behind all content).
   Mobile: opacity reduced to 0.6 to avoid lag. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* 20 scattered star points: warm-ivory, blue-white, champagne */
  background:
    /* Upper quadrant */
    radial-gradient(circle at 7%   8%,  rgba(240,225,190,0.55) 0px, transparent 1px),
    radial-gradient(circle at 23%  15%, rgba(160,190,255,0.38) 0px, transparent 1px),
    radial-gradient(circle at 41%  6%,  rgba(240,225,190,0.28) 0px, transparent 0.8px),
    radial-gradient(circle at 68%  11%, rgba(200,220,255,0.42) 0px, transparent 1px),
    radial-gradient(circle at 89%  4%,  rgba(240,225,190,0.35) 0px, transparent 1px),
    /* Upper-mid */
    radial-gradient(circle at 15%  28%, rgba(160,190,255,0.30) 0px, transparent 0.8px),
    radial-gradient(circle at 55%  22%, rgba(240,225,190,0.22) 0px, transparent 0.7px),
    radial-gradient(circle at 78%  30%, rgba(200,215,255,0.32) 0px, transparent 0.9px),
    radial-gradient(circle at 94%  25%, rgba(240,225,190,0.28) 0px, transparent 0.8px),
    /* Mid section */
    radial-gradient(circle at 3%   52%, rgba(200,220,255,0.25) 0px, transparent 0.8px),
    radial-gradient(circle at 32%  47%, rgba(240,225,190,0.20) 0px, transparent 0.7px),
    radial-gradient(circle at 62%  55%, rgba(160,190,255,0.28) 0px, transparent 0.8px),
    radial-gradient(circle at 85%  48%, rgba(240,225,190,0.22) 0px, transparent 0.7px),
    /* Lower-mid */
    radial-gradient(circle at 18%  68%, rgba(200,215,255,0.20) 0px, transparent 0.7px),
    radial-gradient(circle at 47%  72%, rgba(240,225,190,0.18) 0px, transparent 0.7px),
    radial-gradient(circle at 73%  65%, rgba(160,190,255,0.24) 0px, transparent 0.8px),
    radial-gradient(circle at 96%  70%, rgba(240,225,190,0.20) 0px, transparent 0.7px),
    /* Lower section */
    radial-gradient(circle at 8%   85%, rgba(200,220,255,0.22) 0px, transparent 0.8px),
    radial-gradient(circle at 38%  88%, rgba(240,225,190,0.18) 0px, transparent 0.7px),
    radial-gradient(circle at 62%  82%, rgba(160,190,255,0.20) 0px, transparent 0.7px),
    radial-gradient(circle at 88%  90%, rgba(240,225,190,0.25) 0px, transparent 0.8px);
}

@media (max-width: 768px) {
  body::before { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}

::selection {
  background: var(--gold);
  color: var(--void);
}

/* Noise Grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9990;
}


@keyframes kc-enter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes kc-hint-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.main-locked {
  opacity: 0;
  position: relative;
  z-index: 1;
}

.main-locked.unlocked {
  opacity: 1;
  overflow: visible;
  transition: opacity 1s 0.3s var(--ease-silk);
}

/* ── HERO HEADLINE ── */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
  color: var(--cream);
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: kc-enter 1.1s var(--ease-silk) 0.7s forwards;
}

.hero-headline .gold {
  color: var(--gold);
}


/* ── PARTICLE CANVAS ── */
#particleField {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── NAV ── */
.kc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.4rem;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 5, 5, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 1.2s 0.3s var(--ease-silk), background 0.5s var(--ease-silk), backdrop-filter 0.5s, padding 0.5s var(--ease-silk);
}

.kc-nav.unlocked {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease-silk), background 0.5s var(--ease-silk), backdrop-filter 0.5s, padding 0.5s var(--ease-silk);
}

.kc-nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2.4rem;
}

.kc-nav.hero-exited {
  opacity: 0.82;
}

.kc-nav.hero-exited:hover {
  opacity: 1;
  transition: opacity 0.3s var(--ease-silk);
}

.kc-nav-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 0.15rem 0;
}

.kc-nav-brand span {
  color: var(--cream-dim);
  font-weight: 400;
}

.kc-nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
  align-items: center;
}

.kc-nav-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.kc-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-expo);
}

.kc-nav-links a:hover {
  color: var(--gold);
}

.kc-nav-links a:hover::after {
  width: 100%;
}

.kc-nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.2em !important;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s !important;
}

.kc-nav-cta:hover {
  background: var(--gold) !important;
  color: var(--void) !important;
  box-shadow: 0 0 30px var(--gold-glow) !important;
}

.kc-nav-cta::after {
  display: none !important;
}

.kc-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.kc-nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s var(--ease-silk);
}

.kc-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.kc-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.kc-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Fase 1E.2: flex-end anchors copy to lower-third of the Eye */
  justify-content: flex-end;
  text-align: center;
  padding: 4rem 2rem clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
  z-index: 1;
  background: transparent;
  scroll-margin-top: 0;
}

/* ── GALACTIC BAND HINT (CSS — subtle mobile fallback) ── */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Removed galactic band — was causing white horizontal glow on mobile */
  pointer-events: none;
  z-index: 0;
}

/* nebula hints — very subtle */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 20% 16% at 60% 50%, rgba(70,35,150,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 16% 12% at 38% 54%, rgba(130,50,170,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── MILKY WAY CANVAS ── */
/* Canvas lives in <body>, fixed to viewport, always behind everything */
/* Fase 1C: canvas renombrado en Fase 1B — ocultar sin dejar huella */
#milkyWayCanvasDisabled {
  display: none !important;
}

#milkyWayCanvas {
 position: fixed;
 inset: 0;
 width: 100vw;
 height: 100vh;
 /* z-index:0 = encima del body bg, debajo de #kcMainContent (z-index:1) */
 z-index: 0;
 pointer-events: none;
 opacity: 0;
 transition: opacity 2.5s var(--ease-silk);
}

#milkyWayCanvas.active {
 opacity: 1;
}

/* Hero content sits above Eye portal layers */
/* Exclude portal/veil so they keep position:absolute */
#hero > *:not(.kc-eye-portal):not(.kc-eye-portal__veil) {
  position: relative;
  z-index: 2;
}

/* ══ FASE 1D: COSMIC EYE PORTAL ══ */
/* Breathing keyframe */
@keyframes kc-eye-breathe {
  0%, 100% { transform: scale(1.01); }
  50%       { transform: scale(1.04); }
}

/* Picture wrapper — full hero coverage, below all content */
.kc-eye-portal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* The actual image */
.kc-eye-portal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fase 1D.1: elevado de 30% a 22% para revelar más el centro del Ojo */
  object-position: center 22%;
  display: block;
  will-change: transform;
  animation: kc-eye-breathe 10s ease-in-out infinite;
}

/* Cinematic veil — dark gradient for text legibility */
.kc-eye-portal__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 38%,
      rgba(5, 3, 15, 0.08) 0%,
      rgba(5, 3, 15, 0.55) 65%,
      rgba(5, 3, 15, 0.90) 100%),
    linear-gradient(to bottom,
      rgba(5, 3, 15, 0.50) 0%,
      rgba(5, 3, 15, 0.12) 35%,
      rgba(5, 3, 15, 0.72) 100%);
}

/* hero-subtitle — estilos en bloque unificado (línea ~540) */

.hero-br-mobile { display: none; }
@media (max-width: 540px) {
  .hero-br-mobile { display: inline; }
}

/* Soft text shadow for legibility over starfield */
.hero-eyebrow,
.hero-headline,
.hero-subtitle {
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: kc-enter 1s var(--ease-silk) 0.4s forwards;
}



.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.78rem, 1.8vw, 1.05rem);
  font-weight: 400;
  font-style: normal;
  /* Fase 1E.2: warm ivory — stronger contrast, readable over the Eye */
  color: rgba(240, 225, 190, 0.92);
  letter-spacing: 0.05em;
  line-height: 1.65;
  max-width: 34rem;
  text-shadow: 0 1px 0 rgba(0,0,0,0.95), 0 0 28px rgba(0,0,0,0.88), 0 2px 12px rgba(0,0,0,0.75);
  margin: 0.5rem 0 1.4rem;
  opacity: 0;
  animation: kc-enter 1s var(--ease-silk) 0.8s forwards;
}

.hero-ctas {
  display: grid;
  /* Fase 1E.2: two-column grid for same-row CTAs on mobile */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(420px, 90vw);
  opacity: 0;
  animation: kc-enter 1s var(--ease-silk) 1.0s forwards;
}

/* Stack only on very narrow screens */
@media (max-width: 340px) {
  .hero-ctas {
    grid-template-columns: 1fr;
  }
}

/* ══ CELESTIAL NAVIGATION MARKER ══ */
.hero-scroll-cue {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  opacity: 0;
  animation: kc-enter 1s var(--ease-silk) 1.8s forwards;
  pointer-events: none;
  z-index: 2;
}

.cnm-svg {
  overflow: visible;
  display: block;
}

/* Nodes breathe independently with staggered phases */
.cnm-node { transform-origin: 50% 50%; }

.cnm-n1 { animation: cnm-node-breathe 5.2s ease-in-out infinite; }
.cnm-n2 { animation: cnm-node-breathe 6.4s ease-in-out 1.3s infinite; }
.cnm-n3 { animation: cnm-node-breathe 4.8s ease-in-out 0.7s infinite; }
.cnm-n4 { animation: cnm-node-breathe 7.1s ease-in-out 2.1s infinite; }

@keyframes cnm-node-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.3); }
}

/* Glow rings pulse on a different rhythm */
.cnm-node-glow {
  transform-origin: 50% 50%;
}
.cnm-n1-glow { animation: cnm-glow-ring 5.2s ease-in-out infinite; }
.cnm-n3-glow { animation: cnm-glow-ring 4.8s ease-in-out 0.7s infinite; }

@keyframes cnm-glow-ring {
  0%, 100% { opacity: 0;    transform: scale(0.8); }
  50%       { opacity: 1;    transform: scale(1.6); }
}

/* Connecting lines flicker subtly */
.cnm-line { animation: cnm-line-flicker 4s ease-in-out infinite; }

@keyframes cnm-line-flicker {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* Traveling pulse particle — descends the full constellation path */
.cnm-pulse {
  filter: drop-shadow(0 0 4px rgba(242,208,107,0.9));
  animation: cnm-pulse-travel 3.8s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes cnm-pulse-travel {
  0%   { transform: translateY(0px);   opacity: 0.95; r: 1.8px; }
  12%  { opacity: 1; }
  80%  { transform: translateY(68px);  opacity: 0.2; r: 0.6px; }
  100% { transform: translateY(68px);  opacity: 0;   r: 0px; }
}

/* ── BUTTONS ── */
/* ── HERO BUTTONS — Premium redesign con glow + jelly ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  background: linear-gradient(135deg, #F2D06B 0%, #D4AF37 50%, #B8922A 100%);
  color: #0a0800;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.6),
    0 0 20px rgba(212,175,55,0.25),
    0 0 50px rgba(212,175,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

/* Glow shimmer sweep */
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.5s ease;
}
.btn-gold:hover::before { left: 150%; }

.btn-gold:hover {
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.8),
    0 0 28px rgba(212,175,55,0.55),
    0 0 80px rgba(212,175,55,0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Jelly click state — handled via JS class */
.btn-gold.kc-jelly {
  animation: btn-jelly 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  background: rgba(212,175,55,0.04);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 12px rgba(212,175,55,0.06),
    inset 0 0 20px rgba(212,175,55,0.03);
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.btn-ghost::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.12), transparent);
  transition: left 0.5s ease;
}
.btn-ghost:hover::before { left: 150%; }

.btn-ghost:hover {
  border-color: rgba(212,175,55,0.75);
  color: var(--gold-bright);
  box-shadow:
    0 0 24px rgba(212,175,55,0.2),
    0 0 60px rgba(212,175,55,0.08),
    inset 0 0 24px rgba(212,175,55,0.06);
  transform: translateY(-2px);
}

.btn-ghost.kc-jelly {
  animation: btn-jelly 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* Jelly keyframe — squeeze + release */
@keyframes btn-jelly {
  0%   { transform: scale(1);          }
  15%  { transform: scale(0.88, 1.12); }
  30%  { transform: scale(1.14, 0.88); }
  50%  { transform: scale(0.94, 1.06); }
  70%  { transform: scale(1.06, 0.96); }
  85%  { transform: scale(0.98, 1.02); }
  100% { transform: scale(1);          }
}

/* ── MANIFESTO ── */
#manifesto {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.manifesto-quote .accent {
  color: var(--gold);
}

.manifesto-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

.manifesto-body {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--cream-dim);
  max-width: 620px;
  margin: 0 auto;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.4rem;
}

/* ── CINTURÓN DE ORIÓN — marquee infinita ── */
#servicios {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

#servicios .section-header {
  padding-left: 2rem;
  padding-right: 2rem;
}

.universos-marquee {
  --card-w: 170px;
  --gap: 1rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  /* Orion constellation: faint star-dots via repeating SVG bg */
  background-image:
    radial-gradient(circle 1px at 15% 30%, rgba(212,175,55,0.55) 0%, transparent 100%),
    radial-gradient(circle 1px at 42% 18%, rgba(212,175,55,0.4) 0%, transparent 100%),
    radial-gradient(circle 1px at 68% 70%, rgba(212,175,55,0.45) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 80% 25%, rgba(212,175,55,0.6) 0%, transparent 100%),
    radial-gradient(circle 1px at 55% 55%, rgba(212,175,55,0.35) 0%, transparent 100%),
    radial-gradient(circle 1px at 27% 75%, rgba(212,175,55,0.3) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 90% 50%, rgba(212,175,55,0.4) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 6% 60%, rgba(212,175,55,0.35) 0%, transparent 100%);
  /* Edge fade */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%);
}

.universos-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: kc-marquee 36s linear infinite;
  padding: 0;
  align-items: stretch;
}

/* Pausa al hover del track completo */

@keyframes kc-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.service-card {
  position: relative;
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  /* Compact — let galaxy breathe through */
  padding: 1.4rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.22);
  /* Very translucent — dark tint only, no heavy blur */
  background: rgba(6, 4, 14, 0.78);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
  cursor: default;
  /* No fixed min-height — auto height */
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent) top / 100% 1px no-repeat,
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(212,175,55,0.5);
}

.service-svg-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.4));
  animation: kc-icon-breathe 5s ease-in-out infinite;
}

.service-svg-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes kc-icon-breathe {
  0%,100% {
    filter: drop-shadow(0 0 5px rgba(212,175,55,0.3));
    transform: translateY(0) scale(1);
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(212,175,55,0.75));
    transform: translateY(-3px) scale(1.04);
  }
}

.service-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.6rem;
  line-height: 1.2;
  /* Fractal glitch aura — speeds staggered per JS --card-i */
  --g-speed: 5s;
  --g-dx: -2px;
  --g-dy: 0.8px;
  --g-skew: -2deg;
  --g-color-a: rgba(212,175,55,0.6);
  --g-color-b: rgba(242,208,107,0.4);
  --g-stagger: 0s; /* overridden inline by JS */
}

/* ── Service card name — Fractal glitch, staggered per card ── */
.universos-track > .service-card .service-name {
  animation: kc-fractal-glitch var(--g-speed, 5s) steps(2) infinite;
  animation-delay: var(--card-glitch-delay, 0s);
}

/* Each card gets its own glitch phase via nth-child */
.universos-track > .service-card:nth-child(1)  .service-name { --card-glitch-delay: 0s; }
.universos-track > .service-card:nth-child(2)  .service-name { --card-glitch-delay: 0.6s; }
.universos-track > .service-card:nth-child(3)  .service-name { --card-glitch-delay: 1.2s; }
.universos-track > .service-card:nth-child(4)  .service-name { --card-glitch-delay: 1.8s; }
.universos-track > .service-card:nth-child(5)  .service-name { --card-glitch-delay: 2.4s; }
.universos-track > .service-card:nth-child(6)  .service-name { --card-glitch-delay: 3.0s; }
.universos-track > .service-card:nth-child(7)  .service-name { --card-glitch-delay: 3.6s; }
.universos-track > .service-card:nth-child(8)  .service-name { --card-glitch-delay: 4.2s; }
.universos-track > .service-card:nth-child(9)  .service-name { --card-glitch-delay: 4.8s; }
.universos-track > .service-card:nth-child(10) .service-name { --card-glitch-delay: 0.3s; }
.universos-track > .service-card:nth-child(11) .service-name { --card-glitch-delay: 0.9s; }
.universos-track > .service-card:nth-child(12) .service-name { --card-glitch-delay: 1.5s; }
.universos-track > .service-card:nth-child(13) .service-name { --card-glitch-delay: 2.1s; }
.universos-track > .service-card:nth-child(14) .service-name { --card-glitch-delay: 2.7s; }
.universos-track > .service-card:nth-child(15) .service-name { --card-glitch-delay: 3.3s; }
.universos-track > .service-card:nth-child(16) .service-name { --card-glitch-delay: 3.9s; }
.universos-track > .service-card:nth-child(17) .service-name { --card-glitch-delay: 4.5s; }
.universos-track > .service-card:nth-child(18) .service-name { --card-glitch-delay: 0.15s; }
.universos-track > .service-card:nth-child(19) .service-name { --card-glitch-delay: 0.75s; }
.universos-track > .service-card:nth-child(20) .service-name { --card-glitch-delay: 1.35s; }

/* Mobile: tone down displacement */
@media (max-width: 480px) {
  .universos-track > .service-card .service-name {
    --g-dx: -1px;
    --g-skew: -1deg;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}

.tag {
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(212,175,55,0.18);
  color: rgba(212,175,55,0.65);
  background: rgba(212,175,55,0.04);
}

/* ══ CINTURÓN DE ORIÓN — Ultra polish ══ */

  20%  { opacity: 1; }
  60%  { left: 120%; opacity: 0.5; }
  100% { left: 120%; opacity: 0; }
}

  50%      { box-shadow: 0 0 18px rgba(212,175,55,0.2); border-color: rgba(212,175,55,0.5); }
}

/* Constellation canvas overlay */
.universos-marquee > canvas.orion-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.universos-track {
  position: relative;
  z-index: 1;
}

/* Section eyebrow + title — clip-path reveal via GSAP */
#servicios .section-title {
  overflow: hidden;
}

#servicios .section-title span.line-wrap {
  display: block;
  will-change: transform;
}

/* SVG Internal animation classes */
@keyframes kc-svg-rotate-slow {
  from { transform-origin: 50% 50%; transform: rotate(0deg); }
  to   { transform-origin: 50% 50%; transform: rotate(360deg); }
}

@keyframes kc-svg-float-ring {
  0%,100% { transform: scaleX(1) scaleY(1); opacity: 0.18; }
  50%      { transform: scaleX(1.04) scaleY(1.06); opacity: 0.28; }
}

@keyframes kc-bubble-rise {
  0%   { transform: translateY(0); opacity: 0.7; }
  100% { transform: translateY(-8px); opacity: 0; }
}

/* Apply to aura circles inside SVGs */
.service-svg-icon svg circle:first-child {
  animation: kc-svg-float-ring 4s ease-in-out infinite;
}

/* Marquee pause on section hover — also dim non-hovered cards */
.universos-marquee .service-card {
  pointer-events: none;
}

/* Orion label line — decorative beneath section eyebrow */
#servicios .section-header::after {
  content: '· · · ✦ · CINTURÓN DE ORIÓN · ✦ · · ·';
  display: block;
  font-family: var(--font-body);
  font-size: 0.42rem;
  letter-spacing: 0.35em;
  color: rgba(212,175,55,0.35);
  margin-top: 0.6rem;
  text-transform: uppercase;
}

/* ── KC-RSVP ── */
.rsvp-section {
  position: relative;
  background: transparent;
  overflow: visible;
  padding: 5rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ── Hero text centrado ── */
.rsvp-hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Logotype — base layout (visuals in cinematic v5 block) */
.rsvp-logotype {
  flex-wrap: nowrap;
}

/* Estrella SVG inline — mismo alto que el texto */
.rsvp-star-svg {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.7)) drop-shadow(0 0 28px rgba(212,175,55,0.3));
  animation: rsvp-star-breathe 3.5s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
  overflow: visible;
}

@keyframes rsvp-star-breathe {
  0%,100% {
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.55)) drop-shadow(0 0 22px rgba(212,175,55,0.22));
    transform: scale(1) rotate(0deg);
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(242,208,107,1)) drop-shadow(0 0 50px rgba(212,175,55,0.45));
    transform: scale(1.1) rotate(5deg);
  }
}

.sg-nucleus { animation: rsvp-nucleus 2s ease-in-out infinite; }
@keyframes rsvp-nucleus {
  0%,100% { opacity: 0.85; }
  50%      { opacity: 1; }
}
.sg-corona { animation: rsvp-corona 4s ease-in-out infinite; }
@keyframes rsvp-corona {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}
.sg-ray { animation: rsvp-ray 4s ease-in-out infinite; }
@keyframes rsvp-ray {
  0%,100% { opacity: 0.15; }
  50%      { opacity: 0.5; }
}

.rsvp-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  font-style: italic;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  line-height: 1.7;
  max-width: 440px;
}

/* ── CARD STACK DECK — CINTURÓN DE ORIÓN ── */
.rsvp-deck {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  user-select: none;
  -webkit-user-select: none;
}

.deck-viewport {
  position: relative;
  width: 100%;
  height: 300px;
  perspective: 1100px;
  cursor: grab;
}
.deck-viewport:active { cursor: grabbing; }

/* ── Card base — translucent / Orion texture ── */
.deck-card {
  position: absolute;
  inset: 0;
  padding: 2.4rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Translucent: galaxy bleeds through */
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(138,43,226,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212,175,55,0.05) 0%, transparent 60%),
    rgba(6, 3, 18, 0.9);
  /* backdrop-filter only on active for GPU perf */
  border-radius: 3px;
  border: none;
  /* Double-stroke: thin violet outer + gold hairline */
  box-shadow:
    0 0 0 1px rgba(138,43,226,0.22),
    inset 0 0 0 1px rgba(212,175,55,0.09),
    0 6px 32px rgba(0,0,0,0.45);
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.42s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.38s ease-out;
}

/* ── Orion edge details — top gold stroke + corner constellation dots ── */
.deck-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  pointer-events: none;
  background:
    /* top gold line */
    linear-gradient(90deg, transparent 8%, rgba(212,175,55,0.45) 30%, rgba(242,208,107,0.7) 50%, rgba(212,175,55,0.45) 70%, transparent 92%) top / 100% 1px no-repeat,
    /* bottom violet hairline */
    linear-gradient(90deg, transparent 12%, rgba(138,43,226,0.3) 35%, rgba(138,43,226,0.5) 50%, rgba(138,43,226,0.3) 65%, transparent 88%) bottom / 100% 1px no-repeat,
    /* left vertical accent */
    linear-gradient(180deg, transparent 15%, rgba(212,175,55,0.12) 40%, rgba(138,43,226,0.1) 60%, transparent 85%) left / 1px 100% no-repeat,
    /* right vertical accent */
    linear-gradient(180deg, transparent 15%, rgba(138,43,226,0.1) 40%, rgba(212,175,55,0.1) 60%, transparent 85%) right / 1px 100% no-repeat,
    /* constellation noise texture — subtle dot grid */
    radial-gradient(circle 0.8px at 8% 12%, rgba(212,175,55,0.4) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 92% 88%, rgba(212,175,55,0.35) 0%, transparent 100%),
    radial-gradient(circle 0.6px at 92% 12%, rgba(138,43,226,0.4) 0%, transparent 100%),
    radial-gradient(circle 0.6px at 8% 88%, rgba(138,43,226,0.35) 0%, transparent 100%),
    /* mid-edge subtle stars */
    radial-gradient(circle 0.5px at 50% 2%, rgba(242,208,107,0.5) 0%, transparent 100%),
    radial-gradient(circle 0.5px at 50% 98%, rgba(138,43,226,0.4) 0%, transparent 100%),
    radial-gradient(circle 0.5px at 2% 50%, rgba(212,175,55,0.3) 0%, transparent 100%),
    radial-gradient(circle 0.5px at 98% 50%, rgba(212,175,55,0.3) 0%, transparent 100%);
}

/* ── Active card: breathing gold-violet border glow ── */
.deck-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.45),
    0 0 18px rgba(212,175,55,0.12),
    0 0 40px rgba(138,43,226,0.06),
    inset 0 0 20px rgba(138,43,226,0.04);
}
.deck-card.active::after {
  opacity: 1;
  animation: deck-edge-breathe 3.2s ease-in-out infinite;
}
@keyframes deck-edge-breathe {
  0%,100% {
    box-shadow: 0 0 0 1px rgba(212,175,55,0.35), 0 0 14px rgba(212,175,55,0.08), 0 0 30px rgba(138,43,226,0.04), inset 0 0 16px rgba(138,43,226,0.03);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(212,175,55,0.65), 0 0 28px rgba(212,175,55,0.18), 0 0 55px rgba(138,43,226,0.1), inset 0 0 28px rgba(138,43,226,0.07);
  }

/* Perf: backdrop only on active deck card */
.deck-card.active {
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}
}

/* ── Stack positions ── */
.deck-card[data-depth="0"] {
  z-index: 10;
  transform: translateZ(0) scale(1);
  opacity: 1;
}
.deck-card[data-depth="1"] {
  z-index: 5;
  transform: translateZ(-28px) translateY(11px) scale(0.93);
  opacity: 0.55;
}
.deck-card[data-depth="2"] {
  z-index: 3;
  transform: translateZ(-56px) translateY(20px) scale(0.87);
  opacity: 0.32;
}
.deck-card[data-depth="3"] {
  z-index: 1;
  transform: translateZ(-84px) translateY(28px) scale(0.81);
  opacity: 0.16;
}

.deck-card[data-depth="4"] {
  z-index: 0;
  transform: translateZ(-112px) translateY(35px) scale(0.75);
  opacity: 0.1;
}
.deck-card[data-depth="5"] {
  z-index: 0;
  transform: translateZ(-140px) translateY(42px) scale(0.7);
  opacity: 0.06;
}

/* Exit — flung left with 3D twist */
.deck-card.exit-left {
  transform: translateX(-115%) rotateY(-22deg) scale(0.85) !important;
  opacity: 0 !important;
  transition: transform 0.5s var(--ease-expo), opacity 0.45s ease-out !important;
  z-index: 20 !important;
}

/* ── Card inner elements — centered ── */

/* Icon centered with dual-ring — Orion planet style */
.deck-card-icon {
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Outer pulse ring */
.deck-card-icon::before {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.18);
  animation: deck-ring-outer 4.5s ease-in-out infinite;
}
/* Inner dashed orbit ring */
.deck-card-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(138,43,226,0.22);
  animation: deck-ring-inner 6s linear infinite;
}
@keyframes deck-ring-outer {
  0%,100% { transform: scale(1) rotate(0deg); border-color: rgba(212,175,55,0.18); }
  50%     { transform: scale(1.1) rotate(180deg); border-color: rgba(212,175,55,0.4); }
}
@keyframes deck-ring-inner {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.deck-card-icon svg {
  width: 100%; height: 100%;
  filter:
    drop-shadow(0 0 6px rgba(212,175,55,0.4))
    drop-shadow(0 0 12px rgba(138,43,226,0.15));
}

.deck-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
  text-shadow:
    0 0 18px rgba(212,175,55,0.4),
    0 0 40px rgba(138,43,226,0.15);
}

.deck-card-body {
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
  flex-grow: 1;
  max-width: 88%;
}
.deck-card-body strong {
  color: var(--cream);
  font-weight: 600;
}

/* ── Progress dots ── */
.deck-dots {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.deck-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.4s var(--ease-expo);
}
.deck-dot.active {
  width: 26px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(138,43,226,0.6), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

/* ── Hint ── */
.deck-hint {
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.35);
  animation: kc-hint-pulse 2.8s ease-in-out infinite;
}

/* ── RSVP CTA ── */
.rsvp-cta { text-align: center; }
.rsvp-cta-copy {
  font-size: 0.82rem; line-height: 2;
  color: var(--cream-dim);
  max-width: 520px; margin: 0 auto 2rem;
}
.rsvp-cta-copy strong { color: var(--cream); font-weight: 600; }

/* ── KC-STYLES TEASER /* ── KC-STYLES TEASER /* ── KC-STYLES TEASER /* ── KC-STYLES TEASER ── */
/* ── KC-STYLES PORTAL ── */
.styles-portal {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* FASE 1D: Constelación decorativa contelacion-y */
.kc-styles-constellation {
  position: absolute;
  inset: -10% -20%;
  z-index: 0;
  pointer-events: none;
  display: block;
  overflow: hidden;
}

.kc-styles-constellation__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Fase 1E.1: screen on dark = invisible; normal at 0.50 = premium visible */
  opacity: 0.50;
  mix-blend-mode: normal;
  filter: saturate(0.55) brightness(0.70);
}

/* KC-Styles portal content sube sobre la constelación */
.diamond-portal-link,
.diamond-portal-cta,
.diamond-portal-count,
.section-header {
  position: relative;
  z-index: 1;
}

.diamond-portal-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  cursor: pointer;
}

.diamond-portal-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Orbit rings — decor only, far from the stone */
.diamond-portal-wrap::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.07);
  pointer-events: none;
  animation: dp-orbit 10s linear infinite;
}
.diamond-portal-wrap::after {
  content: '';
  position: absolute;
  width: 272px; height: 272px;
  border-radius: 50%;
  border: 1px dashed rgba(138,43,226,0.07);
  pointer-events: none;
  animation: dp-orbit 15s linear infinite reverse;
}
@keyframes dp-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Three.js canvas */
#homeDiamondCanvas {
  position: relative;
  z-index: 2;
  display: block;
}

/* ── Hexágono premium que enmarca el diamante ── */
.diamond-hex {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
}

/* Fase 1E.2: hex frame neutralized — Diamond floats free over constellation */
.diamond-hex::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Hover: glow dorado en el hex */
/* Fase 1E.2: hex hover glow neutralized with frame */
.diamond-portal-link:hover .diamond-hex::before {
  opacity: 0;
}

/* Ground reflection pool */
.diamond-portal-glow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(180,220,255,0.1) 0%, rgba(212,175,55,0.07) 40%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s, width 0.5s;
  opacity: 0.8;
}
.diamond-portal-link:hover .diamond-portal-glow {
  opacity: 1;
  width: 200px;
}

/* Pulse rings — larger, further, lighter */
.diamond-pulse-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(212,175,55,0.18);
  animation: kc-diamond-pulse 4.5s ease-out infinite;
}
.ring-1 { width: 220px; height: 220px; animation-delay: 0s; }
.ring-2 { width: 220px; height: 220px; animation-delay: 1.5s; }
.ring-3 { width: 220px; height: 220px; animation-delay: 3s; }

@keyframes kc-diamond-pulse {
  0%   { transform: scale(1); opacity: 0.35; }
  70%  { opacity: 0.05; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* CTA text — much brighter, readable on dark galaxy */
.diamond-portal-cta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow:
    0 0 14px rgba(212,175,55,0.5),
    0 0 40px rgba(212,175,55,0.15),
    0 1px 4px rgba(0,0,0,0.9);
  transition: color 0.3s, letter-spacing 0.4s var(--ease-expo);
  animation: kc-hint-pulse 2.8s ease-in-out infinite;
}

.diamond-portal-link:hover .diamond-portal-cta {
  color: #F2D06B;
  letter-spacing: 0.48em;
  text-shadow:
    0 0 20px rgba(242,208,107,0.7),
    0 0 50px rgba(212,175,55,0.25);
}

.diamond-portal-count {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ── PRICING ── */
.pricing-container {
  max-width: 750px;
  margin: 0 auto;
}

.pricing-table {
  border: 1px solid var(--border);
  background: var(--gold-glass);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.pricing-header-row {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 1.8rem;
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid var(--border);
}

.pricing-header-row .pricing-col-product,
.pricing-header-row .pricing-col-price {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.8rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
  transition: background 0.3s;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:hover {
  background: rgba(212, 175, 55, 0.04);
}

.pricing-col-product {
  font-size: 0.82rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-emoji {
  font-size: 1.1rem;
}

.pricing-col-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-addons {
  margin-top: 3rem;
}

.pricing-addons-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-table--addons {
  border-color: var(--violet-glow);
  background: rgba(14, 6, 32, 0.4);
}

.pricing-table--addons .pricing-row:hover {
  background: rgba(138, 43, 226, 0.06);
}

.pricing-note {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  margin-top: 2.5rem;
}


/* ── PHASE 05 — LAUNCH PACKAGES + COUNTDOWN ── */
.kc-packages-intro {
  max-width: 760px;
  margin: 1.2rem auto 0;
  color: var(--cream-dim);
  line-height: 1.7;
  font-size: clamp(0.88rem, 2.4vw, 1rem);
}
.launch-countdown {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: center;
  max-width: 1120px;
  margin: -1.2rem auto 2rem;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background:
    linear-gradient(135deg, rgba(212,175,55,0.10), rgba(255,255,255,0.025)),
    rgba(5,5,5,0.78);
  box-shadow: 0 18px 55px rgba(0,0,0,0.30);
}
.launch-countdown-kicker,
.package-launch-label {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.launch-countdown-copy strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.launch-countdown-copy p {
  color: var(--cream-dim);
  line-height: 1.65;
  font-size: 0.86rem;
}
.launch-countdown-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}
.launch-countdown-clock span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid rgba(212,175,55,0.18);
  background: rgba(255,255,255,0.035);
}
.launch-countdown-clock strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  line-height: 1;
}
.launch-countdown-clock small {
  color: rgba(245,235,211,0.62);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.launch-countdown--ended {
  opacity: 0.82;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 100%;
  padding: 1.3rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.10), transparent 36%),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.package-card--featured,
.package-card--selected {
  border-color: rgba(212, 175, 55, 0.55);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.16), transparent 38%),
    rgba(8, 7, 5, 0.84);
}
.package-card:hover { transform: translateY(-3px); }
.package-badge,
.package-kicker,
.package-limit {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.package-badge {
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  color: var(--gold);
}
.package-kicker { color: rgba(212, 175, 55, 0.72); }
.package-card h3 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.package-subtitle {
  color: rgba(245, 235, 211, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}
.package-price-stack {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid rgba(212,175,55,0.18);
  background: rgba(212,175,55,0.055);
}
.package-price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: 0.05em;
}
.package-price-before {
  color: rgba(245,235,211,0.64);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.package-price-before s {
  color: rgba(245,235,211,0.48);
  text-decoration-color: rgba(212,175,55,0.85);
  text-decoration-thickness: 2px;
}
.package-copy,
.package-list,
.package-limit {
  color: var(--cream-dim);
  line-height: 1.65;
}
.package-list {
  padding-left: 1.15rem;
  margin: 0;
  font-size: 0.84rem;
}
.package-list li + li { margin-top: 0.25rem; }
.package-limit {
  margin-top: auto;
  color: rgba(245, 235, 211, 0.62);
}
.package-actions,
.cta-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.package-primary,
.package-secondary,
.cta-concierge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.package-primary {
  color: #050505;
  background: linear-gradient(135deg, #D4AF37, #F2D06B);
  font-weight: 800;
}
.package-secondary,
.cta-concierge-btn {
  color: var(--cream);
  border: 1px solid rgba(245, 235, 211, 0.22);
  background: rgba(255, 255, 255, 0.035);
}
.conversion-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 2rem auto 0;
}
.conversion-proof-card,
.conversion-faq {
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: rgba(255, 255, 255, 0.035);
  padding: 1.1rem;
}
.conversion-proof-card svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.8rem;
}
.conversion-proof-card h3,
.conversion-faq h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.conversion-proof-card p,
.conversion-faq p {
  color: var(--cream-dim);
  line-height: 1.65;
  font-size: 0.84rem;
}
.conversion-faq {
  max-width: 900px;
  margin: 2rem auto 0;
}
.conversion-faq details {
  border-top: 1px solid rgba(212, 175, 55, 0.10);
  padding: 0.9rem 0;
}
.conversion-faq summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
@media (max-width: 980px) {
  .package-grid,
  .conversion-proof-grid { grid-template-columns: 1fr; }
  .launch-countdown { grid-template-columns: 1fr; }
  .package-card { padding: 1rem; }
  .package-actions,
  .cta-action-stack { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .launch-countdown { padding: 0.85rem; }
  .launch-countdown-clock { gap: 0.32rem; }
  .launch-countdown-clock span { min-height: 62px; }
  .package-price { font-size: 1.45rem; }
}

/* ── SECTION SHARED ── */
.kc-section {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ══════════════════════════════════════════
   CINEMATIC TITLES v5 — Cascada + Glitch Fractal
   Un solo sistema. Cada título = su propia aura.
   ══════════════════════════════════════════ */

/* ── Base: character split container ── */
.kc-title-fx {
  perspective: 800px;
  overflow: visible;
}

.kc-title-fx .kc-char {
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* ── Glitch Fractal — activates AFTER cascade reveal ── */
.kc-title-fx.kc-glitched .kc-char {
  animation: kc-fractal-glitch var(--g-speed, 4s) steps(2) infinite;
  animation-delay: calc(var(--char-i, 0) * var(--g-stagger, 0.12s));
}

@keyframes kc-fractal-glitch {
  0%, 88%, 100% {
    text-shadow: none;
    transform: none;
  }
  89% {
    text-shadow:
      calc(var(--g-dx, -2px)) 0 var(--g-color-a, rgba(212,175,55,0.7)),
      calc(var(--g-dx, -2px) * -1) 0 var(--g-color-b, rgba(242,208,107,0.5));
    transform: translate(var(--g-dx, -2px), var(--g-dy, 1px)) skewX(var(--g-skew, -2deg));
  }
  91% {
    text-shadow:
      calc(var(--g-dx, -2px) * -0.7) 0 var(--g-color-b, rgba(242,208,107,0.5)),
      calc(var(--g-dx, -2px) * 0.5) 0 var(--g-color-a, rgba(212,175,55,0.7));
    transform: translate(calc(var(--g-dx, -2px) * -0.6), calc(var(--g-dy, 1px) * -0.8)) skewX(calc(var(--g-skew, -2deg) * -0.5));
  }
  93% {
    text-shadow:
      1px 0 var(--g-color-a, rgba(212,175,55,0.7));
    transform: translate(0.5px, -0.5px);
  }
}

/* ─── AURAS — custom properties per title ─── */

/* 1. HERO "Enviamos un portal" — Aggressive, wide displacement */
.hero-headline {
  --g-speed: 3.5s;
  --g-stagger: 0.08s;
  --g-dx: -3px;
  --g-dy: 1.5px;
  --g-skew: -3deg;
  --g-color-a: rgba(242,208,107,0.8);
  --g-color-b: rgba(212,175,55,0.6);
}
.hero-headline .gold {
  color: var(--gold-bright);
}

/* 2. MANIFESTO — Más sutil, elegante, lento */
.manifesto-quote {
  --g-speed: 6s;
  --g-stagger: 0.06s;
  --g-dx: -1.5px;
  --g-dy: 0.8px;
  --g-skew: -1deg;
  --g-color-a: rgba(212,175,55,0.5);
  --g-color-b: rgba(245,237,214,0.35);
}
.manifesto-quote .accent {
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(212,175,55,0.25);
}

/* 3. NUESTROS UNIVERSOS — Medium pulse, cósmico */
.title-glitch {
  --g-speed: 4.5s;
  --g-stagger: 0.1s;
  --g-dx: -2.5px;
  --g-dy: 1px;
  --g-skew: -2.5deg;
  --g-color-a: rgba(212,175,55,0.65);
  --g-color-b: rgba(138,43,226,0.3);
  color: var(--gold);
  position: relative;
  animation: none;
  filter: none;
}

/* 4. KC-RSVP — Rápido, eléctrico */
.rsvp-logotype {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  line-height: 1;
  --g-speed: 3s;
  --g-stagger: 0.05s;
  --g-dx: -3.5px;
  --g-dy: 2px;
  --g-skew: -4deg;
  --g-color-a: rgba(242,208,107,0.9);
  --g-color-b: rgba(255,255,255,0.4);
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(212,175,55,0.18));
}

/* 5. KC-STYLES — Cascade original + subtle glitch after */
.title-prismatic {
  --g-speed: 5s;
  --g-stagger: 0.14s;
  --g-dx: -2px;
  --g-dy: 0.5px;
  --g-skew: -1.5deg;
  --g-color-a: rgba(212,175,55,0.55);
  --g-color-b: rgba(200,200,200,0.3);
  opacity: 1;
}

/* 6. GOLD FORGE — warmth pulse stays, glitch very gentle */
.title-gold-forge {
  --g-speed: 7s;
  --g-stagger: 0.1s;
  --g-dx: -1px;
  --g-dy: 0.5px;
  --g-skew: -0.5deg;
  --g-color-a: rgba(255,230,80,0.45);
  --g-color-b: rgba(212,175,55,0.3);
  animation: gold-forge-v5 3.5s ease-in-out infinite;
}
@keyframes gold-forge-v5 {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(212,175,55,0.12),
      0 0 30px rgba(212,175,55,0.04);
    color: var(--cream);
  }
  50% {
    text-shadow:
      0 0 4px rgba(255,255,220,1),
      0 0 18px rgba(242,208,107,0.9),
      0 0 45px rgba(212,175,55,0.55);
    color: #fff9e0;
  }
}

/* ── Mobile — reduce glitch displacement ── */
@media (max-width: 480px) {
  .kc-title-fx.kc-glitched .kc-char {
    --g-dx: -1px;
    --g-dy: 0.5px;
    --g-skew: -1deg;
  }
}
/* ── Block-level glitch (largo prose/títulos sin char-split) ── */
.kc-glitch-block {
  animation: kc-block-glitch var(--g-speed, 6s) steps(2) infinite;
}
@keyframes kc-block-glitch {
  0%, 88%, 100% {
    text-shadow: none;
    transform: none;
  }
  89% {
    text-shadow:
      calc(var(--g-dx, -1.5px)) 0 var(--g-color-a, rgba(212,175,55,0.45)),
      calc(var(--g-dx, -1.5px) * -1) 0 var(--g-color-b, rgba(242,208,107,0.3));
    transform: translateX(var(--g-dx, -1.5px)) skewX(var(--g-skew, -1deg));
  }
  91% {
    text-shadow:
      calc(var(--g-dx, -1.5px) * -0.5) 0 var(--g-color-b, rgba(242,208,107,0.3));
    transform: translateX(0.5px);
  }
  93% { text-shadow: none; transform: none; }
}

/* Auras de los nuevos targets */
.pricing-addons-title {
  --g-speed: 5.5s;
  --g-stagger: 0.07s;
  --g-dx: -1.8px;
  --g-dy: 0.6px;
  --g-skew: -1.5deg;
  --g-color-a: rgba(212,175,55,0.5);
  --g-color-b: rgba(245,237,214,0.3);
}
.cta-headline {
  --g-speed: 4s;
  --g-stagger: 0.05s;
  --g-dx: -2.5px;
  --g-dy: 1px;
  --g-skew: -2deg;
  --g-color-a: rgba(242,208,107,0.75);
  --g-color-b: rgba(212,175,55,0.5);
}

/* ── SERVICE CARDS — Ola de flotación (wave cascade) ──
   Cada card flota en secuencia como ola marina.
   Safe con el marquee: translateY en card, el track
   maneja el scroll horizontal → sin conflicto. */
@keyframes kc-card-wave {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50%       { transform: translateY(-9px) rotateX(1.5deg); }
}

/* Wave base */
.universos-track > .service-card {
  animation: kc-card-wave 2.6s ease-in-out infinite;
  will-change: transform;
}

/* 20-step stagger — cada card en su propia fase de ola */
.universos-track > .service-card:nth-child(1)  { animation-delay: 0s;    }
.universos-track > .service-card:nth-child(2)  { animation-delay: 0.18s; }
.universos-track > .service-card:nth-child(3)  { animation-delay: 0.36s; }
.universos-track > .service-card:nth-child(4)  { animation-delay: 0.54s; }
.universos-track > .service-card:nth-child(5)  { animation-delay: 0.72s; }
.universos-track > .service-card:nth-child(6)  { animation-delay: 0.90s; }
.universos-track > .service-card:nth-child(7)  { animation-delay: 1.08s; }
.universos-track > .service-card:nth-child(8)  { animation-delay: 1.26s; }
.universos-track > .service-card:nth-child(9)  { animation-delay: 1.44s; }
.universos-track > .service-card:nth-child(10) { animation-delay: 1.62s; }
.universos-track > .service-card:nth-child(11) { animation-delay: 1.80s; }
.universos-track > .service-card:nth-child(12) { animation-delay: 1.98s; }
.universos-track > .service-card:nth-child(13) { animation-delay: 2.16s; }
.universos-track > .service-card:nth-child(14) { animation-delay: 2.34s; }
.universos-track > .service-card:nth-child(15) { animation-delay: 2.52s; }
.universos-track > .service-card:nth-child(16) { animation-delay: 0.09s; }
.universos-track > .service-card:nth-child(17) { animation-delay: 0.27s; }
.universos-track > .service-card:nth-child(18) { animation-delay: 0.45s; }
.universos-track > .service-card:nth-child(19) { animation-delay: 0.63s; }
.universos-track > .service-card:nth-child(20) { animation-delay: 0.81s; }

/* El glitch fractal de .service-name se suma: el card flota
   Y el texto glitchea independientemente → doble dimensión */

/* Perspective en el track para que el rotateX de la ola
   se vea con profundidad correcta */
.universos-track {
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

/* Mobile: ola más suave, sin perspectiva pesada */
@media (max-width: 480px) {
  @keyframes kc-card-wave {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-5px); }
  }
  .universos-track { perspective: none; }
}

/* ── SERVICE-NAME char spans (cascade cristalina via JS) ── */
.service-name .kc-char {
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.kc-char.kc-space {
  display: inline !important;
  white-space: normal !important;
}

.kc-word {
  display: inline-block !important;
  white-space: nowrap !important;
}

.divider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}



/* ── REVEAL SYSTEM ── */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.85s var(--ease-silk), transform 0.85s var(--ease-silk);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

.reveal-d5 {
  transition-delay: 0.5s;
}

.reveal-d6 {
  transition-delay: 0.6s;
}

/* ── KEYFRAMES ── */
@keyframes kc-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.55); }
}

/* ═══════════════════════════════════════════
   P2 — AMBIENT CONSTELLATION SHIMMER (✦ symbols)
   Pure CSS, GPU-only (transform + opacity)
   ═══════════════════════════════════════════ */
.star-shimmer {
  display: inline-block;
  will-change: transform, opacity;
  animation: star-drift-a 5.8s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* Even stars drift at a different phase/speed */
.star-shimmer:nth-child(even) {
  animation-name: star-drift-b;
  animation-duration: 4.6s;
  animation-delay: 1.2s;
}

@keyframes star-drift-a {
  0%, 100% { opacity: 0.55; transform: translateY(0px) scale(1); }
  35%       { opacity: 1;    transform: translateY(-1.5px) scale(1.02); }
  70%       { opacity: 0.75; transform: translateY(1px)   scale(0.99); }
}

@keyframes star-drift-b {
  0%, 100% { opacity: 0.65; transform: translateY(0px) scale(1); }
  40%       { opacity: 0.9;  transform: translateY(-1px)   scale(1.03); }
  75%       { opacity: 0.5;  transform: translateY(1.5px)  scale(0.98); }
}

/* Tiny particle around titles — pure CSS pseudo-elements */
.title-particle-host {
  position: relative;
  display: inline-block;
}

.title-particle-host::before,
.title-particle-host::after {
  content: '';
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(212,175,55,0.7);
  box-shadow: 0 0 4px rgba(212,175,55,0.5);
  pointer-events: none;
  will-change: transform, opacity;
}

.title-particle-host::before {
  top: -6px; right: -8px;
  animation: tp-orbit-a 7s ease-in-out infinite;
}

.title-particle-host::after {
  bottom: -4px; left: -10px;
  width: 1.5px; height: 1.5px;
  animation: tp-orbit-b 9s ease-in-out 2.5s infinite;
}

@keyframes tp-orbit-a {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  20%       { opacity: 0.8; }
  50%       { opacity: 0.4; transform: translate(3px, 2px); }
  80%       { opacity: 0.7; }
}

@keyframes tp-orbit-b {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  30%       { opacity: 0.6; }
  55%       { opacity: 0.3; transform: translate(-2px, -3px); }
  75%       { opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   P3 — MANIFESTO READABILITY LAYER
   Localized cinematic dark diffusion
   ═══════════════════════════════════════════ */
.manifesto-body-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  /* No background — the dark background was creating a visible oval smudge */
  padding: 0.4rem 1.2rem;
}

.manifesto-body-wrap .manifesto-body {
  max-width: 100%;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.95;
  text-wrap: balance;
}

/* Strategic keyword highlight — extremely restrained gradient clip */
.kc-keyword {
  position: relative;
  display: inline;
  font-weight: 400;
  background: linear-gradient(
    135deg,
    #F2D06B 0%,
    #D4AF37 40%,
    #B8922A 70%,
    #D4AF37 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: kc-keyword-shimmer 7s ease-in-out infinite;
}

@keyframes kc-keyword-shimmer {
  0%, 100% { background-position: 0% center; }
  50%       { background-position: 100% center; }
}

/* ═══════════════════════════════════════════
   P4 — CINEMATIC BRIDGE (Hero → Manifesto)
   Atmospheric fog + floating particles
   ═══════════════════════════════════════════ */
.cinematic-bridge {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
  pointer-events: none;
  /* No negative margin — was creating a dark band overlap */
  z-index: 2;
}

/* Gradient fog layer — extremely subtle, almost imperceptible */
.cb-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(3, 1, 9, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating particles descend from hero into manifesto */
.cb-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212,175,55,0.5);
  box-shadow: 0 0 6px rgba(212,175,55,0.3);
  pointer-events: none;
  will-change: transform, opacity;
}

.cb-p1 {
  width: 2px; height: 2px;
  left: 23%; top: 10%;
  animation: cb-descend 6s ease-in-out infinite;
}
.cb-p2 {
  width: 1.5px; height: 1.5px;
  left: 58%; top: 25%;
  background: rgba(242,208,107,0.4);
  animation: cb-descend 8.5s ease-in-out 1.8s infinite;
}
.cb-p3 {
  width: 1px; height: 1px;
  left: 40%; top: 5%;
  animation: cb-descend 7s ease-in-out 3.5s infinite;
}
.cb-p4 {
  width: 2px; height: 2px;
  left: 76%; top: 15%;
  background: rgba(200,180,100,0.3);
  animation: cb-descend 9.2s ease-in-out 0.9s infinite;
}

@keyframes cb-descend {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: 0.7; }
  75%  { opacity: 0.2; }
  100% { transform: translateY(70px); opacity: 0; }
}

/* Mobile: hide secondary particles, keep fog */
@media (max-width: 640px) {
  .cb-p2, .cb-p4 { display: none; }
  .cinematic-bridge { height: 50px; }
}

@keyframes kc-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes kc-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 12px var(--gold-glow));
  }

  50% {
    filter: drop-shadow(0 0 40px var(--gold-glow));
  }
}


* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* ── HERO BRAND MARK WRAPPER ── */
.hero-brand-svg-wrap {
  width: 100%;
  max-width: min(960px, 94vw);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .kc-nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    z-index: 99;
    border-top: 1px solid var(--border);
    
    /* Sliding fade animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.4s var(--ease-silk), transform 0.4s var(--ease-silk), visibility 0.4s;
  }

  .kc-nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .kc-nav-links.open a {
    font-size: 0.9rem;
  }

  .kc-nav-toggle {
    display: flex;
  }



  body {
    cursor: auto;
  }

  .kc-nav {
    padding: 1.2rem 1.5rem;
  }

  .stats-row {
    gap: 2rem;
  }

  /* ── FILMSTRIP SNAP en móvil ── */
  .rsvp-pills {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 1rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: unset;
  }
  .rsvp-pills::-webkit-scrollbar { display: none; }
  .rsvp-pill {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .diamond-portal-wrap {
    width: 160px;
    height: 160px;
  }

  #homeDiamondCanvas {
    width: 130px !important;
    height: 130px !important;
  }

  .manifesto-quote {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .rsvp-stat-num {
    font-size: clamp(4rem, 22vw, 8rem);
  }
}

@media (min-width: 769px) {

  .rsvp-pills {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════ CTA FINAL ═══════════ */
.cta-final {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
}

.cta-card {
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.cta-body {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--cream-dim);
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-wa-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

/* ── FASE 1J-E microfix: CTA preview gold — ruta interna, no WhatsApp ── */
.cta-preview-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(242, 208, 107, 0.18) 0%,
    rgba(12, 10, 24, 0.85) 60%,
    rgba(5, 5, 6, 0.95) 100%
  );
  color: var(--gold-bright, #F2D06B);
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.15),
    0 4px 24px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(242, 208, 107, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-preview-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.80);
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.28),
    0 8px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(242, 208, 107, 0.35);
}

.cta-preview-btn:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.80);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cta-preview-btn {
    transition: none !important;
    transform: none !important;
  }
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-trust span {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(245, 237, 214, 0.35);
}

/* ═══════════ FOOTER ═══════════ */
#kcFooter {
  position: relative; /* Fase 1F.1: anchor for absolute Orion SVG */
  overflow: hidden;
  padding: 3.5rem 2rem 2.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.02));
}

.footer-inner {
  position: relative; /* above the absolute Orion layer */
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* La Monarchie en el logo — máximo impacto */
.footer-logo {
  font-family: var(--font-monarchie);
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #9A7A2E 0%, #D4AF37 35%, #F2D06B 55%, #D4AF37 75%, #9A7A2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
  line-height: 1.2;
  display: block;
  padding-top: 0.2rem;
}

.footer-logo-accent {
  font-family: var(--font-monarchie);
  font-weight: normal;
  letter-spacing: 0.04em;
}

/* Tagline — #C8BBAA (warm cream, HSL 38°,18%,68%) */
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: #C8BBAA;
  margin-top: -0.5rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  max-width: 380px;
}

/* Links — #9A8C7A (HSL 38°,12%,55%) */
.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A8C7A;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-links a:hover {
  color: #D4AF37;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
  margin-top: -0.5rem;
}

/* Copy — #7A7066 (HSL 38°,8%,43%) */
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: #7A7066;
  letter-spacing: 0.1em;
}

.footer-ix {
  cursor: pointer;
  color: #9A8C7A;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-ix:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* Motto — gold visible, La Monarchie elegante */
.footer-motto {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--gold);
  margin-top: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-eye-svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  filter: drop-shadow(0 0 4px var(--gold-glow));
}


/* ══════════════════════════════════════════════════════
   FASE 1F — FOOTER ORIÓN CONSTELLATION
   SVG estático — joyería premium en el fondo de la página.
   Shimmer ultra-sutil, desactivado en prefers-reduced-motion.
   ══════════════════════════════════════════════════════ */

/* Shimmer keyframe — opacity oscillation */
@keyframes fo-shimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* Fase 1F.1: Orion is absolute bg — zero layout impact */
.footer-orion {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 90vw);
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
  overflow: visible;
}

/* Belt stars — champagne/ivory warm */
.fo-star.fo-major {
  fill: rgba(240, 225, 190, 0.92);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.32));
  animation: fo-shimmer 6s ease-in-out infinite;
}

/* Staggered shimmer per belt star */
.fo-major:nth-child(1) { animation-delay: 0s; }
.fo-major:nth-child(2) { animation-delay: 1.8s; }
.fo-major:nth-child(3) { animation-delay: 3.6s; }

/* Shoulder/foot stars — cold blue-white */
.fo-star.fo-faint {
  fill: rgba(160, 190, 255, 0.55);
}

/* Ultra-ghost depth stars — barely there */
.fo-star.fo-ghost {
  fill: rgba(200, 220, 255, 0.28);
}

/* Belt thread — ultra-faint gold line */
/* Fase 1F.1: thread removed — stars live by placement, not diagram */
.fo-thread {
  display: none;
}

/* ══ Micro-constellation separator before motto ══ */
/* CSS-only static 3-star accent via .footer-bottom::before */
.footer-bottom::before {
  content: '✦  ·  ✦  ·  ✦';
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.5em;
  color: rgba(212, 175, 55, 0.22);
  text-align: center;
  margin-bottom: 0.75rem;
  pointer-events: none;
}

/* ══ FASE 1F — Reduced-motion: no shimmer ══ */
@media (prefers-reduced-motion: reduce) {
  .fo-star.fo-major {
    animation: none !important;
  }
}

/* ═══════════ IX REALM 👁️ ═══════════ */
.ix-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
}

.ix-overlay.active {
  display: flex;
}

.ix-content {
  text-align: center;
}

.ix-glyph {
  font-size: 4rem;
  animation: ixPulse 2s ease-in-out infinite;
}

@keyframes ixPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8
  }

  50% {
    transform: scale(1.15);
    opacity: 1
  }
}

.ix-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.4em;
  color: rgba(212, 175, 55, 0.6);
  margin-top: 1rem;
}

.ix-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(245, 237, 214, 0.25);
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
  line-height: 1.8;
}

.ix-close {
  margin-top: 2.5rem;
  padding: 0.6rem 2rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ix-close:hover {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
}

/* ── KC-RSVP Mobile ── */
@media (max-width: 768px) {
  .rsvp-logotype {
    font-size: clamp(1.8rem, 9vw, 3rem);
    gap: 0.25em;
  }
  .rsvp-section {
    padding: 3.5rem 1.2rem 4rem;
    gap: 3rem;
  }
  .rsvp-deck {
    max-width: 340px;
  }
  .deck-viewport {
    height: 280px;
  }
  .deck-card {
    padding: 2rem 1.5rem 1.6rem;
  }
  .deck-card-title {
    font-size: 0.82rem;
  }
  .deck-card-body {
    font-size: 0.75rem;
    line-height: 1.8;
  }
}



/* ══════════════════════════════════════════
   #INCLUYE — CINEMATIC COVERFLOW
   Horizontal snap carousel · GPU-optimized
   ══════════════════════════════════════════ */

#incluye {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

#incluye::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(212,175,55,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 30%, rgba(70,20,150,0.05) 0%, transparent 70%);
  pointer-events: none;
}

#incluye .section-header {
  position: relative; z-index: 1;
  padding: 0 2rem;
}

.section-eyebrow--incluye {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
  text-align: center;
}

.incluye-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--cream);
  text-align: center;
  margin-bottom: 0.8rem;
  --g-speed: 5s;
  --g-stagger: 0.09s;
  --g-dx: -2px;
  --g-dy: 1px;
  --g-skew: -2deg;
  --g-color-a: rgba(212,175,55,0.6);
  --g-color-b: rgba(242,208,107,0.3);
}

.incluye-subtitle {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--cream-dim);
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

/* ── Coverflow Viewport ── */
.coverflow-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 3rem 0 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.coverflow-viewport:active { cursor: grabbing; }

.coverflow-track {
  display: flex;
  gap: 1.2rem;
  padding: 2rem 0;
  will-change: transform;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Card ── */
.cf-card {
  flex: 0 0 220px;
  width: 220px;
  min-height: 300px;
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  background: rgba(5, 3, 15, 0.65);
  border: 1px solid rgba(212,175,55,0.1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  overflow: hidden;
  transform: scale(0.85) rotateY(0deg);
  opacity: 0.45;
  filter: brightness(0.65);
  transition: transform 0.55s var(--ease-expo), opacity 0.55s var(--ease-expo), filter 0.55s var(--ease-expo), border-color 0.4s;
  will-change: transform, opacity, filter;
}

/* Corner accent cuts */
.cf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212,175,55,0.22) 0%, transparent 22%) top left / 12px 12px no-repeat,
    linear-gradient(315deg, rgba(212,175,55,0.12) 0%, transparent 22%) bottom right / 12px 12px no-repeat;
  pointer-events: none;
}

/* Top gold line */
.cf-card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

/* ── Active center card ── */
.cf-card.cf-active {
  transform: scale(1) rotateY(0deg);
  opacity: 1;
  filter: brightness(1.15);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.cf-card.cf-active::after { opacity: 1; }

/* Adjacent cards — cinturón de Orión perspective */
.cf-card.cf-near-left {
  transform: scale(0.88) rotateY(6deg) translateX(8px);
  opacity: 0.65;
  filter: brightness(0.8);
}

.cf-card.cf-near-right {
  transform: scale(0.88) rotateY(-6deg) translateX(-8px);
  opacity: 0.65;
  filter: brightness(0.8);
}

.cf-card.cf-far {
  transform: scale(0.78) rotateY(0deg);
  opacity: 0.45;
  filter: brightness(0.65);
}

/* Cinematic settle bounce triggers on transition end */
.cf-card.cf-bounce {
  animation: cf-settle 550ms cubic-bezier(0.25, 1.15, 0.45, 1.1) forwards;
}

@keyframes cf-settle {
  0% {
    transform: scale(1) rotateY(0deg) translateY(0);
  }
  30% {
    transform: scale(1.04, 0.94) translateY(-8px);
  }
  50% {
    transform: scale(0.97, 1.03) translateY(3px);
  }
  70% {
    transform: scale(1.015, 0.985) translateY(-2px);
  }
  85% {
    transform: scale(0.995, 1.005) translateY(0.5px);
  }
  100% {
    transform: scale(1) rotateY(0deg) translateY(0);
  }
}

/* ── Card internals ── */
.cf-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
}

.cf-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.3));
  overflow: visible;
}

/* SVG draw animation on reveal */
.cf-icon svg path,
.cf-icon svg circle,
.cf-icon svg rect,
.cf-icon svg line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1s var(--ease-expo);
}

.cf-card.cf-drawn .cf-icon svg path,
.cf-card.cf-drawn .cf-icon svg circle,
.cf-card.cf-drawn .cf-icon svg rect,
.cf-card.cf-drawn .cf-icon svg line {
  stroke-dashoffset: 0;
}

.cf-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.2;
}

.cf-body {
  font-size: 0.7rem;
  line-height: 1.8;
  color: var(--cream-dim);
}

/* ── Dots ── */
.cf-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cf-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.4s var(--ease-expo);
}

.cf-dot.active {
  width: 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(138,43,226,0.5), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.35);
}

.cf-hint {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.35);
  margin-top: 1rem;
  animation: kc-hint-pulse 2.8s ease-in-out infinite;
}

@media (max-width: 640px) {
  .cf-card {
    flex: 0 0 200px;
    width: 200px;
    min-height: 270px;
    padding: 1.5rem 1.1rem 1.3rem;
  }
  .coverflow-track {
    padding: 1.5rem 0;
    gap: 0.8rem;
  }
}

/* ══════════════════════════════════════════
   RSVP DECK — GPU PERF OPTIMIZATION
   backdrop-filter only on active card
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   KC-RSVP GALAXY COMPARE — 2 Worlds, 1 Winner
   Concepto: Grieta espacial entre dimensiones
   ══════════════════════════════════════════ */

.rsvp-battle-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* Battle header */
.rsvp-battle-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow:
    0 0 10px rgba(212,175,55,0.5),
    0 0 25px rgba(212,175,55,0.15),
    0 1px 4px rgba(0,0,0,0.8);
  margin-bottom: 2.5rem;
  animation: kc-hint-pulse 3s ease-in-out infinite;
}

/* Container — side by side, split by the rift */
.rsvp-battle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  position: relative;
}

/* ── Rift (center divider) ── */
.rsvp-rift {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.rsvp-rift__line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(212,175,55,0.6) 20%,
    rgba(255,255,255,0.9) 50%,
    rgba(212,175,55,0.6) 80%,
    transparent
  );
  position: relative;
}

/* Lightning sparks on the rift */
.rsvp-rift__line::before,
.rsvp-rift__line::after {
  content: '';
  position: absolute;
  left: -3px;
  width: 7px;
  height: 1px;
  background: rgba(212,175,55,0.8);
  animation: rift-spark 2.4s ease-in-out infinite;
}

.rsvp-rift__line::before { top: 25%; animation-delay: 0s; }
.rsvp-rift__line::after  { top: 75%; animation-delay: 1.2s; }

@keyframes rift-spark {
  0%, 100% { opacity: 0; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(2.5); }
}

.rsvp-rift__badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(5,3,15,0.95) 70%);
  border: 1px solid rgba(212,175,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-family: var(--font-body);
  color: var(--gold);
  letter-spacing: 0.05em;
  font-weight: 700;
  box-shadow:
    0 0 16px rgba(212,175,55,0.2),
    inset 0 0 10px rgba(212,175,55,0.05);
  animation: rift-badge-pulse 3s ease-in-out infinite;
  z-index: 4;
  flex-shrink: 0;
}

@keyframes rift-badge-pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(212,175,55,0.15), inset 0 0 8px rgba(212,175,55,0.04);
    border-color: rgba(212,175,55,0.4);
  }
  50% {
    box-shadow: 0 0 28px rgba(212,175,55,0.5), 0 0 60px rgba(212,175,55,0.15), inset 0 0 16px rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.9);
  }
}

/* ── Plan panels ── */
.rsvp-plan-battle {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  background: rgba(5, 3, 15, 0.55);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 2px;
  overflow: hidden;
}

/* Left plan (⭐) — cool, recessive */
.rsvp-plan-battle--star {
  border-right: none;
  border-radius: 2px 0 0 2px;
}

.rsvp-plan-battle--star::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 50%, rgba(138,43,226,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Right plan (💎) — dominant, erupts with energy */
.rsvp-plan-battle--diamond {
  border-left: none;
  border-radius: 0 2px 2px 0;
  background: rgba(8, 4, 22, 0.7);
  border-color: rgba(212,175,55,0.25);
}

.rsvp-plan-battle--diamond::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(212,175,55,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Diamond top gold line */
.rsvp-plan-battle--diamond::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242,208,107,0.8) 30%, rgba(212,175,55,1) 50%, rgba(242,208,107,0.8) 70%, transparent);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}

.rsvp-plan-battle__header {
  margin-bottom: 1rem;
}

.rsvp-plan-battle__tier {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.rsvp-plan-battle--star .rsvp-plan-battle__tier {
  color: var(--cream-dim);
}

.rsvp-plan-battle--diamond .rsvp-plan-battle__tier {
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(212,175,55,0.5), 0 0 50px rgba(212,175,55,0.2);
  animation: diamond-title-pulse 3s ease-in-out infinite;
}

@keyframes diamond-title-pulse {
  0%, 100% { text-shadow: 0 0 14px rgba(212,175,55,0.4), 0 0 36px rgba(212,175,55,0.15); }
  50% { text-shadow: 0 0 28px rgba(242,208,107,0.85), 0 0 70px rgba(212,175,55,0.4), 0 0 120px rgba(212,175,55,0.1); }
}

.rsvp-plan-battle__price {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-family: var(--font-body);
}

.rsvp-plan-battle--star .rsvp-plan-battle__price {
  color: rgba(138,43,226,0.7);
}

.rsvp-plan-battle--diamond .rsvp-plan-battle__price {
  color: var(--gold);
}

/* Feature list */
.rsvp-plan-battle__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.rsvp-plan-battle__list li {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--cream-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.rsvp-plan-battle--diamond .rsvp-plan-battle__list li {
  color: var(--cream);
}

.rsvp-plan-battle__list li::before {
  content: '✦';
  font-size: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.rsvp-plan-battle--star .rsvp-plan-battle__list li::before {
  color: rgba(138,43,226,0.5);
}

.rsvp-plan-battle--diamond .rsvp-plan-battle__list li::before {
  color: var(--gold);
}

/* Diamond exclusive items glow */
.rsvp-plan-battle--diamond .rsvp-plan-battle__list li.exclusive {
  color: var(--gold-bright);
  font-weight: 600;
}

.rsvp-plan-battle__rec {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,175,55,0.15);
  font-family: var(--font-body);
  animation: kc-hint-pulse 2.5s ease-in-out infinite;
}

/* Command Center teaser */
.rsvp-cmd-center {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 2.4rem;
  background: rgba(5, 3, 12, 0.7);
  border: 1px solid rgba(212,175,55,0.12);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  overflow: hidden;
}

.rsvp-cmd-center::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

/* Scan line sweep */
.rsvp-cmd-center::after {
  content: '';
  position: absolute;
  top: 0; left: -200%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.04), transparent);
  animation: cmd-scan 4s ease-in-out infinite;
}

@keyframes cmd-scan {
  0% { left: -50%; }
  100% { left: 150%; }
}

.rsvp-cmd-badge {
  display: inline-block;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--void);
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  padding: 0.25rem 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.rsvp-cmd-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.rsvp-cmd-body {
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--cream-dim);
}

@media (max-width: 640px) {
  .rsvp-battle {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rsvp-rift {
    width: 100%;
    height: 50px;
    flex-direction: row;
    padding: 0 2rem;
  }
  .rsvp-rift__line {
    flex: 1;
    width: auto;
    height: 1px;
    background: linear-gradient(to right,
      transparent,
      rgba(212,175,55,0.6) 20%,
      rgba(255,255,255,0.9) 50%,
      rgba(212,175,55,0.6) 80%,
      transparent
    );
  }
  .rsvp-rift__line::before,
  .rsvp-rift__line::after {
    top: -3px;
    left: auto;
    width: 1px;
    height: 7px;
    animation: rift-spark-v 2.4s ease-in-out infinite;
  }
  .rsvp-rift__line::before { left: 25%; }
  .rsvp-rift__line::after  { left: 75%; animation-delay: 1.2s; }
  @keyframes rift-spark-v {
    0%, 100% { opacity: 0; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(2.5); }
  }
  .rsvp-plan-battle--star { border-radius: 2px 2px 0 0; border-right: 1px solid rgba(212,175,55,0.1); border-bottom: none; }
  .rsvp-plan-battle--diamond { border-radius: 0 0 2px 2px; border-left: 1px solid rgba(212,175,55,0.25); }
}

/* ══════════════════════════════════════════
   FASE 1A — REDUCED MOTION SAFETY LAYER
   Calma animaciones decorativas para usuarios
   con prefers-reduced-motion: reduce.
   NO oculta contenido. NO rompe layout.
   NO remueve el galaxy aún (Fase 2+).
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  /* Detener animaciones CSS decorativas (pulsos, scanlines, sparks) */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Preservar transitions funcionales de navegación y UI */
  /* (el override de *::before/::after es suficiente para decorativos) */

  /* El canvas de la galaxy permanece visible en esta fase.
     JS (KC_PERFORMANCE_MODE.prefersReducedMotion) ya detiene
     los loops de Gold Particles y Orion Canvas en app.js. */
  #milkyWayCanvas {
    /* Sin cambios en esta fase — se abordará en Fase 2 */
  }
}

/* FASE 1D — Reduced-motion: Cosmic Eye + Constelación */
@media (prefers-reduced-motion: reduce) {
  .kc-eye-portal__img {
    animation: none !important;
    will-change: auto;
    transform: scale(1.01);
  }
  .kc-styles-constellation__img {
    animation: none !important;
  }
}

/* ══════════════════════════════════════════════════════
   FASE 1E — DEEP SPACE SCROLL DISSOLVE
   CSS-first via animation-timeline: scroll()
   @supports guard ensures safe fallback for unsupported browsers.
   Without support: Eye remains static (correct fallback).
   ══════════════════════════════════════════════════════ */

/* Scroll dissolve keyframe */
/* Fase 1E.1: final opacity raised 0.14→0.26 — avoids hard seam */
@keyframes kc-eye-scroll-dissolve {
  0%   { opacity: 1;    transform: scale(1.01); }
  60%  { opacity: 0.78; transform: scale(1.005); }
  100% { opacity: 0.26; transform: scale(1.0); }
}

/* Apply only where scroll-driven animation is supported */
@supports (animation-timeline: scroll()) {
  .kc-eye-portal {
    /* breathing is on __img, dissolve is on the wrapper */
    animation: kc-eye-scroll-dissolve linear both;
    animation-timeline: scroll(root);
    animation-range: 0vh 80vh;
  }
}

/* Ensure breathing + dissolve coexist on the image */
/* __img has its own animation; wrapper gets the scroll timeline */
/* No conflict: different elements, different animation properties */

/* ══ FASE 1E — Reduced-motion: no scroll dissolve ══ */
@media (prefers-reduced-motion: reduce) {
  /* Override any scroll-driven dissolve */
  .kc-eye-portal {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FASE 1I.2 — STICKY MOBILE CTA · Visual Polish (Modo Doctrina)
   Botones flotantes premium. Sin barra contenedor visible.
   Desktop: oculto. Mobile (≤768px): cápsulas ancladas al fondo.
   ══════════════════════════════════════════════════════════════ */

/* ── Hidden on ALL screens by default — shown only on mobile ── */
.kc-sticky-cta {
  display: none;
}

@media (max-width: 768px) {

  /* ── Sticky wrapper — transparente, solo slot de posicionamiento ── */
  .kc-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.55rem 0.65rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    /* Gradiente de fade hacia abajo — evita barra sólida, crea profundidad */
    background: linear-gradient(
      to top,
      rgba(3, 3, 5, 0.92) 0%,
      rgba(3, 3, 5, 0.70) 60%,
      rgba(3, 3, 5, 0.0) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Sin border-top — los botones flotan, no están dentro de un marco */
    border-top: none;
    box-shadow: none;
    align-items: stretch;
    gap: 0.55rem;
  }

  /* ── Body padding so footer is not permanently hidden ── */
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  /* ── Shared button base — cápsulas autónomas ── */
  .kc-sticky-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    min-height: 54px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    /* Profundidad individual de cada cápsula */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  .kc-sticky-cta__btn:active {
    transform: scale(0.97);
  }

  /* ── Eyebrow — FASE 1I.2: legibilidad mejorada sin cambiar tamaño ── */
  .kc-sticky-cta__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 1;  /* Removido el 0.75 — legibilidad total */
  }

  /* ── Main label ── */
  .kc-sticky-cta__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  /* ══════════════════════════════════════════════
     PRIMARY — Preview DaVinci
     Cápsula de oro ceremonial: dominante, luminosa.
     ══════════════════════════════════════════════ */
  .kc-sticky-cta__btn--primary {
    flex: 2;
    /* Gradiente obsidiana-dorado en capas — superficie joya */
    background:
      linear-gradient(
        160deg,
        rgba(242, 208, 107, 0.18) 0%,
        rgba(212, 175, 55, 0.10) 35%,
        rgba(8, 6, 18, 0.88) 100%
      );
    border: 1px solid rgba(212, 175, 55, 0.60);
    /* Aura dorada exterior + filo superior interior */
    box-shadow:
      0 0 18px rgba(212, 175, 55, 0.18),
      0 4px 24px rgba(0, 0, 0, 0.50),
      inset 0 1px 0 rgba(242, 208, 107, 0.30),
      inset 0 -1px 0 rgba(212, 175, 55, 0.08);
  }

  .kc-sticky-cta__btn--primary .kc-sticky-cta__eyebrow {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.50);
    letter-spacing: 0.35em;
  }

  .kc-sticky-cta__btn--primary .kc-sticky-cta__label {
    color: var(--gold-bright);
    text-shadow:
      0 0 14px rgba(242, 208, 107, 0.55),
      0 1px 3px rgba(0, 0, 0, 0.70);
  }

  .kc-sticky-cta__btn--primary:hover,
  .kc-sticky-cta__btn--primary:focus-visible {
    box-shadow:
      0 0 28px rgba(212, 175, 55, 0.30),
      0 4px 24px rgba(0, 0, 0, 0.50),
      inset 0 1px 0 rgba(242, 208, 107, 0.40);
    border-color: rgba(212, 175, 55, 0.85);
    outline: none;
  }

  /* ══════════════════════════════════════════════
     SECONDARY — WhatsApp
     Cápsula crema-obsidiana: elegante, distinta.
     No imita al primario — es otro lenguaje.
     ══════════════════════════════════════════════ */
  .kc-sticky-cta__btn--ghost {
    flex: 1;
    /* Fondo cristal azul-frío / obsidiana — contrasta con el dorado primario */
    background:
      linear-gradient(
        160deg,
        rgba(180, 220, 240, 0.07) 0%,
        rgba(8, 6, 18, 0.82) 100%
      );
    /* Borde crema-plata — distinguible, no compite con el dorado */
    border: 1px solid rgba(200, 187, 170, 0.38);
    box-shadow:
      0 0 12px rgba(0, 0, 0, 0.40),
      0 4px 18px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(200, 187, 170, 0.18);
  }

  .kc-sticky-cta__btn--ghost .kc-sticky-cta__eyebrow {
    color: var(--cream-dim);
    opacity: 1;  /* Era 0.55 — ahora legible */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.60);
    letter-spacing: 0.30em;
  }

  .kc-sticky-cta__btn--ghost .kc-sticky-cta__label {
    color: var(--cream);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }

  .kc-sticky-cta__btn--ghost:hover,
  .kc-sticky-cta__btn--ghost:focus-visible {
    background: linear-gradient(
      160deg,
      rgba(200, 187, 170, 0.10) 0%,
      rgba(8, 6, 18, 0.88) 100%
    );
    border-color: rgba(200, 187, 170, 0.58);
    box-shadow:
      0 0 16px rgba(200, 187, 170, 0.12),
      0 4px 18px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(200, 187, 170, 0.22);
    outline: none;
  }

} /* end @media (max-width: 768px) */

/* ── Reduced-motion: disable button transitions ── */
@media (prefers-reduced-motion: reduce) {
  .kc-sticky-cta__btn {
    transition: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FASE 1J-D.5 — DESKTOP FLOATING PREVIEW CTA · DaVinci Relic
   Solo desktop/tablet grande (≥900px).
   Mobile: oculto — sticky mobile (kc-sticky-cta) cubre ese rol.
   z-index: 901 — sobre sticky (900), bajo nav (9990) y modals.
   ══════════════════════════════════════════════════════════════ */

/* ── Oculto por defecto en TODOS los tamaños ── */
.kc-desktop-preview-float {
  display: none;
}

/* ── Solo aparece en desktop / tablet grande ── */
@media (min-width: 900px) {

  .kc-desktop-preview-float {
    /* Posicionamiento */
    display: flex;
    position: fixed;
    right: clamp(20px, 3vw, 42px);
    bottom: clamp(22px, 4vh, 42px);
    z-index: 901;

    /* Forma: pill compacta */
    align-items: center;
    gap: 12px;
    padding: 13px 20px 13px 16px;
    border-radius: 50px;
    max-width: 230px;

    /* Superficie: obsidian glass KC */
    background: linear-gradient(
      150deg,
      rgba(242, 208, 107, 0.11) 0%,
      rgba(12, 10, 24, 0.82) 55%,
      rgba(5, 5, 6, 0.90) 100%
    );
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow:
      0 0 22px rgba(212, 175, 55, 0.14),
      0 6px 28px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(242, 208, 107, 0.22),
      inset 0 -1px 0 rgba(212, 175, 55, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    /* Tipografía y color */
    color: var(--gold-bright, #F2D06B);
    text-decoration: none;
    cursor: pointer;

    /* Transición */
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  /* ── Orb / glyph ── */
  .kc-desktop-preview-float__orb {
    font-size: 1.05rem;
    line-height: 1;
    color: var(--gold, #D4AF37);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
    flex-shrink: 0;
    user-select: none;
  }

  /* ── Copy stack ── */
  .kc-desktop-preview-float__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .kc-desktop-preview-float__label {
    display: block;
    font-family: var(--font-display, 'Cinzel', serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold-bright, #F2D06B);
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(242, 208, 107, 0.4);
  }

  .kc-desktop-preview-float__sub {
    display: block;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.55rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(245, 230, 200, 0.60);
    line-height: 1;
  }

  /* ── Hover / focus states ── */
  .kc-desktop-preview-float:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow:
      0 0 32px rgba(212, 175, 55, 0.25),
      0 8px 32px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(242, 208, 107, 0.30);
  }

  .kc-desktop-preview-float:active {
    transform: translateY(0);
    transition-duration: 0.08s;
  }

  .kc-desktop-preview-float:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.80);
    outline-offset: 3px;
    border-color: rgba(212, 175, 55, 0.80);
    box-shadow:
      0 0 0 4px rgba(212, 175, 55, 0.15),
      0 6px 28px rgba(0, 0, 0, 0.55);
  }

} /* end @media (min-width: 900px) */

/* ── Reduced-motion: no transform, no glow transition ── */
@media (prefers-reduced-motion: reduce) {
  .kc-desktop-preview-float {
    transition: none !important;
    transform: none !important;
  }
  .kc-desktop-preview-float:hover {
    transform: none !important;
  }
}
