/* ============================================================
   ROYAL GARDEN — KC STUDIO
   style.css
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --cream:      #FCF9F2;
  --olive:      #556B2F;
  --olive-lt:   #7a9e45;
  --gold:       #D4AF37;
  --gold-lt:    #f0d080;
  --gold-dk:    #9A7B10;
  --text-dark:  #2a2410;
  --text-mid:   #5a4e2e;
  --glass-bg:   rgba(255,251,240,0.12);
  --glass-border: rgba(212,175,55,0.3);
  --ff-title:   'Cinzel', serif;
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-sans:    'Montserrat', sans-serif;
  --transition: 0.4s cubic-bezier(0.25,0.8,0.25,1);

  /* KC-Style-Kit v2 — variables requeridas */
  --ft:         'Playfair Display', Georgia, serif;
  --terra:      #D4AF37;
  --terra-l:    #f0d080;
  --olivo:      #556B2F;
  --olivo-l:    #7a9e45;
  --olivo-xl:   #A8BF96;
  --crema:      #FCF9F2;
  --oscuro:     #0D110A;
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.23,1,.32,1);
  --kc-ring-dot: rgba(212,175,55,.9);

  /* KC-Skeleton variables adicionales */
  --fs:       'Montserrat', sans-serif;
  --oscuro2:  #0A0D08;
  --crema-s:  #D2DCBE;
  --texto:    rgba(210,220,190,.6);
  --texto-m:  rgba(168,191,150,.4);
  --borde:    rgba(85,107,47,.15);
  --borde-h:  rgba(85,107,47,.35);
  --bosque-l: #2A6D2B;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #0d110a;
  color: var(--cream);
  font-family: var(--ff-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; }

/* ── FIX GLOBAL: Elimina el highlight azul/gris al tocar en móviles ── */
a, button, [role="button"], input, select, textarea,
.toggle-btn, .trivia__opt-btn, .rg-donde__btn, .clabe-reveal-btn,
.rg-scroll__handle, #seal-btn, .gate-wrapper {
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   PRE-DOOR — Royal Garden Entrance
   ============================================================ */
.pre-door {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.5s ease;
}
.pre-door.exit {
  opacity: 0;
  pointer-events: none;
}

/* Foto de jardín real como fondo */
.pre-door__bg {
  position: absolute; inset: 0;
  background: url('Fotos/royal_facade.jpg') center/cover no-repeat;
  transform: scale(1.06);
  animation: pd-bgBreath 12s ease-in-out infinite alternate;
}
@keyframes pd-bgBreath {
  from { transform: scale(1.06); }
  to   { transform: scale(1.12); }
}

/* Overlay elegante: degradado noche para contraste */
.pre-door__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5,8,3,0.55)  0%,
      rgba(8,12,4,0.35) 40%,
      rgba(5,8,3,0.50)  70%,
      rgba(2,4,1,0.80)  100%),
    radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(2,4,1,0.6) 100%);
}

/* Partículas de luz flotantes */
.pre-door__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pd-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.9), transparent);
  animation: pd-float linear infinite;
}
.pd-p1 { width:4px; height:4px; left:12%; bottom:-10px; animation-duration:14s; animation-delay:0s; opacity:.7; }
.pd-p2 { width:3px; height:3px; left:28%; bottom:-10px; animation-duration:18s; animation-delay:3s; opacity:.5; }
.pd-p3 { width:5px; height:5px; left:52%; bottom:-10px; animation-duration:12s; animation-delay:1s; opacity:.6; }
.pd-p4 { width:3px; height:3px; left:70%; bottom:-10px; animation-duration:20s; animation-delay:5s; opacity:.5; }
.pd-p5 { width:4px; height:4px; left:84%; bottom:-10px; animation-duration:16s; animation-delay:2s; opacity:.65;}
.pd-p6 { width:2px; height:2px; left:40%; bottom:-10px; animation-duration:22s; animation-delay:7s; opacity:.4; }
@keyframes pd-float {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .8; }
  100% { transform: translateY(-100vh) translateX(30px) rotate(360deg); opacity: 0; }
}

/* Contenido centrado */
.pre-door__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between;
  min-height: 100svh;
  width: 100%;
  text-align: center;
  padding: 3.5rem 1rem 0.5rem;
}

/* Laurel ornamental */
.pd-laurel { width: clamp(200px, 70vw, 260px); opacity: 0; animation: fadeSlideUp 1s ease 0.3s forwards; }
.pd-laurel--bot { animation-delay: 1.1s; margin-top: 1rem; }

.pre-door__eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.6s forwards;
}
.pre-door__subtext {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(240,208,128,0.85);
  opacity: 0;
  animation: fadeSlideUp 1s ease 1.0s forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* ══ GATE WRAPPER — Puerta de Jardín ══ */
.gate-wrapper {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  animation: sealAppear 1.4s ease 0.4s forwards;
  display: flex; flex-direction: column; align-items: center;
  /* Empuja la reja hacia el centro-bajo de la pantalla */
  margin-top: auto;
}
.gate-wrapper:focus { outline: none; }

.gate-svg {
  width: clamp(185px, 56vw, 240px);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(212,175,55,0.5))
    drop-shadow(0 6px 20px rgba(0,0,0,0.7));
  transition: filter 0.4s ease;
  overflow: visible;
}
/* Hover sutil — sin escala para no interferir con la apertura */
.gate-wrapper:hover .gate-svg {
  filter:
    drop-shadow(0 0 28px rgba(212,175,55,0.8))
    drop-shadow(0 8px 24px rgba(0,0,0,0.75));
}

/* ── Animación de apertura de puertas ── */
#gate-left {
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.4s ease 0.7s;
}
#gate-right {
  transform-origin: right center;
  transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.4s ease 0.7s;
}
#gate-frame, #gate-medallion {
  transition: opacity 0.4s ease 0.65s;
}

.gate-svg.opening #gate-left  { transform: scaleX(0); opacity: 0; }
.gate-svg.opening #gate-right { transform: scaleX(0); opacity: 0; }
.gate-svg.opening #gate-frame,
.gate-svg.opening #gate-medallion { opacity: 0; }

/* Anillos de pulso — ahora adaptan al wrapper */
.seal-outer-ring, .seal-inner-ring {
  position: absolute;
  pointer-events: none;
  border-radius: 4px;
  top: 0; left: 0; right: 0; bottom: 32px;
}
.seal-outer-ring {
  inset: -12px -8px 20px -8px;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 4px;
  animation: pulse 3s ease-in-out infinite;
}
.seal-inner-ring {
  inset: -4px -2px 28px -2px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 3px;
  animation: pulse 3s ease-in-out 1.5s infinite;
}

.seal-cta {
  position: relative;
  margin-top: 0.8rem;
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: rgba(212,175,55,0.65);
  text-transform: uppercase;
  animation: breathe 2.5s ease-in-out infinite;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-hidden { display: none; }
.main-visible { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__parallax-bg {
  position: absolute; inset: -10%;
  background: url('Fotos/royal_facade.jpg') center 30%/cover no-repeat;
  will-change: transform;
  transition: transform 0.1s linear;
}
/* Overlay cinematográfico: oscuro arriba y abajo, foto visible en el centro */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(4,6,2,0.72)  0%,
      rgba(4,6,2,0.28) 35%,
      rgba(4,6,2,0.18) 55%,
      rgba(4,6,2,0.70) 80%,
      rgba(2,4,1,0.92) 100%
    );
}
.petal-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  display: block;
}

/* Contenido centrado — solo nombres, scroll hint queda libre */
.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--cream);
  padding: 0 2rem;
  width: 100%; max-width: 520px;
}
.hero__eyebrow {
  font-size: 0.65rem; letter-spacing: 0.5em;
  color: var(--gold-lt); text-transform: uppercase;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: heroItemUp 0.9s ease 0.2s forwards;
}

/* Nombres — Great Vibes: caligráfica de bodas con vida y elegancia */
.hero__names-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 0;
  gap: 0;
}
.hero__name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4.5rem, 22vw, 11rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow:
    0 2px 50px rgba(0,0,0,0.6),
    0 0 80px rgba(212,175,55,0.2),
    0 4px 30px rgba(0,0,0,0.4);
  opacity: 0;
}
.hero__name--bride {
  animation: heroNameLeft 1.2s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero__name--groom {
  animation: heroNameRight 1.2s cubic-bezier(0.16,1,0.3,1) 0.7s forwards;
}
.hero__amp {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: var(--gold);
  display: block;
  letter-spacing: 0.4em;
  margin: -0.1em 0 0;
  opacity: 0;
  animation: heroItemUp 0.8s ease 0.58s forwards;
  text-shadow: 0 0 25px rgba(212,175,55,0.5);
}

@keyframes heroNameLeft {
  from { opacity: 0; transform: translateX(-24px) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroNameRight {
  from { opacity: 0; transform: translateX(24px) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.hero__date {
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: rgba(252,249,242,0.75);
  margin-bottom: 1.3rem; text-transform: uppercase;
  opacity: 0;
  animation: heroItemUp 0.9s ease 0.85s forwards;
}
.hero__divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 1rem;
  opacity: 0;
  animation: heroItemUp 0.8s ease 1s forwards;
}
.divider-line {
  display: block; width: 55px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.divider-icon { color: var(--gold); font-size: 0.65rem; }
.hero__location {
  font-size: 0.7rem; letter-spacing: 0.32em;
  color: rgba(252,249,242,0.55); text-transform: uppercase;
  opacity: 0;
  animation: heroItemUp 0.9s ease 1.15s forwards;
}
@keyframes heroItemUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Hint Royal Garden ── */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  margin: 0 auto;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  opacity: 0;
  animation: heroItemUp 1s ease 1.6s forwards;
}
.hero__scroll-text {
  font-family: var(--ff-sans);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.75);
}
.hero__scroll-arrows {
  width: 20px;
  height: 24px;
}
.hero__scroll-arrows svg {
  width: 100%;
  height: 100%;
  display: block;
}
.arrow-1, .arrow-2, .arrow-3 {
  animation: scrollArrows 2s infinite;
  opacity: 0;
}
.arrow-1 { animation-delay: 0s; }
.arrow-2 { animation-delay: 0.2s; }
.arrow-3 { animation-delay: 0.4s; }

@keyframes scrollArrows {
  0%   { opacity: 0; transform: translateY(-5px); }
  30%  { opacity: 1; }
  70%  { opacity: 0; transform: translateY(5px); }
  100% { opacity: 0; }
}


/* [KC-Style-Kit v2] Botón KC — ver kc-music-button.css integrado al final */

/* ============================================================
   SECCIÓN BASE (compartida)
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; padding: 0 1.5rem; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; display: block;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--ff-title); font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 500; color: var(--cream); line-height: 1.2;
}
.section-title em { color: var(--gold); }
.section-sub {
  margin-top: 0.8rem; font-size: 0.85rem;
  color: rgba(210,220,190,.6); letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Itinerario Timeline
   Khal Calloway Studio © 2026
   Alternancia izq/der · fondo luminoso · enredadera lateral
══════════════════════════════════════════════════════════ */

.rg-itinerary {
  position: relative;
  padding: 0 1.5rem 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(212,175,55,.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(46,74,53,.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(250,218,221,.08) 0%, transparent 50%),
    #F8F4EE;
  overflow: hidden;
}

/* Arcos SVG de transición */
.rg-itin__arch-top,
.rg-itin__arch-bot {
  position: relative;
  line-height: 0; z-index: 2;
}
.rg-itin__arch-top { margin-bottom: -2px; }
.rg-itin__arch-bot { margin-top: -2px; }
.rg-itin__arch-top svg,
.rg-itin__arch-bot svg { width: 100%; height: 60px; display: block; }

/* ── Contenedor interior ── */
.rg-itin__inner {
  position: relative; z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

/* ── Header ── */
.rg-itin__header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: .8rem;
  margin-bottom: 4rem;
}
.rg-itin__emblem { width: 80px; opacity: .9; }

.rg-itin__eyebrow {
  font-family: var(--ff-sans);
  font-size: .68rem; letter-spacing: .42em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-itin__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-itin__title em { color: #D4AF37; font-style: italic; }
.rg-itin__sub {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.82rem, 2.2vw, .95rem);
  color: rgba(46,74,53,.5); margin: 0;
}

/* ══ SPINE — línea central ══ */
.rg-timeline {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 0;
}

.rg-tl__spine {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212,175,55,.4) 8%,
    rgba(212,175,55,.4) 92%,
    transparent 100%
  );
  z-index: 0;
}

/* Rosas decorativas sobre la línea */
.rg-tl__spine-rose {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4AF37 40%, rgba(212,175,55,.3) 100%);
  box-shadow: 0 0 8px rgba(212,175,55,.5);
}
.rg-tl__spine-rose--1 { top: 25%; }
.rg-tl__spine-rose--2 { top: 50%; }
.rg-tl__spine-rose--3 { top: 75%; }

/* ══ ITEM — alternancia ══ */
.rg-tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  width: 100%;
  margin-bottom: 2.8rem;
  z-index: 1;
}
.rg-tl__item:last-of-type { margin-bottom: 0; }

/* Nodo central (burbuja dorada) */
.rg-tl__node {
  grid-column: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FDFBF7;
  border: 1.5px solid rgba(212,175,55,.55);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 5px rgba(212,175,55,.1),
    0 4px 16px rgba(46,74,53,.12);
  z-index: 2;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
  justify-self: center;
}
.rg-tl__item:hover .rg-tl__node {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(212,175,55,.15), 0 6px 20px rgba(46,74,53,.18);
}
.rg-tl__icon-svg { width: 20px; height: 20px; }

/* Conector horizontal: línea de nodo a tarjeta */
.rg-tl__connector {
  height: 1px;
  background: linear-gradient(to right, rgba(212,175,55,.15), rgba(212,175,55,.4));
  align-self: center;
  z-index: 1;
}

/* ── Tarjeta evento ── */
.rg-tl__card {
  position: relative;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 4px;
  padding: 1.4rem 1.3rem 1.3rem;
  overflow: hidden;
  box-shadow:
    0 6px 24px rgba(46,74,53,.08),
    0 2px 8px rgba(0,0,0,.05),
    inset 0 0 0 2px rgba(255,255,255,.6);
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .35s ease;
}
.rg-tl__card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.45);
  box-shadow:
    0 14px 40px rgba(46,74,53,.14),
    0 4px 14px rgba(0,0,0,.07),
    inset 0 0 0 2px rgba(255,255,255,.7);
}

