/* ══════════════════════════════════════════════════════════════
   BODA PADY & RONNY — STYLES.CSS — EDICIÓN PREMIUM CINEMATOGRÁFICA
   ══════════════════════════════════════════════════════════════
   VARIABLES DE MARCA — edita aquí para cambiar la paleta
   ══════════════════════════════════════════════════════════════ */
:root {
  /* ── Colores principales ── EDITAR AQUÍ ── */
  --wine:        #7A0C0C;
  --wine-deep:   #6B0000;
  --wine-dark:   #3d0000;
  --wine-mid:    #9B1414;
  --gold:        #C9A84C;
  --gold-light:  #E2C76B;
  --gold-pale:   #F5E9C5;
  --cream:       #F8F3EC;
  --cream-warm:  #EFE8DC;
  --ivory:       #FAF8F4;
  --dark:        #0e0808;
  --dark-mid:    #1c0f0f;
  --white:       #FFFFFF;
  --smoke:       rgba(255,255,255,0.06);

  /* ── Tipografías ── */
  --f-display:  'Cinzel', serif;           /* Títulos impactantes */
  --f-serif:    'Cormorant Garamond', Georgia, serif; /* Cuerpo elegante */
  --f-sans:     'Raleway', Arial, sans-serif;         /* UI limpia */

  /* ── Espaciados ── */
  --sp-xl:  120px;
  --sp-lg:  80px;
  --sp-md:  48px;

  /* ── Transiciones ── */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t:    0.4s var(--ease);
  --t-slow: 0.8s var(--ease);
}

/* ══════════════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-weight: 300;
  color: var(--dark);
  background: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none; /* cursor personalizado — desktop */
}
@media (pointer: coarse) { body { cursor: auto; } }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; cursor: none; }
@media (pointer: coarse) { button { cursor: pointer; } }

/* Scrollbar slim */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--wine-mid); border-radius: 2px; }
::selection { background: rgba(201,168,76,0.25); color: var(--dark); }


/* ══════════════════════════════════════════════════════════════
   CURSOR PERSONALIZADO (solo desktop)
══════════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s var(--ease), background 0.3s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.25s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}
@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   PANTALLA DE ENTRADA (splash screen)
══════════════════════════════════════════════════════════════ */
.entrance-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.entrance-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Partículas del splash */
.entrance-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ep-dot {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: epFloat var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes epFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: var(--op, 0.6); transform: translateY(-20px) scale(1); }
  90%  { opacity: var(--op, 0.6); transform: translateY(calc(var(--travel, -300px))) scale(1); }
  100% { opacity: 0; transform: translateY(calc(var(--travel, -300px) - 20px)) scale(0); }
}

.entrance-content {
  text-align: center;
  z-index: 1;
  padding: 40px 24px;
  opacity: 0;
  animation: ecReveal 1.2s 0.3s var(--ease-out) forwards;
}
@keyframes ecReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.entrance-cross {
  font-size: 20px;
  color: rgba(201,168,76,0.5);
  letter-spacing: 0.3em;
  margin-bottom: 32px;
  display: block;
}

.entrance-pretitle {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin-bottom: 24px;
}

.entrance-names {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 12vw, 96px);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.en-bride, .en-groom {
  /* Gradiente dorado en los nombres de la splash */
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.en-amp {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.55em;
  color: rgba(201,168,76,0.6);
  margin: 0 12px;
  -webkit-text-fill-color: rgba(201,168,76,0.6);
}

.entrance-date {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  margin-bottom: 52px;
}

/* Botón de entrada */
.entrance-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
@media (pointer: coarse) { .entrance-btn { cursor: pointer; } }

.btn-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.5);
  padding: 18px 48px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--t);
  position: relative;
  z-index: 1;
}
.entrance-btn:hover .btn-inner,
.entrance-btn:focus .btn-inner {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  letter-spacing: 0.35em;
}
.btn-icon {
  font-size: 16px;
  color: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
/* Ripple del botón */
.btn-ripple {
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(201,168,76,0.2);
  animation: ripplePulse 2.5s ease-in-out infinite;
}
@keyframes ripplePulse {
  0%,100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.06); opacity: 0; }
}

.entrance-hint {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  margin-top: 20px;
}