/* Hoja decorativa watermark */
.rg-tl__card-leaf {
  position: absolute; top: -8px; right: 4px;
  width: 28px; height: 40px;
  pointer-events: none; opacity: .8;
}

/* Alineación alternada: izq → tarjeta col1, conector col2 ← invertido */
.rg-tl__item--left  .rg-tl__card      { grid-column: 1; text-align: right; }
.rg-tl__item--left  .rg-tl__connector { grid-column: 2;
  background: linear-gradient(to left, rgba(212,175,55,.15), rgba(212,175,55,.4)); }
.rg-tl__item--left  .rg-tl__card-leaf { right: auto; left: 4px; transform: scaleX(-1); }

.rg-tl__item--right .rg-tl__card      { grid-column: 3; text-align: left; }
.rg-tl__item--right .rg-tl__connector { grid-column: 2; }

/* Hora */
.rg-tl__time {
  display: block;
  font-family: var(--ff-sans);
  font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase;
  color: #9A7B10;
  margin-bottom: .35rem;
}

/* Título evento */
.rg-tl__event {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 400;
  color: #2E4A35;
  margin-bottom: .55rem;
  line-height: 1.2;
}

/* Descripción */
.rg-tl__desc {
  font-family: var(--ff-sans);
  font-size: clamp(.72rem, 2vw, .8rem);
  color: rgba(46,74,53,.55);
  line-height: 1.7;
  font-weight: 300;
}

/* Fin de timeline */
.rg-tl__end {
  width: 36px; margin-top: .5rem; opacity: .8;
  animation: rgEndPulse 3s ease-in-out infinite;
}
@keyframes rgEndPulse {
  0%, 100% { transform: scale(1);    opacity: .6; }
  50%       { transform: scale(1.15); opacity: 1;  }
}

/* ── Mobile: apila en columna simple ── */
@media (max-width: 540px) {
  .rg-tl__item {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  /* Línea spine a la izquierda en mobile */
  .rg-tl__spine { left: 18px; transform: none; }

  .rg-tl__item--left .rg-tl__card,
  .rg-tl__item--right .rg-tl__card {
    grid-column: 2; grid-row: 1;
    text-align: left;
  }
  .rg-tl__item--left .rg-tl__card-leaf { left: 4px; right: auto; transform: none; }
  .rg-tl__item--right .rg-tl__card-leaf { right: 4px; left: auto; transform: none; }

  .rg-tl__node {
    grid-column: 1; grid-row: 1;
    width: 36px; height: 36px;
    justify-self: start;
  }
  .rg-tl__connector { display: none; }

  .rg-tl__spine { left: 17px; }
  .rg-itin__inner { padding: 3rem 0 4rem; }
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Dónde & Cuándo
   Garden feel: hojas orgánicas, flores blush, fondo cálido
   Mobile-first: 2 cards apiladas compactas en una pantalla
══════════════════════════════════════════════════════════ */

.rg-donde {
  position: relative;
  padding: 5rem 1.2rem 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%,   rgba(46,74,53,.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(250,218,221,.09) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%,  rgba(212,175,55,.05) 0%, transparent 60%),
    #F4F0E8;
  overflow: hidden;
}

/* Enredadera decorativa esquina */
.rg-donde__vine {
  position: absolute;
  top: 0; right: 0;
  width: clamp(80px, 18vw, 140px);
  height: auto;
  pointer-events: none;
  opacity: .85;
}

.rg-donde__inner {
  position: relative; z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 2rem;
}

/* ── Header ── */
.rg-donde__header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem;
}
.rg-donde__wreath { width: clamp(200px, 60vw, 260px); }

.rg-donde__eyebrow {
  font-family: var(--ff-sans);
  font-size: .66rem; letter-spacing: .4em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-donde__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-donde__title em { color: #D4AF37; font-style: italic; }

/* ══ GRID: 2 cards apiladas compactas en mobile ══ */
.rg-donde__grid {
  display: flex;
  flex-direction: column;
  gap: 0;                   /* Sin gap — el sep floral hace la separación visual */
  width: 100%;
  max-width: 560px;
}

/* Separador floral entre cards en mobile */
.rg-donde__sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 0;
}
.rg-donde__sep svg { width: 40px; height: 40px; }

/* ── Card ── */
.rg-donde__card {
  position: relative;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 6px;
  padding: 1.1rem 1.2rem 1rem;   /* Padding reducido = compacto */
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(46,74,53,.08),
    0 1px 6px rgba(0,0,0,.05),
    inset 0 0 0 2px rgba(255,255,255,.55);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .35s ease;
}
.rg-donde__card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,.5);
  box-shadow:
    0 10px 32px rgba(46,74,53,.13),
    0 3px 10px rgba(0,0,0,.07),
    inset 0 0 0 2px rgba(255,255,255,.65);
}

/* Hojita ornamental en esquina de la card */
.rg-donde__card-leaf {
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 36px;
  pointer-events: none;
}
.rg-donde__card-leaf--right {
  left: auto; right: 0;
  transform: scaleX(-1);
}

/* Top row */
.rg-donde__card-top {
  display: flex; align-items: center; gap: .7rem;
}
.rg-donde__icon { font-size: 1.4rem; line-height: 1; }
.rg-donde__name {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  color: #2E4A35; font-weight: 400; margin: 0;
}

/* Detalles */
.rg-donde__details {
  display: flex; flex-direction: column; gap: .28rem;
  padding-left: 2.1rem;    /* Alinea con el texto del nombre */
}
.rg-donde__venue {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.78rem, 2.2vw, .88rem);
  color: rgba(154,123,16,.85); margin: 0;
}
.rg-donde__address {
  font-size: clamp(.68rem, 1.8vw, .75rem);
  color: rgba(46,74,53,.45);
  letter-spacing: .03em; line-height: 1.5; margin: 0;
}
.rg-donde__time {
  font-size: clamp(.66rem, 1.8vw, .72rem);
  letter-spacing: .1em;
  color: rgba(46,74,53,.55); font-weight: 400; margin: 0;
}

/* Botón mapa */
.rg-donde__btn {
  align-self: flex-start;
  margin-left: 2.1rem;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(212,175,55,.4);
  color: #9A7B10;
  font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  font-family: var(--ff-sans); font-weight: 500;
  background: rgba(212,175,55,.06);
  transition: all .3s ease;
}
.rg-donde__btn:hover {
  background: rgba(212,175,55,.18);
  border-color: #D4AF37;
  color: #7A5C08;
  transform: translateY(-1px);
}

/* ── Desktop: side by side ── */
@media (min-width: 580px) {
  .rg-donde__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
  }
  .rg-donde__card { flex: 1; }
  .rg-donde__sep  { flex-direction: column; padding: 0 .5rem; }
  .rg-donde__sep svg { width: 32px; height: 32px; }
}


/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Trivia VIP — Pergamino Real
   Corona SVG · Rollos · Opciones elegantes · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-trivia {
  position: relative;
  padding: 5.5rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%,   rgba(212,175,55,.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 80%,  rgba(46,74,53,.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 80%,  rgba(250,218,221,.09) 0%, transparent 50%),
    #F4F0E8;
  overflow: hidden;
}
.rg-trivia::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(212,175,55,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Pétalos decorativos fondo */
.rg-trivia__petal { position: absolute; pointer-events: none; }
.rg-trivia__petal--a { width: 90px; top: 8%; right: 5%; animation: rg-petalDrift 18s ease-in-out infinite; }
.rg-trivia__petal--b { width: 70px; bottom: 12%; left: 4%; animation: rg-petalDrift 22s ease-in-out 6s infinite; }

/* ── Inner ── */
.rg-trivia__inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2.2rem;
}

/* ── Header ── */
.rg-trivia__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.rg-trivia__crown { width: clamp(110px, 38vw, 140px); }
.rg-trivia__eyebrow {
  font-family: var(--ff-sans); font-size: .66rem; letter-spacing: .42em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-trivia__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 7.5vw, 3rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-trivia__title em { color: #D4AF37; font-style: italic; }
.rg-trivia__sub {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.8rem, 2.2vw, .94rem);
  color: rgba(46,74,53,.5); margin: 0;
}

/* ══ PERGAMINO ══ */
.rg-trivia__scroll { width: 100%; position: relative; }

/* Rollo superior e inferior */
.rg-scroll__rod {
  display: flex; align-items: center;
  position: relative; z-index: 2;
}
.rg-scroll__rod--top { margin-bottom: -4px; }
.rg-scroll__rod--bot { margin-top: -4px; }

.rg-scroll__rod-bar {
  flex: 1; height: 10px;
  background: linear-gradient(180deg,
    rgba(212,175,55,.7) 0%,
    rgba(154,123,16,.9) 40%,
    rgba(212,175,55,.6) 70%,
    rgba(240,208,128,.4) 100%);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(154,123,16,.25), inset 0 1px 0 rgba(255,255,255,.2);
}

.rg-scroll__rod-cap {
  display: block; width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0d080, #9A7B10 70%, #6B560A);
  box-shadow: 0 2px 8px rgba(106,86,10,.35), inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid rgba(212,175,55,.4);
}

/* ── Tarjeta pergamino ── */
.rg-trivia__card {
  background: linear-gradient(180deg,
    rgba(253,246,228,1) 0%,
    rgba(249,241,218,1) 50%,
    rgba(253,246,228,1) 100%);
  border-left:  1px solid rgba(212,175,55,.25);
  border-right: 1px solid rgba(212,175,55,.25);
  padding: 2.2rem 1.8rem;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 30px rgba(46,74,53,.1), inset 0 0 40px rgba(212,175,55,.04);
}
/* Líneas horizontales de pergamino */
.rg-trivia__card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 26px,
    rgba(212,175,55,.06) 26px,
    rgba(212,175,55,.06) 27px
  );
}
/* Margen izquierdo rojo tipo cuaderno clásico */
.rg-trivia__card::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 42px; width: 1px;
  background: rgba(250,218,221,.5);
  pointer-events: none;
}

/* ── Trivia internals (heredados del JS) ── */
.trivia__progress {
  text-align: center; margin-bottom: 1.4rem;
  font-family: var(--ff-sans);
  font-size: .65rem; letter-spacing: .25em;
  color: rgba(46,74,53,.4); text-transform: uppercase;
}
.trivia__question {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1.05rem, 3.5vw, 1.3rem);
  color: #2E4A35; margin-bottom: 1.5rem; text-align: center; line-height: 1.5;
}
.trivia__options { display: flex; flex-direction: column; gap: .7rem; }
.trivia__opt-btn {
  padding: .85rem 1.1rem;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 4px;
  background: rgba(253,251,247,.7);
  font-family: var(--ff-sans); font-size: clamp(.78rem, 2.2vw, .86rem);
  color: rgba(46,74,53,.7); cursor: pointer;
  transition: all .25s ease; text-align: left;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 8px rgba(46,74,53,.05);
}
.trivia__opt-btn::before {
  content: '◆';
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  font-size: .45em; color: #D4AF37; opacity: 0;
  transition: opacity .2s ease;
}
.trivia__opt-btn:hover {
  border-color: rgba(212,175,55,.6);
  background: rgba(212,175,55,.08);
  color: #2E4A35;
  padding-left: 1.6rem;
}
.trivia__opt-btn:hover::before { opacity: 1; }