/* ══════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE DE MÚSICA
══════════════════════════════════════════════════════════════ */
.music-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(122,12,12,0.9);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 18px;
  display: none; /* se muestra via JS al entrar */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: var(--t);
  cursor: pointer;
}
@media (pointer: coarse) { .music-fab { cursor: pointer; } }
.music-fab:hover {
  background: var(--wine);
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(122,12,12,0.6);
}
.music-fab.visible { display: flex; }
.music-fab.playing { animation: fabSpin 8s linear infinite; }
@keyframes fabSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ══════════════════════════════════════════════════════════════
   CONTENIDO PRINCIPAL
══════════════════════════════════════════════════════════════ */
.main-content {
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.main-content.visible { opacity: 1; }


/* ══════════════════════════════════════════════════════════════
   ANIMACIONES GLOBALES
══════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.2); opacity: 0.7; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes floatDown {
  0%,100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(10px); opacity: 0.3; }
}

/* Reveal al scroll — JS agrega .is-visible */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal del hero — JS agrega .is-visible a [data-reveal] */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}
[data-reveal].is-visible {
  animation: fadeUp 1s var(--ease-out) forwards;
}


/* ══════════════════════════════════════════════════════════════
   SECCIÓN 1 — HERO CINEMATOGRÁFICO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

/* Capas de foto + overlays */
.hero-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  animation: heroZoom 25s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
/* Overlay en capas para efecto cine */
.hero-layer-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,8,8,0.3) 0%, transparent 40%, transparent 60%, rgba(14,8,8,0.8) 100%);
}
.hero-layer-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(61,0,0,0.5) 0%, transparent 40%, transparent 60%, rgba(61,0,0,0.4) 100%);
}
.hero-layer-3 {
  position: absolute; inset: 0;
  background: rgba(14,8,8,0.25);
}
/* Grano de película */
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Partículas flotantes (luz dorada) */
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hp-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.9) 0%, transparent 70%);
  animation: hpFloat var(--dur,10s) var(--delay,0s) ease-in-out infinite;
}
@keyframes hpFloat {
  0%   { opacity:0; transform:translate(0,0) scale(0); }
  15%  { opacity:var(--op,0.7); transform:translate(0,-30px) scale(1); }
  85%  { opacity:var(--op,0.7); transform:translate(var(--tx,20px),calc(var(--travel,-200px))) scale(0.6); }
  100% { opacity:0; transform:translate(var(--tx,20px),calc(var(--travel,-220px))) scale(0); }
}

/* Textos laterales verticales */
.hero-side-left, .hero-side-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-side-left  { left: 28px; }
.hero-side-right { right: 28px; }
.side-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.4), transparent);
}
.side-text {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.5);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
@media (max-width: 600px) {
  .hero-side-left, .hero-side-right { display: none; }
}

/* Contenido central */
.hero-center {
  position: relative;
  z-index: 4;
  text-align: center;
  color: var(--white);
  padding: 80px 28px 100px;
  max-width: 860px;
  width: 100%;
}

/* Cruz decorativa top */
.hero-top-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.htd-line {
  height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5));
}
.htd-line:last-child {
  background: linear-gradient(90deg, rgba(201,168,76,0.5), transparent);
}
.htd-cross { color: rgba(201,168,76,0.6); }

/* Kicker */
.hero-sup {
  font-family: var(--f-sans);
  font-weight: bold;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.992);
  margin-bottom: 28px;
}

/* Nombres principales */
.hero-names-wrap { margin-bottom: 40px; }
.hero-names { font-family: var(--f-display); font-weight: 400; line-height: 1; }

.hn-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
}
.hn-first {
  display: block;
  font-size: clamp(60px, 12vw, 110px);
  /* Gradiente shimmer en los nombres */
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.85) 0%,
    var(--gold-light) 25%,
    rgba(255,255,255,0.9) 50%,
    var(--gold-light) 75%,
    rgba(255,255,255,0.85) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
  letter-spacing: 0.08em;
}
.hn-last {
  font-size: clamp(18px, 3vw, 28px);
  font-family: var(--f-sans);
  font-weight: bold;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  -webkit-text-fill-color: rgb(255, 255, 255);
  align-self: center;
}
.hn-amp {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(28px, 5vw, 48px);
  color: rgb(201, 168, 76);
  -webkit-text-fill-color: rgb(201, 168, 76);
  margin: 4px 0;
  letter-spacing: 0.05em;
}

/* Línea dorada bajo nombres */
.names-underline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
}
.nu-left, .nu-right {
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6));
}
.nu-right {
  background: linear-gradient(90deg, rgba(201,168,76,0.6), transparent);
}
.nu-diamond {
  font-size: 7px;
  color: rgba(201,168,76,0.6);
  margin: 0 10px;
}