/* Estados correcto / incorrecto — sin rojo agresivo */
.trivia__opt-btn.correct {
  border-color: #2E4A35; background: rgba(46,74,53,.1);
  color: #2E4A35; font-weight: 500;
  box-shadow: 0 0 16px rgba(46,74,53,.15);
}
.trivia__opt-btn.correct::before { content: '✦'; opacity: 1; color: #2E4A35; }

.trivia__opt-btn.wrong {
  border-color: rgba(154,123,16,.5); background: rgba(212,175,55,.07);
  color: rgba(46,74,53,.45);
  animation: shake .4s ease;
}

.trivia__result {
  text-align: center; padding: 2rem 1rem;
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: #2E4A35; line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · RSVP + Ticket VIP
   Formulario Alta Sociedad · Ticket Opera Gala · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-rsvp {
  position: relative;
  padding: 0 1.5rem 6rem;
  background:
    radial-gradient(ellipse 90% 60% at 50% 20%, rgba(212,175,55,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(46,74,53,.15) 0%, transparent 55%),
    #0F1A11;
  overflow: hidden;
}
.rg-rsvp::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(46,74,53,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.rg-rsvp__arch { line-height: 0; margin-bottom: -2px; }
.rg-rsvp__arch svg { width: 100%; height: 55px; display: block; }
.rg-rsvp__arch svg path { fill: #F8F4EE; }

/* Enredadera decorativa */
.rg-rsvp__vine {
  position: absolute; top: 55px; left: 0;
  width: clamp(40px, 9vw, 55px); height: calc(100% - 55px);
  pointer-events: none; opacity: .5;
}

/* Ajustar textos del header al modo dark */
.rg-rsvp__eyebrow { color: rgba(212,175,55,.7) !important; }
.rg-rsvp__title { color: #FCF9F2 !important; }
.rg-rsvp__sub { color: rgba(210,220,190,.45) !important; }
.rg-rule-line { background: rgba(212,175,55,.3) !important; }

/* ── Inner ── */
.rg-rsvp__inner {
  position: relative; z-index: 1;
  max-width: 520px; margin: 0 auto;
  padding-top: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}

/* ── Header ── */
.rg-rsvp__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.rg-rsvp__eyebrow {
  font-family: var(--ff-sans); font-size: .66rem; letter-spacing: .42em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-rsvp__title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-rsvp__title em { color: #D4AF37; }
.rg-rsvp__rule { display: flex; align-items: center; gap: .8rem; }
.rg-rsvp__sub {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.8rem, 2.2vw, .94rem);
  color: rgba(46,74,53,.5); margin: 0;
}

/* ── Formulario ── */
.rg-rsvp__form {
  width: 100%;
  display: flex; flex-direction: column; gap: 1.6rem;
}

/* ── Campo con label flotante ── */
.rg-field {
  position: relative;
  padding-top: 1.2rem;
}
.rg-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(212,175,55,.35);
  padding: .6rem .1rem;
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1rem; color: #FCF9F2;
  outline: none; transition: border-color .35s ease;
}
.rg-field label {
  position: absolute; top: 1.2rem; left: 0;
  font-family: var(--ff-sans); font-size: .9rem;
  color: rgba(210,220,190,.4); pointer-events: none;
  transition: all .28s cubic-bezier(.23,1,.32,1);
  transform-origin: left top;
}
.rg-field input:focus ~ label,
.rg-field input:not(:placeholder-shown) ~ label {
  top: 0; font-size: .6rem; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(212,175,55,.8);
}
.rg-field__bar {
  display: block; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, #D4AF37, #f0d080);
  transition: width .35s ease;
}
.rg-field input:focus ~ .rg-field__bar { width: 100%; }

/* Label campo normal */
.rg-field-label {
  font-family: var(--ff-sans); font-size: .62rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(210,220,190,.4); margin-bottom: .5rem;
}
.rg-form-group { display: flex; flex-direction: column; gap: .45rem; }

/* ── Toggle pills premium ── */
.rg-toggle-group { display: flex; gap: .6rem; }
.toggle-btn {
  flex: 1; padding: .8rem .5rem;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 50px; font-family: var(--ff-sans);
  font-size: .75rem; color: rgba(210,220,190,.45);
  background: rgba(255,255,255,.04); cursor: pointer;
  transition: all .3s ease;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.toggle-btn__icon { font-size: .9rem; }
.toggle-btn.active {
  border-color: #D4AF37;
  background: rgba(212,175,55,.1);
  color: #D4AF37; font-weight: 600;
  box-shadow: 0 4px 14px rgba(212,175,55,.12);
}

/* ── Counter de pases ── */
.rg-passes-counter {
  display: flex; align-items: center;
  gap: 1.2rem; padding: .4rem 0;
}
.rg-passes-counter > button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,.35);
  color: #9A7B10; background: rgba(212,175,55,.05);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease;
}
.rg-passes-counter > button svg { width: 16px; height: 16px; pointer-events: none; }
.rg-passes-counter > button:hover {
  background: rgba(212,175,55,.15); border-color: #D4AF37;
  transform: scale(1.08);
}
.rg-passes-display {
  display: flex; flex-direction: column; align-items: center; min-width: 4rem;
}
.rg-passes-display span {
  font-family: var(--ff-serif); font-size: 2.4rem;
  color: #FCF9F2; line-height: 1; font-weight: 400;
}
.rg-passes-display small {
  font-family: var(--ff-sans); font-size: .58rem;
  letter-spacing: .2em; color: rgba(210,220,190,.35);
  text-transform: uppercase; margin-top: .1rem;
}

/* ── Botón submit cinemático ── */
.rg-rsvp__submit {
  margin-top: .4rem; padding: 1.1rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a2e1f 0%, #2E4A35 45%, #1a2e1f 100%);
  color: #FCF9F2; font-family: var(--ff-sans);
  font-size: .75rem; letter-spacing: .35em; text-transform: uppercase; font-weight: 500;
  border: 1px solid rgba(212,175,55,.4);
  box-shadow: 0 10px 30px rgba(46,74,53,.3), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rg-rsvp__submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(46,74,53,.4), inset 0 1px 0 rgba(255,255,255,.12);
  border-color: rgba(212,175,55,.7);
}
.rg-rsvp__submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Shimmer sweep */
.rg-btn__shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(212,175,55,.12) 50%, transparent 65%);
  background-size: 200% 100%; background-position: -100% 0;
  animation: btnShimmer 3.5s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%,40% { background-position: -100% 0; }
  60%,100% { background-position: 200% 0; }
}

.rg-btn__icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s ease; }
.rg-rsvp__submit:hover .rg-btn__icon { transform: translateX(4px); }

/* Loader 3 dots */
.rg-btn__loader {
  display: flex; gap: 5px; align-items: center;
}
.rg-btn__loader span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(252,249,242,.7);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.rg-btn__loader span:nth-child(2) { animation-delay: .2s; }
.rg-btn__loader span:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%,80%,100% { transform: scale(.6); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ══ TICKET VIP — Opera Gala Edition ══ */
.rg-ticket {
  max-width: 360px; margin: 0 auto;
  background: linear-gradient(160deg, #FDFBF7 0%, #F4EDD8 55%, #FDFBF7 100%);
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,.5);
  box-shadow:
    0 30px 70px rgba(46,74,53,.2),
    0 10px 28px rgba(0,0,0,.1),
    inset 0 0 0 1px rgba(255,255,255,.6);
  opacity: 0;
  animation: ticketReveal .9s cubic-bezier(.34,1.56,.64,1) forwards;
  overflow: hidden; position: relative;
}
@keyframes ticketReveal {
  from { opacity: 0; transform: scale(.88) translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Borde foil dorado superior */
.rg-ticket__foil {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%, #9A7B10 15%, #D4AF37 30%,
    #f0d080 50%, #D4AF37 70%, #9A7B10 85%, transparent 100%);
  animation: foilShimmer 4s ease-in-out infinite;
}
@keyframes foilShimmer {
  0%,100% { opacity: .85; }
  50%      { opacity: 1; filter: brightness(1.15); }
}

.rg-ticket__top-deco { padding: 1rem 1rem .3rem; }
.rg-ticket__top-deco svg { width: 100%; height: auto; }

/* Header ticket */
.ticket__header {
  padding: .6rem 2rem 1rem;
  text-align: center;
}
.ticket__badge {
  display: inline-block;
  font-family: var(--ff-sans); font-size: .55rem;
  letter-spacing: .55em; color: #D4AF37;
  text-transform: uppercase; margin-bottom: .7rem;
  padding: .3rem .8rem;
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 50px;
  background: rgba(212,175,55,.06);
}
.ticket__names {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1.85rem; color: #2E4A35; font-weight: 400;
  line-height: 1.1; margin: .2rem 0;
}
.ticket__date {
  font-family: var(--ff-sans); font-size: .65rem;
  letter-spacing: .18em; color: rgba(46,74,53,.45);
  margin-top: .25rem;
}

/* Perforado tipo talonario */
.ticket__perforation {
  position: relative; height: 1px; margin: 0 -1px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0, transparent 5px,
    rgba(212,175,55,.4) 5px, rgba(212,175,55,.4) 10px
  );
}
.ticket__perforation::before,
.ticket__perforation::after {
  content: ''; position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #F8F4EE;
  border: 1px solid rgba(212,175,55,.3);
}
.ticket__perforation::before { left: -6px; }
.ticket__perforation::after  { right: -6px; }

/* Body ticket */
.ticket__body { padding: 1.2rem 2rem; text-align: center; }
.ticket__guest-label {
  font-family: var(--ff-sans); font-size: .58rem;
  letter-spacing: .3em; color: rgba(46,74,53,.4);
  text-transform: uppercase; margin-bottom: .3rem;
}
.ticket__guest-name {
  font-family: var(--ff-serif); font-size: 1.55rem;
  color: #2E4A35; font-weight: 400; font-style: italic;
  line-height: 1.2; margin: 0 0 .5rem;
}
.ticket__passes {
  font-family: var(--ff-sans); font-size: .72rem;
  letter-spacing: .12em; color: #9A7B10;
  font-weight: 500;
}

/* QR frame premium */
.ticket__qr-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; padding: .5rem 2rem 1rem;
}
.ticket__qr-frame {
  padding: 8px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 6px;
  background: #FDFBF7;
  box-shadow: 0 6px 20px rgba(0,0,0,.15), 0 0 0 3px rgba(212,175,55,.08);
  line-height: 0;
}
.ticket__qr canvas,
.ticket__qr img { display: block !important; border: none !important; border-radius: 3px; }
.ticket__qr-hint {
  font-family: var(--ff-sans); font-size: .56rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(46,74,53,.35);
}

.rg-ticket__bottom-deco { padding: .3rem 1rem .6rem; }
.rg-ticket__bottom-deco svg { width: 100%; height: auto; }

/* Footer ticket */
.ticket__footer {
  padding: .7rem 2rem 1rem;
  border-top: 1px dashed rgba(212,175,55,.3);
  text-align: center;
}
.ticket__footer p {
  font-family: var(--ff-sans); font-size: .62rem;
  letter-spacing: .18em; color: rgba(46,74,53,.4);
}
.ticket__footer small {
  font-family: var(--ff-sans); font-size: .52rem;
  letter-spacing: .25em; color: rgba(212,175,55,.45);
  display: block; margin-top: .2rem;
}

/* Perforado inferior */
.ticket__tear {
  height: 8px;
  background: repeating-linear-gradient(
    90deg, transparent 0, transparent 8px,
    rgba(212,175,55,.25) 8px, rgba(212,175,55,.25) 10px
  );
}

/* ============================================================
   FOOTER KC v2 — Dark Premium
   ============================================================ */
footer {
    background: #080b06;
    border-top: 1px solid rgba(212,175,55,.08);
    text-align: center; padding: 70px 20px 50px; position: relative; z-index: 1;
}
.footer-reveal {
    opacity:0;
    transform:translateY(16px);
    transition: opacity .8s ease var(--fd, 0s), transform .8s var(--ease-out) var(--fd, 0s);
}
.footer-reveal.appeared { opacity:1; transform:translateY(0); }
.footer-divider {
    display:flex; align-items:center; justify-content:center;
    gap:15px; margin-bottom:30px;
}
.footer-divider::before,.footer-divider::after {
    content:''; height:1px; width:clamp(80px,22vw,160px);
    background:linear-gradient(to right,transparent,rgba(85,107,47,.3)); opacity:.5;
}
.footer-divider::after { background:linear-gradient(to left,transparent,rgba(85,107,47,.3)); }
.footer-divider span { color:var(--terra); font-size:1em; animation:parpadeo 3s infinite; }
@keyframes parpadeo { 0%,100%{opacity:.35} 50%{opacity:1} }
.footer-sello {
    font-size:.65em; letter-spacing:3px;
    text-transform:uppercase; line-height:2.4; margin-bottom:30px;
    animation:selloBreath 6s ease-in-out infinite alternate;
}
@keyframes selloBreath {
    0%   { color:rgba(168,191,150,.35); }
    100% { color:rgba(210,220,190,.65); text-shadow:0 0 20px rgba(151,168,108,.12); }
}
.footer-sello .nombre-dedicado {
    color:var(--olivo-xl); font-weight:500; letter-spacing:4px;
    animation:selloBreath 6s ease-in-out infinite alternate;
}
.footer-sello .lugar-fecha {
    font-size:.9em;
    animation:fechaBreath 5s ease-in-out infinite alternate;
}
@keyframes fechaBreath {
    0%   { color:rgba(168,191,150,.3); }
    100% { color:rgba(210,220,190,.55); }
}
.footer-brand {
    display:inline-flex; align-items:center; gap:10px;
    text-decoration:none; padding:10px 4px;
    transition: all .4s ease; cursor:pointer; position:relative;
}
.footer-brand::after {
    content:''; position:absolute; right:-10px; top:50%; transform:translateY(-50%);
    width:4px; height:4px; border-radius:50%;
    background:rgba(212,175,55,.6);
    animation: brandDot 4s ease-in-out infinite; pointer-events:none;
}
@keyframes brandDot {
    0%,45%,100% { opacity:0; transform:translateY(-50%) scale(.5); }
    55%,85%     { opacity:1; transform:translateY(-50%) scale(1); }
}
.footer-brand .ig-ico {
    width:14px; height:14px; opacity:.35;
    transition:opacity .4s ease, color .4s ease;
    color:var(--olivo-l); flex-shrink:0;
    animation: icoBreath 3.5s ease-in-out infinite alternate;
}
@keyframes icoBreath { 0%{opacity:.25} 100%{opacity:.5} }
.footer-brand:hover .ig-ico { opacity:.9; color:var(--terra-l); animation:none; }
.footer-brand-text {
    font-family:var(--ft); font-style:italic;
    color:rgba(212,175,55,.8); font-size:1em; letter-spacing:3px;
    transition: color .4s ease, text-shadow .4s ease, letter-spacing .4s ease;
    position:relative; overflow:hidden;
}
.footer-brand-text::after {
    content:'';
    position:absolute; top:0; left:-120%; width:55%; height:100%;
    background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.08) 45%,rgba(255,230,200,.12) 50%,rgba(255,255,255,.08) 55%,transparent 100%);
    animation: brandShimmer 5s ease-in-out infinite; pointer-events:none;
}
@keyframes brandShimmer { 0%,70%{left:-120%} 100%{left:160%} }
.footer-brand:hover .footer-brand-text {
    color:rgba(212,175,55,.9); letter-spacing:4px;
    text-shadow: 0 0 18px rgba(212,175,55,.3);
}

/* ============================================================
   BOTÓN KC FLOTANTE v2 — kc-music-button.css
   ============================================================ */
@keyframes rotate-ring { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

.kc-float {
  position: fixed; bottom: calc(clamp(18px,3vh,30px) + env(safe-area-inset-bottom, 0px)); right: clamp(18px,3vw,28px);
  z-index: 9000; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; background: none; padding: 0;
  outline: none; -webkit-tap-highlight-color: transparent;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s var(--ease-bounce);
}
.kc-float.visible { opacity: 1; transform: translateY(0); }

/* Fondo olive Royal Garden — colorimetría split-complementary con el anillo dorado */
.kc-float-bg {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a5e42 0%, #2E4A35 55%, #1e3424 100%);
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow:
    0 4px 20px rgba(20,36,22,0.5),
    0 1px 6px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition: border-color .4s ease, box-shadow .4s ease, transform .15s ease;
}
.kc-float:hover .kc-float-bg {
  border-color: rgba(212,175,55,0.7);
  box-shadow:
    0 6px 28px rgba(20,36,22,0.65),
    0 0 20px rgba(212,175,55,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Glow exterior — dorado cálido sobre verde frío = contraste cromático */
.kc-float-glow {
  position: absolute; inset: -12px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, transparent 68%);
  animation: kcBreath 3s ease-in-out infinite alternate;
}
.kc-float.paused .kc-float-glow { opacity: .08; animation-play-state: paused; }
@keyframes kcBreath {
  0%   { opacity: .3; transform: scale(.9); }
  100% { opacity: .65; transform: scale(1.1); }
}

/* Anillo giratorio — dorado #D4AF37 al 90%, contraste vibrante con el verde */
.kc-ring { position: absolute; border-radius: 50%; transition: border-color .4s ease, box-shadow .4s ease; }
.kc-ring--boda {
  inset: -10px;
  border: 1.5px dashed rgba(212,175,55,0.88);
  animation: rotate-ring 14s linear infinite;
  box-shadow: 0 0 12px rgba(212,175,55,0.22);
}
.kc-ring--boda::before {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 2px rgba(212,175,55,0.9),
    0 0 10px 3px rgba(212,175,55,0.7),
    0 0 22px 6px rgba(212,175,55,0.3);
}
.kc-float.paused .kc-ring--boda { animation-play-state: paused; border-color: rgba(212,175,55,.18); box-shadow: none; }
.kc-float.paused .kc-ring--boda::before { box-shadow: none; opacity: .2; }
.kc-float:hover .kc-ring--boda { border-color: rgba(212,175,55,1); box-shadow: 0 0 20px rgba(212,175,55,.4); }

/* KC — crema puro, máximo contraste sobre verde */
.kc-letter {
  position: relative; z-index: 2;
  font-family: var(--ft); font-size: .82em; font-style: italic;
  color: #FCF9F2;
  letter-spacing: 1px; line-height: 1;
  transition: color .3s ease, text-shadow .3s ease, transform .3s var(--ease-bounce);
  text-shadow: 0 0 10px rgba(212,175,55,.25);
}
.kc-float:hover .kc-letter { color: #D4AF37; text-shadow: 0 0 16px rgba(212,175,55,.7); transform: scale(1.1); }
.kc-float.paused .kc-letter { color: rgba(252,249,242,.3); text-shadow: none; }


/* Barras de música */
.kc-bars {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 1.5px; z-index: 3;
}
.kc-bar {
  width: 3px; border-radius: 2px;
  background: linear-gradient(to top, #D4AF37, #2E4A35);
  animation: kcBar var(--d,.4s) ease-in-out infinite alternate;
  transition: opacity .3s ease;
  box-shadow: 0 0 4px rgba(212,175,55,.3);
}
.kc-bar:nth-child(1) { height: 5px; --d: .35s; }
.kc-bar:nth-child(2) { height: 8px; --d: .25s; animation-delay: .1s; }
.kc-bar:nth-child(3) { height: 4px; --d: .4s;  animation-delay: .2s; }
@keyframes kcBar {
  0%   { height: 3px; opacity: .5; }
  100% { opacity: 1; box-shadow: 0 0 6px rgba(212,175,55,.6); }
}
.kc-float.paused .kc-bar { animation-play-state: paused; opacity: .18; height: 3px !important; }
.kc-float:active .kc-float-bg { transform: scale(.92); }
.kc-float:active .kc-letter  { transform: scale(.9); }



/* ============================================================
   UTILIDADES
   ============================================================ */
.hidden { display: none !important; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sealAppear {
  0%   { opacity: 0; transform: scale(0.75) rotate(-8deg); }
  70%  { transform: scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.12); opacity: 0.15; }
}
@keyframes breathe {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}
/* ============================================================
   AOS overrides
   ============================================================ */
[data-aos] { transition-property: transform, opacity !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
  .seal-wrapper { width: 220px; height: 220px; }
  .itinerary__grid { grid-template-columns: 1fr 1fr; }
  .itinerary__photos { flex-direction: column; align-items: center; }
  .photo-frame--left, .photo-frame--right { transform: none; }
  .toggle-group { flex-direction: column; }
}
/* ══════════════════════════════════════════
   KC-SKELETON · Secciones Base
   Khal Calloway Studio © 2026
   
   📌 Fundación: clases de sección, títulos,
      decoraciones, transiciones, fade-section,
      vine-svg draw-on-scroll, y responsive.
   📌 Requiere las variables de :root del style.
══════════════════════════════════════════ */

/* ── SECCIONES — contenedores principales ── */
.seccion {
    padding:110px 20px;
    text-align:center;
    position:relative;
    z-index:1;
    overflow:hidden;
}
@media(max-width:600px) {
    .seccion { padding:70px 18px; }
}
.seccion-inner {
    max-width:880px;
    margin:0 auto;
    position:relative;
    z-index:2;
}
/* Fondos de sección — variantes */
.seccion-alt  { background: var(--oscuro2); }
.seccion-bosq { background: radial-gradient(ellipse at 50% 0%, rgba(42,74,44,.25) 0%, transparent 55%), var(--oscuro); }
.seccion-terra { background: radial-gradient(ellipse at 50% 100%, rgba(194,113,79,.08) 0%, transparent 50%), var(--oscuro2); }

/* ── TÍTULOS DE SECCIÓN ── */
.titulo-seccion {
    font-family:var(--ft);
    font-size:clamp(2.5em,6.5vw,4em);
    font-style:italic;
    color:var(--crema);
    margin-bottom:6px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.titulo-seccion em { color:var(--olivo-xl); }

/* ── DECORACIONES ── */
.vine-deco {
    font-size:clamp(.8em,2vw,1.1em);
    color:rgba(85,107,47,.3);
    letter-spacing:8px;
    margin-bottom:8px;
    display:block;
}
.bdiv {
    margin:12px 0 30px;
    display:flex; justify-content:center; align-items:center;
    gap:12px;
}
.bdiv::before, .bdiv::after {
    content:''; height:1px; width:clamp(50px,15vw,100px);
    background:linear-gradient(to right,transparent,rgba(85,107,47,.3));
}
.bdiv::after { background:linear-gradient(to left,transparent,rgba(85,107,47,.3)); }
.bdiv span { font-size:1.2em; display:block; }

/* ── BOTÓN GENÉRICO ── */
.btn-b {
    display:inline-block;
    color:var(--olivo-l);
    padding:13px 30px;
    text-decoration:none;
    border:1px solid rgba(85,107,47,.4);
    border-radius:50px;
    font-size:.73em;
    letter-spacing:2px;
    text-transform:uppercase;
    transition: all .4s var(--ease-bounce);
    font-family:var(--fs);
    font-weight:500;
    background:transparent;
    cursor:pointer;
}
.btn-b:hover {
    background:var(--olivo);
    color:var(--oscuro);
    border-color:var(--olivo);
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(85,107,47,.2);
}

/* ── FADE-SECTION — aparición al scroll ── */
.fade-section {
    transition: opacity .8s ease, transform .8s var(--ease-out);
    will-change:opacity,transform;
}
.fade-section.fuera {
    opacity:0;
    transform:translateY(30px);
}
.fade-section.dentro {
    opacity:1;
    transform:translateY(0);
}

/* ── VINE SVG — draw on scroll ── */
.vine-svg {
    position:absolute;
    z-index:0;
    pointer-events:none;
}
.vine-svg path {
    stroke-dasharray:var(--len, 450);
    stroke-dashoffset:var(--len, 450);
    transition: stroke-dashoffset 2s ease;
}
.vine-svg.drawn path { stroke-dashoffset:0; }
.vine-leaf { opacity:0; transition:opacity 1.2s ease .5s; }
.vine-svg.drawn .vine-leaf { opacity:1; }

/* ── KEYFRAMES BASE ── */
@keyframes fadeInUp {
    0%   { opacity:0; transform:translateY(20px); }
    100% { opacity:1; transform:translateY(0); }
}
@keyframes flotar {
    0%,100% { transform:translateY(0); }
    50%     { transform:translateY(-8px); }
}
@keyframes parpadeo {
    0%,100% { opacity:.35; }
    50%     { opacity:1; }
}
/* Shimmer sweep — compartido por captura y regalos */
@keyframes shimmerSweep {
    0%,60%  { left:-100%; }
    100%    { left:200%; }
}
/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Countdown (Contador)
   Khal Calloway Studio © 2026
   Paleta: #FDFBF7 base, #2E4A35 esmeralda, #D4AF37 oro, #FADADD blush
══════════════════════════════════════════════════════════ */

.rg-countdown {
  position: relative;
  padding: 7rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,.09) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(46,74,53,.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(250,218,221,.06) 0%, transparent 55%),
    #FDFBF7;
  overflow: hidden;
  text-align: center;
}

/* Textura sutil de papel algodón vía ruido SVG en pseudo-elemento */
.rg-countdown::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(46,74,53,.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(212,175,55,.03) 1px, transparent 1px);
  background-size: 32px 32px, 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
}

/* ── Enredaderas SVG ── */
.rg-vine {
  position: absolute;
  top: 0;
  width: clamp(55px, 10vw, 90px);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.rg-vine--left  { left: 0; }
.rg-vine--right { right: 0; transform: scaleX(-1); }

/* Trazo del tallo */
.rg-stem {
  fill: none;
  stroke: #2E4A35;
  stroke-width: 1.2;
  opacity: .35;
  stroke-dasharray: 6 4;
}

/* ── Contenido interior ── */
.rg-countdown__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

/* Ornamento corona SVG */
.rg-crown-deco { width: clamp(160px, 55vw, 220px); opacity: .85; }
.rg-crown-deco--bottom { transform: scaleY(-1); }

/* Eyebrow */
.rg-countdown__label {
  font-family: var(--ff-sans);
  font-size: .62rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 0;
}

/* Título principal — Great Vibes animado */
.rg-countdown__title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.8rem, 10vw, 5rem);
  font-weight: 400;
  color: #2E4A35;
  line-height: 1;
  margin: 0;
  text-shadow:
    0 2px 20px rgba(46,74,53,0.15),
    0 0 60px rgba(212,175,55,0.08);
  animation: rgTitleBreath 5s ease-in-out infinite alternate;
}
@keyframes rgTitleBreath {
  from { text-shadow: 0 2px 20px rgba(46,74,53,.12), 0 0 40px rgba(212,175,55,.06); }
  to   { text-shadow: 0 2px 30px rgba(46,74,53,.22), 0 0 70px rgba(212,175,55,.16); }
}

/* Fecha debajo del título */
.rg-countdown__date {
  font-family: var(--ff-sans);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(154,123,16,0.7);
  margin: 0;
}

/* ── Unidades ── */
.rg-countdown__units {
  display: flex;
  align-items: flex-start;
  gap: clamp(6px, 2vw, 16px);
  flex-wrap: nowrap;
}

/* Tarjeta individual */
.rg-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: clamp(68px, 18vw, 100px);
}

/* Marco de la tarjeta */
.rg-unit__card {
  position: relative;
  width: 100%;
  padding: 0.9rem 0.5rem 0.7rem;
  background: linear-gradient(160deg, #FDFBF7 0%, #f5f0e8 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 6px;
  box-shadow:
    0 4px 20px rgba(46,74,53,.08),
    0 1px 4px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.rg-unit__card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,.06) 0%, transparent 60%);
  pointer-events: none;
}
.rg-unit:hover .rg-unit__card {
  border-color: rgba(212,175,55,.6);
  box-shadow:
    0 8px 28px rgba(46,74,53,.12),
    0 2px 8px rgba(0,0,0,.07),
    inset 0 1px 0 rgba(255,255,255,.95);
}

/* Número */
.rg-unit__num {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 8vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  color: #2E4A35;
  line-height: 1;
  letter-spacing: -.01em;
  transition: color .25s ease;
  position: relative;
}
.rg-unit:hover .rg-unit__num { color: #9A7B10; }

/* Línea dorada bajo el número */
.rg-unit__sep {
  display: block;
  width: clamp(20px, 4vw, 32px);
  height: 1px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
  opacity: .65;
}

/* Etiqueta */
.rg-unit__label {
  font-family: var(--ff-sans);
  font-size: clamp(.48rem, 1.1vw, .58rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #9A7B10;
  font-weight: 500;
  opacity: .8;
}

/* Separador dorado animado entre unidades */
.rg-unit__divider {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding-top: 0.6rem;
  flex-shrink: 0;
}
.rg-unit__divider::before,
.rg-unit__divider::after {
  content: '';
  display: block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #D4AF37;
  opacity: .55;
  animation: divDot 2.2s ease-in-out infinite alternate;
}
.rg-unit__divider::after {
  animation-delay: .6s;
  opacity: .35;
}
@keyframes divDot {
  from { transform: scale(1);    opacity: .45; }
  to   { transform: scale(1.5);  opacity: .75; }
}

/* Hover en tarjeta (micro-interacción) */
.rg-unit:hover .rg-unit__num {
  color: #9A7B10;
}

/* Frase final */
.rg-countdown__phrase {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.85rem, 2.5vw, 1.05rem);
  color: rgba(46,74,53,.55);
  letter-spacing: .04em;
  line-height: 1.7;
  margin: 0;
  animation: rgPhraseBreath 6s ease-in-out infinite alternate;
}
@keyframes rgPhraseBreath {
  from { color: rgba(46,74,53,.4);  }
  to   { color: rgba(46,74,53,.72); text-shadow: 0 0 16px rgba(212,175,55,.1); }
}

/* Flip class añadida por JS — sin salto, sin translateY abrupto */
@keyframes rgNumFlip {
  0%   { opacity: 0; transform: translateY(-6px) scale(.96); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}
.rg-unit__num.flipping { animation: rgNumFlip .22s cubic-bezier(.23,1,.32,1) forwards; }

/* ── Responsive ── */
@media (max-width: 420px) {
  .rg-countdown__units { gap: 5px; }
  .rg-unit { min-width: 60px; }
  .rg-vine { width: 44px; }
}


/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Galería "Nuestro Amor"
   Khal Calloway Studio © 2026
   Editorial portrait gallery — Marfil, Esmeralda, Oro
══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   CARD STACK — Galería Mazo Royal Garden
   KC Studio © 2026
══════════════════════════════════════════════════════════ */

/* ── Stack container ── */
.cs-stack {
  position: relative;
  width: clamp(240px, 78vw, 340px);
  height: clamp(320px, 105vw, 460px);
  margin: 0 auto 1.5rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ── Carta individual ── */
.cs-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  transition:
    transform 0.55s cubic-bezier(0.34,1.4,0.64,1),
    opacity   0.45s ease,
    z-index   0s;
  will-change: transform, opacity;
  transform-origin: center bottom;
}

/* Posiciones apiladas — offset de atrás a adelante */
.cs-card:nth-child(3) {
  transform: rotate(-4deg) translateY(14px) scale(0.92);
  z-index: 1;
  opacity: .65;
}
.cs-card:nth-child(2) {
  transform: rotate(2.5deg) translateY(7px) scale(0.96);
  z-index: 2;
  opacity: .82;
}
.cs-card:nth-child(1) {
  transform: rotate(0deg) translateY(0) scale(1);
  z-index: 3;
  opacity: 1;
}

/* Animación al descartar la carta de arriba */
.cs-card.cs-fly-out {
  transform: translateX(110%) rotate(18deg) scale(0.9) !important;
  opacity: 0 !important;
  z-index: 10;
  transition: transform 0.5s cubic-bezier(0.4,0,0.6,1), opacity 0.4s ease;
}

/* ── Marco de la foto ── */
.cs-card__frame {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.28);
  box-shadow:
    0 8px 32px rgba(46,74,53,.14),
    0 2px 8px rgba(0,0,0,.08),
    0 0 0 3px rgba(255,251,240,.7);
}
.cs-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  user-select: none;
  pointer-events: none;
}

/* Ornamentos de esquinas tipo paspartú */
.cs-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(212,175,55,.65);
  border-style: solid;
  border-width: 0;
}
.cs-corner--tl { top: 8px;  left: 8px;  border-top-width: 1.5px; border-left-width: 1.5px; }
.cs-corner--tr { top: 8px;  right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.cs-corner--bl { bottom: 8px; left: 8px;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cs-corner--br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ── Caption ── */
.cs-card__caption {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.78rem, 2.5vw, .9rem);
  color: #9A7B10;
  letter-spacing: .06em;
  margin: 0;
  text-align: center;
  opacity: 0;
  transition: opacity .4s ease;
}
.cs-card:nth-child(1) .cs-card__caption { opacity: 1; }

/* ── Hint ── */
.cs-hint {
  font-family: var(--ff-sans);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(154,123,16,.55);
  text-align: center;
  margin: .5rem 0 0;
}
.cs-hint__icon {
  font-size: .5rem;
  animation: csHintPulse 2s ease-in-out infinite;
}
@keyframes csHintPulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.3); }
}

/* ── Dots ── */
.cs-dots {
  display: flex; gap: 7px; justify-content: center;
  margin-top: .8rem;
}
.cs-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(154,123,16,.25);
  transition: background .35s ease, transform .35s ease;
}
.cs-dot--active {
  background: #D4AF37;
  transform: scale(1.3);
}

.rg-gallery {

  position: relative;
  padding: 7rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(46,74,53,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(250,218,221,.1) 0%, transparent 55%),
    #FDFBF7;
  overflow: hidden;
}

/* Textura papel -->
.rg-gallery::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(46,74,53,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Pétalos flotantes de fondo ── */
.rg-gallery__petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rg-petal {
  position: absolute;
  animation: rg-petalDrift linear infinite;
}
.rg-petal--1 { width: 80px; top: 5%; left: 8%;  animation-duration: 18s; animation-delay: 0s; }
.rg-petal--2 { width: 60px; top: 15%; right: 6%; animation-duration: 22s; animation-delay: 4s; }
.rg-petal--3 { width: 70px; bottom: 20%; left: 5%; animation-duration: 26s; animation-delay: 8s; }

@keyframes rg-petalDrift {
  0%   { transform: translateY(0) rotate(0deg);    opacity: .6; }
  50%  { transform: translateY(20px) rotate(10deg); opacity: .9; }
  100% { transform: translateY(0) rotate(0deg);    opacity: .6; }
}