/* Frase principal */
.hero-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

/* Versículo bíblico */
.hero-verse {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgb(255, 255, 255);
  max-width: 440px;
  margin: 0 auto 52px;
}
.verse-ref {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  background-color: rgb(201, 168, 76);
  margin-top: 10px;
}

/* Bloque de fecha */
.hero-date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 64px;
}
.hdb-num {
  font-family: var(--f-display);
  font-size: clamp(80px, 14vw, 128px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  /* Borde dorado sutil */
  text-shadow: 0 0 80px rgb(201, 168, 76);
}
.hdb-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hdb-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.4), transparent);
}
.hdb-dot {
  font-size: 20px;
  color: rgb(201, 168, 76);
}
.hdb-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
}
.hdb-month {
  font-family: var(--f-display);
  text-align: center;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  padding-right: 0.5;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.hdb-year {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  background-color: rgb(201, 168, 76);
}

/* Scroll cue */
.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
@media (pointer: coarse) { .hero-scroll-cue { cursor: pointer; } }
.hsc-track {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.hsc-thumb {
  position: absolute;
  top: -100%;
  width: 100%; height: 60%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  from { top: -60%; }
  to   { top: 100%; }
}
.hsc-label {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}


/* ══════════════════════════════════════════════════════════════
   SECCIÓN 2 — HISTORIA
══════════════════════════════════════════════════════════════ */
.story-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--dark);
  overflow: hidden;
}

/* Foto de fondo del lado derecho */
.story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story-bg-photo {
  position: absolute;
  right: 0; top: 0;
  width: 45%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.story-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--dark) 45%,
    rgba(14,8,8,0.85) 65%,
    rgba(14,8,8,0.5) 100%
  );
}

.story-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: var(--sp-xl) 60px;
}

.story-header { margin-bottom: 64px; }
.sh-kicker {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.sh-title {
  font-family: var(--f-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.sh-ornament { color: var(--gold); opacity: 0.6; }

/* Capítulos */
.story-chapters { max-width: 540px; }
.s-chapter {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  margin-bottom: 52px;
  align-items: start;
  text-align: justify;
}
.sc-number {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 400;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
}
.sc-body {
  border-left: 1px solid rgba(201,168,76,0.2);
  padding-left: 24px;
}
.sc-title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.sc-text {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.95;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
  .story-bg-photo { width: 100%; opacity: 0.15; }
  .story-bg-overlay { background: rgba(14,8,8,0.9); }
  .story-inner { padding: var(--sp-lg) 28px; }
  .story-chapters { max-width: 100%; }
}
@media (max-width: 480px) {
  .s-chapter { grid-template-columns: 1fr; gap: 12px; }
  .sc-number { display: none; }
  .sc-body { border-left: none; padding-left: 0; border-top: 1px solid rgba(201,168,76,0.2); padding-top: 16px; }
}


/* ══════════════════════════════════════════════════════════════
   SECCIÓN 3 — CUENTA REGRESIVA
══════════════════════════════════════════════════════════════ */
.countdown-section {
  position: relative;
  overflow: hidden;
  padding: var(--sp-xl) 0;
}
.cd-bg {
  position: absolute; inset: 0; z-index: 0;
}
.cd-bg-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.4) brightness(0.3);
}
.cd-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,0,0,0.92) 0%,
    rgba(14,8,8,0.96) 50%,
    rgba(107,0,0,0.9) 100%
  );
}

.cd-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}
.cd-kicker {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  margin-bottom: 16px;
  display: block;
}
.cd-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 56px;
}

/* Grid del contador */
.cd-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.cd-unit {
  text-align: center;
  padding: 0 28px;
  position: relative;
}
.cd-unit::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(201,168,76,0.15);
}
.cd-unit:last-child::after { display: none; }

.cd-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  /* Acento dorado en top */
  position: relative;
  padding-top: 16px;
}
.cd-num::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.cd-label {
  display: block;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  margin-top: 12px;
}
.cd-colon {
  font-family: var(--f-serif);
  font-size: 48px;
  color: rgba(201,168,76,0.2);
  padding-bottom: 24px;
  line-height: 1;
}

.cd-verse {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: rgb(255, 255, 255);
  margin-top: 64px;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .cd-colon { display: none; }
  .cd-unit { padding: 0 16px; }
  .cd-num { font-size: 52px; }
  .cd-grid { gap: 8px; }
}