/* ── Inner ── */
.rg-gallery__inner {
  position: relative; z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 2.5rem;
}

/* ── Header ── */
.rg-gallery__header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: .9rem;
  width: 100%;
}

.rg-gallery__laurel { width: clamp(200px, 65vw, 280px); }
.rg-gallery__laurel--bottom { opacity: .7; }

.rg-gallery__eyebrow {
  font-family: var(--ff-sans);
  font-size: .68rem; letter-spacing: .42em;
  text-transform: uppercase; color: #9A7B10;
  margin: 0;
}

.rg-gallery__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-gallery__title em { color: #D4AF37; font-style: italic; }

.rg-gallery__sub {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.85rem, 2.5vw, 1rem);
  color: rgba(46,74,53,.55);
  letter-spacing: .04em; margin: 0;
}

/* Divisor regla dorada */
.rg-gallery__rule {
  display: flex; align-items: center; gap: .8rem;
}
.rg-rule-line {
  display: block; width: clamp(40px,12vw,80px); height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,.5), transparent);
}
.rg-rule-diamond {
  color: #D4AF37; font-size: .55rem; opacity: .7;
}

/* ── Grid editorial ── */
.rg-gallery__grid {
  display: flex;
  gap: clamp(12px, 3vw, 22px);
  width: 100%;
  align-items: flex-end;         /* Las laterales un poco más bajas que la central */
  justify-content: center;
  /* Mobile: scroll horizontal snap */
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.rg-gallery__grid::-webkit-scrollbar { display: none; }

/* ── Tarjeta de foto ── */
.rg-photo-card {
  flex: 0 0 clamp(200px, 68vw, 260px);
  scroll-snap-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: .7rem;
}
.rg-photo-card--featured {
  flex: 0 0 clamp(210px, 72vw, 290px);
  /* Central sube 20px para efecto escalonado */
  margin-bottom: 1.4rem;
}

/* Marco de la foto */
.rg-photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;                        /* Bordes casi cuadrados — editorial */
  border: 1px solid rgba(212,175,55,.22);
  box-shadow:
    0 12px 40px rgba(46,74,53,.12),
    0  4px 16px rgba(0,0,0,.08),
    inset 0 0 0 3px rgba(253,251,247,.5);    /* Marco interior marfil */
  transition: transform .55s var(--ease-out), box-shadow .55s ease, border-color .4s ease;
  background: #f5f0e8;
}
.rg-photo-card--featured .rg-photo-frame {
  border-color: rgba(212,175,55,.45);
  box-shadow:
    0 20px 60px rgba(46,74,53,.18),
    0  8px 24px rgba(0,0,0,.1),
    inset 0 0 0 4px rgba(253,251,247,.6),
    0 0 0 1px rgba(212,175,55,.3);
}

.rg-photo-frame:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(212,175,55,.55);
  box-shadow:
    0 28px 70px rgba(46,74,53,.2),
    0 10px 30px rgba(0,0,0,.12),
    inset 0 0 0 3px rgba(253,251,247,.6);
}

/* Imagen */
.rg-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover; display: block;
  filter: brightness(.95) saturate(.9) sepia(.06);
  transition: transform .6s ease, filter .5s ease;
}
.rg-photo-card--featured .rg-photo-img {
  aspect-ratio: 2/3;
  filter: brightness(.97) saturate(.95);
}
.rg-photo-frame:hover .rg-photo-img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

/* Corner ornaments (solo featured) */
.rg-corner {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
}
.rg-corner::before, .rg-corner::after {
  content: '';
  position: absolute;
  background: #D4AF37;
  opacity: .65;
}
.rg-corner--tl { top: 8px; left: 8px; }
.rg-corner--tr { top: 8px; right: 8px; }
.rg-corner--bl { bottom: 8px; left: 8px; }
.rg-corner--br { bottom: 8px; right: 8px; }

.rg-corner--tl::before, .rg-corner--tr::before,
.rg-corner--bl::before, .rg-corner--br::before { width: 12px; height: 1px; }
.rg-corner--tl::after, .rg-corner--tr::after,
.rg-corner--bl::after, .rg-corner--br::after   { width: 1px; height: 12px; }

.rg-corner--tl::before { top: 0; left: 0; }
.rg-corner--tl::after  { top: 0; left: 0; }
.rg-corner--tr::before { top: 0; right: 0; }
.rg-corner--tr::after  { top: 0; right: 0; }
.rg-corner--bl::before { bottom: 0; left: 0; }
.rg-corner--bl::after  { bottom: 0; left: 0; }
.rg-corner--br::before { bottom: 0; right: 0; }
.rg-corner--br::after  { bottom: 0; right: 0; }

/* Hover overlay — rosa SVG centrada */
.rg-photo-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(46,74,53,.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.rg-photo-frame:hover .rg-photo-hover { opacity: 1; }

.rg-photo-rose {
  width: clamp(44px, 12vw, 64px);
  filter: drop-shadow(0 4px 12px rgba(212,175,55,.4));
  animation: rgRosePop .4s var(--ease-bounce) forwards;
}
@keyframes rgRosePop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* ── Leyenda / Caption ── */
.rg-photo-caption {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(.75rem, 2vw, .88rem);
  color: rgba(46,74,53,.55);
  letter-spacing: .04em;
}
.rg-photo-caption--featured {
  color: rgba(154,123,16,.75);
  font-size: clamp(.8rem, 2.2vw, .95rem);
}
.rg-caption-line {
  display: block; width: 22px; height: 1px;
  background: rgba(212,175,55,.4);
  flex-shrink: 0;
}

/* ── Desktop: layout 3-col proporcional ── */
@media (min-width: 600px) {
  .rg-gallery__grid {
    overflow-x: visible;
    flex-wrap: nowrap;
  }
  .rg-photo-card {
    flex: 1 1 0;
    max-width: 260px;
    scroll-snap-align: unset;
  }
  .rg-photo-card--featured {
    flex: 1.25 1 0;
    max-width: 300px;
  }
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Nuestra Historia (Horizontal Pinned)
   Full Garden Inmersivo — CSS SVG · KC Studio 2026
══════════════════════════════════════════════════════════ */

/* ── JARDÍN SVG DE FONDO ── */
.rg-garden-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 0;
}

/* Franja de hierba en el suelo */
.rg-garden__ground {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%; height: 80px;
}

/* Arbustos laterales */
.rg-garden__shrub {
  position: absolute;
  bottom: 0;
  width: clamp(90px, 22vw, 160px);
  height: auto;
}
.rg-garden__shrub--l { left: 0; }
.rg-garden__shrub--r { right: 0; transform: scaleX(-1); }

/* Enredaderas trepadoras */
.rg-garden__climber {
  position: absolute;
  top: 0;
  width: clamp(44px, 10vw, 70px);
  height: 100%;
}
.rg-garden__climber--l { left: 0; }
.rg-garden__climber--r { right: 0; transform: scaleX(-1); }

/* Pétalos flotantes */
.rg-garden__petal {
  position: absolute;
  animation: gardenPetalFloat linear infinite;
}
.rg-garden__petal--a { width: 32px; top: 12%; left: 18%; animation-duration: 14s; animation-delay: 0s; }
.rg-garden__petal--b { width: 26px; top: 35%; right: 22%; animation-duration: 18s; animation-delay: 3s; }
.rg-garden__petal--c { width: 28px; top: 60%; left: 35%; animation-duration: 20s; animation-delay: 7s; }
.rg-garden__petal--d { width: 24px; top: 20%; right: 10%; animation-duration: 16s; animation-delay: 5s; }

@keyframes gardenPetalFloat {
  0%   { transform: translateY(0)   rotate(0deg)   scale(1);   opacity: .5; }
  33%  { transform: translateY(18px) rotate(12deg)  scale(1.05); opacity: .8; }
  66%  { transform: translateY(-10px) rotate(-8deg) scale(.95); opacity: .6; }
  100% { transform: translateY(0)   rotate(0deg)   scale(1);   opacity: .5; }
}

/* ── SECCIÓN ── */
.historia-pin-section {
  position: relative; z-index: 1;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%,   rgba(212,175,55,.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 10% 60%,  rgba(46,74,53,.1)  0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 90% 60%,  rgba(250,218,221,.1) 0%, transparent 50%),
    linear-gradient(180deg, #FDFBF7 0%, #F0EBE0 40%, #EAE3D5 100%);
}

/* Textura micro-puntos botánicos */
.historia-pin-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(46,74,53,.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(212,175,55,.03) 1px, transparent 1px);
  background-size: 30px 30px, 18px 18px;
  background-position: 0 0, 9px 9px;
}

/* ── HEADER ── */
.historia-header {
  text-align: center;
  padding: 80px 20px 30px;
  position: relative; z-index: 10;
}
.historia-deco {
  display: block; font-size: .8em; letter-spacing: 12px;
  color: rgba(46,74,53,.4); margin-bottom: 14px;
  animation: fadeInUp .8s ease .2s both;
}
.historia-titulo {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3em, 9vw, 5.5em); font-weight: 400;
  color: #2E4A35; margin-bottom: 10px; line-height: 1.1;
  text-shadow:
    0 2px 20px rgba(46,74,53,.15),
    0 4px 40px rgba(212,175,55,.1);
  animation: fadeInUp .8s ease .4s both;
}
.historia-titulo em { color: #D4AF37; font-style: normal; }

.historia-sub {
  font-family: var(--ff-sans); font-weight: 300;
  font-size: clamp(.75em, 2vw, .9em);
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(46,74,53,.55); margin-bottom: 18px;
  animation: fadeInUp .8s ease .6s both;
}
.historia-line {
  width: 60px; height: 1.5px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, #D4AF37, #2E4A35, #D4AF37, transparent);
  border-radius: 2px; position: relative;
  animation: fadeInUp .8s ease .8s both;
}
.historia-line::before {
  content: '✦'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: .65em; color: #D4AF37; opacity: .8;
}

/* ── SCROLL CONTAINER ── */
.historia-pin-section .seccion-inner { max-width: 100%; }
.historia-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; display: flex; align-items: center;
}
.historia-track {
  display: flex; gap: 0; will-change: transform;
  transition: transform .08s linear;
}

/* ── HITOS ── */
.hito {
  min-width: 90vw; max-width: 90vw; height: 80vh;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 0 clamp(24px, 6vw, 100px);
  flex-shrink: 0; position: relative;
}

/* Divisor botánico entre hitos */
.hito + .hito::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(212,175,55,.3) 30%,
    rgba(46,74,53,.2)   70%,
    transparent);
}

.hito-foto {
  width: clamp(200px, 28vw, 360px);
  height: clamp(260px, 42vh, 480px);
  /* Marco ovalado tipo jardín - más orgánico */
  border-radius: 48% 52% 44% 56% / 40% 40% 60% 60%;
  overflow: hidden;
  border: 2px solid rgba(212,175,55,.4);
  outline: 1px solid rgba(46,74,53,.12);
  outline-offset: 8px;
  box-shadow:
    0 20px 60px rgba(46,74,53,.2),
    0  8px 24px rgba(0,0,0,.08),
    0  0   0  8px rgba(212,175,55,.06),
    inset 0 0 30px rgba(212,175,55,.04);
  flex-shrink: 0; position: relative;
  transition: box-shadow .6s ease, outline-color .6s ease, border-radius .6s ease;
}
.hito:hover .hito-foto {
  border-radius: 44% 56% 48% 52% / 44% 44% 56% 56%;
  box-shadow:
    0 28px 70px rgba(46,74,53,.28),
    0 10px 30px rgba(0,0,0,.1),
    0  0   0  10px rgba(212,175,55,.1),
    inset 0 0 40px rgba(212,175,55,.07);
  outline-color: rgba(212,175,55,.3);
}
.hito-foto img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.92) saturate(.88) sepia(.05);
  transition: transform .8s cubic-bezier(.34,1.1,.64,1), filter .6s ease;
}
.hito:hover .hito-foto img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1);
}

.hito-texto { max-width: 380px; text-align: left; }

/* Año estilo watermark botánico */
.hito-año {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4em, 10vw, 6.5em);
  color: #2E4A35; opacity: .12;
  line-height: .85; margin-bottom: 8px; font-weight: 400;
}

/* Ornamento de hoja antes del título */
.hito-titulo {
  font-family: var(--ff-serif);
  font-size: clamp(1.5em, 3.2vw, 2.2em);
  font-style: italic; font-weight: 400;
  color: #2E4A35; margin-bottom: 14px; line-height: 1.2;
  position: relative;
}
.hito-titulo::before {
  content: '🌿';
  display: block;
  font-size: .45em;
  margin-bottom: .4em;
  opacity: .7;
  filter: hue-rotate(10deg);
}

.hito-desc {
  color: rgba(46,74,53,.6);
  font-size: clamp(.8em, 1.8vw, .92em);
  line-height: 1.9; font-weight: 300;
  font-family: var(--ff-sans);
}

/* Línea decorativa dorada bajo el texto del hito */
.hito-texto::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  margin-top: 1.2rem;
  background: linear-gradient(to right, #D4AF37, rgba(212,175,55,.1));
}

/* ── PROGRESS BAR ── */
.historia-progress {
  position: absolute; bottom: clamp(20px,4vh,50px);
  left: 50%; transform: translateX(-50%);
  width: clamp(120px, 20vw, 250px); height: 2px;
  background: rgba(46,74,53,.15); border-radius: 3px; z-index: 5;
}
.historia-progress-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #2E4A35, #D4AF37);
  border-radius: 3px; transition: width .1s linear;
}
.historia-scroll-hint {
  position: absolute; bottom: clamp(35px,6vh,70px);
  left: 50%; transform: translateX(-50%);
  font-size: .55em; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(46,74,53,.35); z-index: 5;
  animation: parpadeo 2.5s infinite;
}
.historia-swipe-hint { display: none; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .historia-pin-section { height: auto !important; }
  .historia-sticky {
    position: relative !important; top: auto !important;
    height: auto !important; overflow: visible !important;
    display: block !important;
  }
  .historia-track {
    display: flex !important; flex-direction: row !important;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transform: none !important; transition: none !important;
    scrollbar-width: none; gap: 0;
    padding: 10px 0 25px;
  }
  .historia-track::-webkit-scrollbar { display: none; }
  .hito {
    flex-direction: column;
    min-width: 88vw; max-width: 88vw;
    scroll-snap-align: center;
    gap: 20px; padding: 20px 16px 30px;
    height: auto; min-height: 70vh;
    flex-shrink: 0;
  }
  .hito + .hito::before { display: none; }
  .hito-foto {
    width: clamp(200px, 65vw, 280px);
    height: clamp(220px, 38vh, 320px);
  }
  .hito-texto { text-align: center; max-width: 100%; }
  .hito-titulo::before { text-align: center; }
  .hito-texto::after { margin: 1.2rem auto 0; }
  .historia-progress, .historia-scroll-hint { display: none; }
  .historia-swipe-hint {
    display: flex; align-items: center; gap: 6px; justify-content: center;
    margin: 16px auto 0; width: fit-content;
    background: rgba(253,251,247,.8);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 40px; padding: 6px 14px 6px 12px;
    animation: swipeHintBounce 2s ease-in-out infinite;
    pointer-events: none;
  }
  .swipe-hand {
    font-size: .95em; display: inline-block;
    animation: swipeHandSlide 1.5s ease-in-out infinite;
  }
  .swipe-text {
    font-family: var(--ff-sans); font-size: .58em;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(46,74,53,.7);
  }
  @keyframes swipeHandSlide {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(6px); }
  }
  @keyframes swipeHintBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }
  /* Arbustos más pequeños en mobile */
  .rg-garden__shrub { width: 70px; }
  .rg-garden__climber { width: 36px; }
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Dress Code (Código de Vestimenta)
   Boutique de alta costura · Botánico · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-dresscode {
  position: relative;
  padding: 6rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(250,218,221,.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%,  rgba(46,74,53,.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%,  rgba(212,175,55,.06) 0%, transparent 50%),
    #FDFBF7;
  overflow: hidden;
}
.rg-dresscode::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(250,218,221,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Rama de rosa decorativa */
.rg-dc__rose-branch {
  position: absolute; top: 0; left: 0;
  width: clamp(60px, 14vw, 100px);
  height: auto; pointer-events: none; opacity: .9;
}

/* ── Inner ── */
.rg-dc__inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}

/* ── Header ── */
.rg-dc__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.rg-dc__eyebrow {
  font-family: var(--ff-sans); font-size: .66rem; letter-spacing: .4em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-dc__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 7.5vw, 3.2rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-dc__title em { color: #D4AF37; font-style: italic; }

.rg-dc__branch { width: clamp(200px, 65vw, 280px); }

.rg-dc__sub {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.82rem, 2.3vw, .98rem);
  color: rgba(46,74,53,.55); margin: 0; max-width: 400px;
}

/* ── Paleta swatches ── */
.rg-dc__palette {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(8px, 2vw, 14px); flex-wrap: nowrap;
  padding: 1.1rem 1.6rem;
  background: rgba(253,251,247,.7);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(46,74,53,.07), inset 0 1px 0 rgba(255,255,255,.6);
}
.rg-dc__swatch {
  width: clamp(32px,7vw,42px); height: clamp(32px,7vw,42px);
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 3px 12px rgba(0,0,0,.15), 0 0 0 0 rgba(212,175,55,.2);
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease;
}
.rg-dc__swatch:hover {
  transform: scale(1.3) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2), 0 0 0 3px rgba(212,175,55,.3);
}
.rg-dc__swatch::after {
  content: attr(data-name);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) scale(.7);
  background: #2E4A35; border: 1px solid rgba(212,175,55,.35);
  color: #FDFBF7; font-size: .52em; letter-spacing: 2px;
  text-transform: uppercase; white-space: nowrap; padding: 4px 10px; border-radius: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: var(--ff-sans);
}
.rg-dc__swatch:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ── Cards mujeres/hombres ── */
.rg-dc__duo {
  display: flex; flex-direction: column; gap: .9rem;
  width: 100%; max-width: 560px;
}
.rg-dc__card {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.22);
  border-left: 3px solid #D4AF37;
  border-radius: 6px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 4px 18px rgba(46,74,53,.07), inset 0 0 0 1px rgba(255,255,255,.5);
  transition: transform .35s var(--ease-bounce), border-color .3s ease, box-shadow .35s ease;
}
.rg-dc__card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,.5);
  border-left-color: #2E4A35;
  box-shadow: 0 10px 28px rgba(46,74,53,.12), inset 0 0 0 1px rgba(255,255,255,.6);
}
.rg-dc__card-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border: 1px solid rgba(212,175,55,.3); border-radius: 50%;
  background: rgba(212,175,55,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease;
}
.rg-dc__card:hover .rg-dc__card-icon { background: rgba(212,175,55,.12); }
.rg-dc__card-icon svg { width: 26px; height: 26px; }

.rg-dc__card-body h4 {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1rem, 3vw, 1.15rem); color: #2E4A35;
  margin: 0 0 .4rem; font-weight: 400;
}
.rg-dc__card-body p {
  font-size: clamp(.75rem, 2vw, .82rem); color: rgba(46,74,53,.58);
  line-height: 1.7; margin: 0 0 .6rem; font-weight: 300;
}

/* Pills */
.rg-dc__pill {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .6em; letter-spacing: .18em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 20px;
  background: rgba(46,74,53,.08); border: 1px solid rgba(46,74,53,.2);
  color: #2E4A35;
}
.rg-dc__pill--warn {
  background: rgba(250,218,221,.2); border-color: rgba(250,218,221,.5);
  color: rgba(180,80,90,.75);
}

/* ── Aviso novia ── */
.rg-dc__notice {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.4rem;
  background: rgba(253,251,247,.8);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 50px;
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.78rem, 2.2vw, .9rem);
  color: rgba(46,74,53,.65);
  box-shadow: 0 4px 16px rgba(212,175,55,.1);
  animation: rgNoticeBreath 5s ease-in-out infinite alternate;
}
.rg-dc__notice-leaf { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes rgNoticeBreath {
  0%   { box-shadow: 0 4px 16px rgba(212,175,55,.08); border-color: rgba(212,175,55,.25); }
  100% { box-shadow: 0 6px 22px rgba(212,175,55,.2);  border-color: rgba(212,175,55,.5);  }
}

/* Desktop: cards side by side */
@media (min-width: 560px) {
  .rg-dc__duo { flex-direction: row; }
  .rg-dc__card { flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Mesa de Regalos — Obsequios Reales
   Sobre lacrado · Cinta dorada · Flores Blush · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-regalos {
  position: relative;
  padding: 0 1.5rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(212,175,55,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%,  rgba(250,218,221,.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%,  rgba(46,74,53,.06) 0%, transparent 50%),
    #FDFBF7;
  overflow: hidden;
}
.rg-regalos::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(212,175,55,.04) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Curvas decorativas */
.rg-regalos__ribbon { line-height: 0; margin-bottom: -2px; }
.rg-regalos__ribbon svg { width: 100%; height: 70px; display: block; }
.rg-regalos__wave  { line-height: 0; margin-top: -1px; }
.rg-regalos__wave  svg { width: 100%; height: 50px; display: block; }

/* Flores de esquina */
.rg-regalos__corner {
  position: absolute; width: clamp(60px, 14vw, 80px); pointer-events: none;
}
.rg-regalos__corner--tl { top: 60px; left: 0; }
.rg-regalos__corner--tr { top: 60px; right: 0; }

/* ── Inner ── */
.rg-regalos__inner {
  position: relative; z-index: 1;
  max-width: 580px; margin: 0 auto;
  padding: 3.5rem 0 4rem;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}

/* ── Header ── */
.rg-regalos__header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.rg-regalos__eyebrow {
  font-family: var(--ff-sans); font-size: .66rem; letter-spacing: .4em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-regalos__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-regalos__title em { color: #D4AF37; font-style: italic; }
.rg-regalos__bow { width: clamp(140px, 45vw, 180px); }
.rg-regalos__sub {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.82rem, 2.2vw, .96rem);
  color: rgba(46,74,53,.5); margin: 0;
}

/* ── Store Cards — tarjetas tipo sobre regio ── */
.rg-regalos__stores {
  display: flex; gap: .9rem; width: 100%; justify-content: center;
  flex-wrap: wrap;
}
.rg-store-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.4rem;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(46,74,53,.07), inset 0 0 0 1px rgba(255,255,255,.5);
  transition: transform .35s var(--ease-bounce), box-shadow .35s ease, border-color .3s ease;
  flex: 1; min-width: 140px; max-width: 220px;
}
.rg-store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 10px 28px rgba(46,74,53,.13), inset 0 0 0 1px rgba(255,255,255,.6);
}
.rg-store-card__seal { flex-shrink: 0; }
.rg-store-card__seal svg { width: 30px; height: 30px; }
.rg-store-card__name {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1rem, 3vw, 1.12rem); color: #2E4A35; flex: 1;
}
.rg-store-card__arrow {
  color: #D4AF37; font-size: 1.1rem; opacity: .6;
  transition: transform .3s ease, opacity .3s ease;
}
.rg-store-card:hover .rg-store-card__arrow { transform: translateX(4px); opacity: 1; }

/* ── Separador floral ── */
.rg-regalos__sep { display: flex; align-items: center; gap: .9rem; width: 80%; }
.rg-sep-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,.4), transparent);
}