/* ══════════════════════════════════════════════════════════════
   SECCIÓN 4 — DETALLES
══════════════════════════════════════════════════════════════ */
.details-section {
  background: var(--ivory);
  padding: var(--sp-xl) 0;
}
.det-header {
  text-align: center;
  padding: 0 28px;
  margin-bottom: 72px;
}
.det-kicker {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--wine-mid);
  margin-bottom: 12px;
  display: block;
}
.det-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  color: var(--wine-deep);
  letter-spacing: 0.04em;
}

/* Grid de tarjetas */
.det-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 1000px) {
  .det-grid { grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(122,12,12,0.08); }
}
@media (max-width: 560px) {
  .det-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; background: transparent; }
}

.det-card {
  background: var(--white);
  padding: 52px 36px;
  text-align: center;
  border-right: 1px solid rgba(122,12,12,0.07);
  position: relative;
  transition: background var(--t);
  /* Línea top decorativa oculta */
  overflow: hidden;
}
.det-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wine), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.det-card:hover::before { transform: scaleX(1); }
.det-card:hover { background: var(--cream); }
.det-card:last-child { border-right: none; }

/* Tarjeta destacada (lugar) */
.det-card--feature {
  background: var(--wine);
  border-right-color: rgba(255,255,255,0.1);
}
.det-card--feature::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.det-card--feature .dc-icon,
.det-card--feature .dc-title { color: var(--gold); }
.det-card--feature .dc-main { color: var(--white); }
.det-card--feature .dc-sub,
.det-card--feature .dc-note { color: rgba(255,255,255,0.5); }
.det-card--feature:hover { background: var(--wine-deep); }

.dc-icon {
  color: var(--wine);
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  opacity: 0.8;
}
.dc-title {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 20px;
}
.dc-main {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.dc-sub {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--wine-mid);
  margin-bottom: 10px;
}
.dc-note {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 300;
  color: #888;
  line-height: 1.8;
  margin-bottom: 4px;
}
.dc-btn {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 3px;
  transition: var(--t);
}
.dc-btn:hover { letter-spacing: 0.35em; border-color: var(--gold); }

/* Paleta de colores de vestimenta */
.dc-palette {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.dc-palette span {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform var(--t);
}
.dc-palette span:hover { transform: scale(1.4); }


/* ══════════════════════════════════════════════════════════════
   SECCIÓN 5 — RSVP
══════════════════════════════════════════════════════════════ */
.rsvp-section {
  position: relative;
  padding: var(--sp-xl) 28px;
  overflow: hidden;
}
.rsvp-bg-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.rsvp-bg-grad {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    #2a0000 0%,
    #1a0000 40%,
    var(--dark) 100%
  );
}
.rsvp-texture {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(122,12,12,0.08) 0%, transparent 40%);
}

.rsvp-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.rsvp-ornament { color: var(--gold); margin-bottom: 28px; }
.rsvp-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.rsvp-sub {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  margin-bottom: 32px;
}
.rsvp-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
}

/* Botón de WhatsApp */
.rsvp-btn {
  display: inline-flex;
  position: relative;
  overflow: hidden;
}
.rb-bg {
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.rsvp-btn:hover .rb-bg { transform: scaleX(1); }
.rb-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 52px;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.rsvp-btn:hover .rb-content { color: var(--wine-deep); border-color: transparent; }
.rb-icon { flex-shrink: 0; }
@media (max-width: 480px) {
  .rb-content { padding: 18px 32px; }
}


/* ══════════════════════════════════════════════════════════════
   FOOTER PREMIUM
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: var(--sp-lg) 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Líneas diagonales decorativas */
.footer-lines {
  position: absolute; inset: 0; pointer-events: none;
}
.fl-left, .fl-right {
  position: absolute;
  width: 1px; height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.06), transparent);
  top: -50%;
}
.fl-left  { left: 15%; transform: rotate(-15deg); }
.fl-right { right: 15%; transform: rotate(15deg); }

.footer-monogram {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 88px);
  font-weight: 400;
  color: rgba(201,168,76,0.6);
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
}
.footer-date {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin-bottom: 36px;
}
.footer-cross {
  color: rgba(201,168,76,0.3);
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}
.footer-message {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 16px;
}
.footer-verse {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgb(201, 168, 76);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.footer-divider {
  font-size: 10px;
  text-align: center;
  color: rgb(201, 168, 76);
  letter-spacing: 0.5em;
  margin-bottom: 24px;
}
.footer-names {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 300;
  color: rgb(255, 255, 255);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.footer-credit {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
}