/* ── Sobre lacrado ── */
.rg-regalos__envelope {
  width: 100%;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(46,74,53,.1),
    0 2px 8px rgba(0,0,0,.05),
    inset 0 0 0 2px rgba(255,255,255,.55);
  position: relative; overflow: hidden;
}
/* Línea dorada top */
.rg-regalos__envelope::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37 30%, #9A7B10 50%, #D4AF37 70%, transparent);
}

.rg-envelope-icon { margin-bottom: 1rem; }
.rg-envelope-icon svg { width: clamp(60px, 18vw, 80px); height: auto; margin: 0 auto; }

.rg-envelope__title {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  color: #2E4A35; margin: 0 0 .4rem; font-weight: 400;
}
.rg-envelope__sub {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.78rem, 2.2vw, .9rem);
  color: rgba(46,74,53,.5); margin: 0 0 1rem; line-height: 1.7;
}
.rg-envelope__bank {
  font-family: var(--ff-sans);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(46,74,53,.55); margin: 0 0 1rem;
}
.rg-envelope__bank strong { color: #2E4A35; }

/* Botón CLABE — estilo sello que se abre */
.rg-clabe-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 50px; padding: .65rem 1.4rem;
  font-family: var(--ff-sans); font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: #9A7B10; cursor: pointer;
  transition: all .4s ease; position: relative; overflow: hidden;
}
.rg-clabe-btn::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.08), transparent);
  animation: shimmerSweep 3.5s ease-in-out infinite;
}
.rg-clabe-btn:hover {
  background: rgba(212,175,55,.16); border-color: #D4AF37;
  color: #7A5C08; transform: translateY(-1px);
}
.rg-clabe-btn__arrow { font-size: 1.1em; transition: transform .4s ease; }
.rg-clabe-btn.abierto .rg-clabe-btn__arrow { transform: rotate(90deg); }

/* Caja CLABE */
.rg-clabe-caja {
  background: rgba(253,251,247,.8);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 8px; padding: 1rem 1.2rem; margin-top: 1rem;
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s cubic-bezier(.23,1,.32,1), opacity .5s ease, padding .4s ease;
  font-size: .88rem;
}
.rg-clabe-caja.visible { max-height: 120px; opacity: 1; }
.rg-clabe-caja:not(.visible) { padding-top: 0; padding-bottom: 0; }

/* Botón Copiar */
.rg-copy-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem 1rem; border-radius: 50px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.08);
  color: #9A7B10; font-family: var(--ff-sans);
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: all .3s ease;
}
.rg-copy-btn:hover { background: rgba(212,175,55,.2); border-color: #D4AF37; color: #7A5C08; }

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Captura el Momento
   Jardín fotográfico · Cámara Royal SVG · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-captura {
  position: relative;
  padding: 6rem 1.5rem 7rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(46,74,53,.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 100%, rgba(212,175,55,.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(250,218,221,.09) 0%, transparent 50%),
    #F0EBE0;
  overflow: hidden;
  text-align: center;
}
.rg-captura::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(46,74,53,.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(212,175,55,.025) 1px, transparent 1px);
  background-size: 30px 30px, 18px 18px;
  background-position: 0 0, 9px 9px;
}

/* Jardín decorativo */
.rg-captura__garden { position: absolute; inset: 0; pointer-events: none; }
.rg-cap-shrub {
  position: absolute; bottom: 0;
  width: clamp(70px, 18vw, 120px); height: auto;
}
.rg-cap-shrub--l { left: 0; }
.rg-cap-shrub--r { right: 0; transform: scaleX(-1); }

/* Partículas — destellos dorados */
.rg-captura__particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cap-particle {
  position: absolute;
  left: var(--x,50%); top: var(--y,50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, #D4AF37 0%, rgba(212,175,55,.2) 100%);
  box-shadow: 0 0 8px 2px rgba(212,175,55,.3);
  animation: capFloat var(--d,6s) var(--delay,0s) ease-in-out infinite;
}
@keyframes capFloat {
  0%,100% { opacity:0; transform:translate(0,0) scale(.3); }
  25%     { opacity:.7; transform:translate(10px,-16px) scale(.8); }
  50%     { opacity:1;  transform:translate(-6px,-28px) scale(1); }
  75%     { opacity:.5; transform:translate(12px,-10px) scale(.6); }
}

/* ── Contenido ── */
.rg-captura__content {
  position: relative; z-index: 1;
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.rg-captura__eyebrow {
  font-family: var(--ff-sans); font-size: .66rem; letter-spacing: .42em;
  text-transform: uppercase; color: #9A7B10; margin: 0;
}
.rg-captura__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 7.5vw, 3rem);
  font-weight: 400; color: #2E4A35; line-height: 1.1; margin: 0;
}
.rg-captura__title em { color: #D4AF37; font-style: italic; }
.rg-captura__rule { display: flex; align-items: center; gap: .8rem; }

/* ── Card cámara ── */
.rg-captura__card {
  width: 100%;
  background: #FDFBF7;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  box-shadow:
    0 12px 40px rgba(46,74,53,.1),
    0  4px 14px rgba(0,0,0,.06),
    inset 0 0 0 3px rgba(255,255,255,.55);
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .35s ease;
}
.rg-captura__card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.5);
  box-shadow:
    0 20px 55px rgba(46,74,53,.15),
    0  6px 20px rgba(0,0,0,.08),
    inset 0 0 0 3px rgba(255,255,255,.65);
}
/* Línea top dorada */
.rg-captura__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37 30%, #9A7B10 50%, #D4AF37 70%, transparent);
}

/* Cámara SVG */
.rg-captura__cam-wrap {
  position: relative; display: inline-block; margin-bottom: 1.4rem;
}
.rg-captura__cam { width: clamp(80px, 22vw, 100px); height: auto; display: block; margin: 0 auto; }
.rg-captura__cam-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 65%);
  animation: glowBreath 5s ease-in-out infinite alternate;
  z-index: -1; pointer-events: none;
}
@keyframes glowBreath {
  0%   { opacity: .4; transform: translate(-50%,-50%) scale(.85); }
  100% { opacity: .9; transform: translate(-50%,-50%) scale(1.2); }
}

.rg-captura__desc {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.88rem, 2.8vw, 1.02rem);
  color: rgba(46,74,53,.6); line-height: 1.9; margin: 0 0 1.8rem;
}
.rg-captura__desc em { color: #D4AF37; }

/* Botón CTA */
.rg-captura__btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .9rem 2rem; border-radius: 4px;
  background: linear-gradient(135deg, #2E4A35 0%, #3a5e42 100%);
  border: 1px solid rgba(212,175,55,.35);
  color: #FDFBF7; font-family: var(--ff-sans);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(46,74,53,.25), inset 0 1px 0 rgba(255,255,255,.1);
  transition: all .45s cubic-bezier(.34,1.1,.64,1);
}
.rg-captura__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(46,74,53,.35);
  border-color: rgba(212,175,55,.6);
}
.rg-captura__btn-shimmer {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.1), transparent);
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none;
}
.rg-captura__arrow {
  opacity: .65; transition: transform .3s ease, opacity .3s ease;
}
.rg-captura__btn:hover .rg-captura__arrow { transform: translateX(4px); opacity: 1; }

/* ══════════════════════════════════════════════════════════
   ROYAL GARDEN · Mensaje Secreto
   Rosa reveladora · Pergamino · Firma floral · KC Studio 2026
══════════════════════════════════════════════════════════ */

.rg-secreto {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(250,218,221,.12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 20% 20%, rgba(46,74,53,.07) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 80% 80%, rgba(212,175,55,.07) 0%, transparent 50%),
    #FDFBF7;
  overflow: hidden; text-align: center;
}
.rg-secreto::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(250,218,221,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Ramas decorativas horizontales */
.rg-secreto__branch {
  position: absolute; top: 50%; pointer-events: none;
  width: clamp(90px, 28vw, 120px); height: auto;
}
.rg-secreto__branch--l { left: 0;  transform: translateY(-50%); }
.rg-secreto__branch--r { right: 0; transform: translateY(-50%); }

/* ── Trigger: Rosa ── */
.rg-secreto__trigger {
  position: relative; z-index: 1;
  cursor: pointer; display: inline-flex; flex-direction: column;
  align-items: center; gap: 1rem;
  -webkit-tap-highlight-color: transparent;
}
.rg-secreto__rose-wrap { position: relative; display: inline-block; }
.rg-secreto__rose {
  width: clamp(64px, 18vw, 80px); height: auto; display: block;
  animation: rgRoseFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(212,175,55,.3));
}
@keyframes rgRoseFloat {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50%     { transform: translateY(-12px) rotate(6deg); }
}
.rg-secreto__rose-aura {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250,218,221,.5) 0%, transparent 65%);
  animation: rgRoseAura 2.2s ease-in-out infinite;
  z-index: -1; pointer-events: none;
}
@keyframes rgRoseAura {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: .45; }
  50%     { transform: translate(-50%,-50%) scale(1.55); opacity: .85; }
}
.rg-secreto__hint {
  font-family: var(--ff-sans);
  font-size: .65rem; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(46,74,53,.45);
  animation: parpadeo 2.2s infinite;
  margin: 0;
}

/* ── Mensaje revelado ── */
.mensaje-secreto {
  display: none;
  max-width: 540px; margin: 2rem auto 0;
  background: linear-gradient(160deg, rgba(253,246,228,1) 0%, rgba(249,241,218,1) 60%, rgba(253,246,228,1) 100%);
  border: 1px solid rgba(212,175,55,.35);
  padding: 3rem 2rem 2.5rem;
  text-align: center; position: relative;
  border-radius: 4px;
  box-shadow:
    0 12px 40px rgba(46,74,53,.1),
    inset 0 0 0 2px rgba(255,255,255,.5);
}
.mensaje-secreto::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37 30%, #9A7B10 50%, #D4AF37 70%, transparent);
}
.mensaje-secreto.visible {
  display: block;
  animation: rev-msg 1.2s var(--ease-out) forwards;
}
@keyframes rev-msg {
  0%   { opacity: 0; transform: translateY(20px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hide-msg {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(16px) scale(.97); }
}

.rg-secreto__msg-top { margin-bottom: 1.2rem; }

.mensaje-secreto h3 {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  color: #2E4A35; margin-bottom: 1.2rem; font-weight: 400;
}
.mensaje-secreto blockquote {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.2rem, 4.5vw, 1.7rem);
  color: rgba(46,74,53,.75); line-height: 1.85;
  font-weight: 400; margin: 0;
}
.rg-secreto__firma-deco { margin-top: 1.4rem; }
.mensaje-secreto .firma {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(.8rem, 2.4vw, .92rem);
  color: rgba(46,74,53,.55); letter-spacing: .05em;
}

/* OVERRIDES GLOBALES */
.seccion-alt, .seccion-bosq, .seccion-terra { background: transparent !important; }
[data-aos] { opacity: 0; transition-duration: 0.8s; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
