/* ============================================================
   Wedding Invitation — Raquel & Miguel · 10.10.2026
   Editorial Botánico Moderno · Verde Oliva · Cormorant SC
   ============================================================ */

:root {
  /* — Paleta · Verde Oliva (moderno) — */
  --c-olive:        #7A8B5C;
  --c-olive-dark:   #5C6B43;
  --c-olive-deep:   #3F4A2E;
  --c-olive-soft:   #A8B894;
  --c-olive-wash:   #E0E5D5;

  --c-cream:        #F5F0E8;
  --c-cream-light:  #FAF7F1;
  --c-cream-deep:   #EDE6D9;

  --c-nude:         #E8D5C4;
  --c-nude-soft:    #F0E5D8;
  --c-nude-deep:    #D4BBA8;

  --c-charcoal:     #2F2D2A;
  --c-text:         #45413C;
  --c-text-soft:    #7A746C;
  --c-text-mute:    #B0AAA2;

  --c-white:        #FFFFFF;
  --c-line:         rgba(47, 45, 42, 0.12);
  --c-line-strong:  rgba(47, 45, 42, 0.2);

  /* — Tipografía — TODO en Cormorant SC (estilo del sello) — */
  --f-display: 'Cormorant SC', 'Cormorant Garamond', 'Trajan Pro', Georgia, serif;
  --f-serif:   'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --f-script:  'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --f-sans:    'Cormorant SC', 'Cormorant Garamond', Georgia, serif;

  /* — Espaciado — */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* — Layout — */
  --max-w:        520px;
  --max-w-wide:   760px;
  --gutter:       1.25rem;

  /* — Motion — */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      0.7s;
  --dur-slow: 1.2s;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reservar espacio para el botón flotante de música en la esquina inferior derecha */
  padding-bottom: 5rem;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* — Reveal on scroll — */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* — Tipografía global — */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; }
p { line-height: 1.7; }

/* ============================================================
   1 · HERO — Foto de fondo + monograma + countdown integrado
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-xl) var(--gutter) var(--space-lg);
  color: var(--c-cream);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(47,45,42,0.55) 0%, rgba(47,45,42,0.25) 40%, rgba(47,45,42,0.45) 80%, rgba(47,45,42,0.65) 100%),
    linear-gradient(90deg, rgba(63,74,46,0.18) 0%, transparent 50%, rgba(63,74,46,0.18) 100%);
}

.hero__botanical {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  color: var(--c-cream);
  opacity: 0.4;
}
.hero__botanical--tl { top: -2rem; left: -3rem; width: 14rem; transform: rotate(-15deg); }
.hero__botanical--br { bottom: -2rem; right: -3rem; width: 14rem; transform: rotate(165deg); }

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 1rem;               /* +20% vs 0.84rem (acumulado +44% sobre el 0.7rem original) */
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.85;
  margin-bottom: var(--space-sm);
  position: relative;
  top: -9rem;                    /* entre el sello y la cabeza, sin tocar ninguno */
}

/* — Sello M&R — primero del flujo, justo encima de "NOS CASAMOS", con halo compacto — */
.hero__sello {
  width: 10.81rem;               /* +10% vs 9.83rem */
  height: 10.81rem;
  margin: 0 auto var(--space-md); /* espacio controlado entre sello y "NOS CASAMOS" */
  pointer-events: none;
  position: relative;
  top: -7rem;                    /* subido para que "NOS CASAMOS" quepa entre sello y cabeza */
  /* Halo oscuro apilado, compacto: el blanco "flota" sobre la foto
     sin que el blur se extienda sobre el texto de abajo */
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.95))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8))
    drop-shadow(0 6px 14px rgba(20, 18, 15, 0.65))
    drop-shadow(0 14px 28px rgba(20, 18, 15, 0.45));
}
.hero__sello img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* PNG limpio: letras + borde blanco con lazo de la R traslúcido.
     Opacity alta para que el logo "resalte" sin perder la sensación traslúcida sobre la foto. */
  opacity: 0.96;
}

/* Móvil: sello un poco más pequeño y eyebrow con override propio
   para que "NOS CASAMOS" quede con espacio entre sello y cabeza */
@media (max-width: 600px) {
  .hero__sello {
    width: 8.32rem;                /* +10% vs 7.56rem */
    height: 8.32rem;
    margin-bottom: var(--space-sm);
    top: -5rem;                    /* subido para que el eyebrow no se pegue al sello */
  }
  .hero__eyebrow {
    top: -5rem;                    /* override: menos shift que desktop (-9rem) */
  }
}

.hero__monogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-script);
  font-weight: 500;
  font-size: clamp(2.75rem, 11vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cream);
  margin-bottom: var(--space-md);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 4px 30px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(0, 0, 0, 0.3);
}
.hero__monogram-name {
  display: block;
  line-height: 1;
}
.hero__monogram-amp {
  display: block;
  font-size: 0.8em;
  line-height: 1;
  color: var(--c-olive-soft);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(245, 240, 232, 0.5);
  margin: 0 auto var(--space-md);
}

.hero__date {
  font-family: var(--f-serif);
  
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--c-cream);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
}
.hero__date-day {
  font-family: var(--f-script);
  font-size: 4rem;
  line-height: 0.9;
  display: block;
  color: var(--c-cream);
  margin-bottom: 0.5rem;
  overflow: visible;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.hero__date-month {
  text-transform: lowercase;
  font-size: 1.3em; /* +30% vs los 1.2rem del padre (.hero__date) */
}
.hero__date-year {
  display: block;
  font-size: 1.105em; /* +30% vs 0.85em anterior (+30% sobre los 1.2rem del padre) */
  color: var(--c-olive-soft);
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

/* Countdown integrado en hero */
.hero__countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(245, 240, 232, 0.4);
  border-radius: 999px;
  background: rgba(47, 45, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-wrap: nowrap;
}
.hero__countdown .cd-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}
.hero__countdown .cd-num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--c-cream);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  line-height: 1;
  letter-spacing: 0.05em;
}
.hero__countdown .cd-label {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.7;
}
.hero__countdown .cd-sep {
  color: var(--c-cream);
  opacity: 0.4;
  font-size: 0.8rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--f-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.7;
  animation: hero-scroll 2.4s ease-in-out infinite;
}
.hero__scroll span { display: block; font-size: 1.1rem; margin-top: 0.4rem; }
@keyframes hero-scroll {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50%      { transform: translate(-50%, 0.5rem); opacity: 1; }
}

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
.section {
  padding: var(--space-2xl) var(--gutter);
  /* Padding inferior extra para que el FAB de música no tape contenido */
  padding-bottom: calc(var(--space-2xl) + 4rem);
  position: relative;
}
.section--alt { background: var(--c-cream); }

.section-header {
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto var(--space-xl);
}

.section-eyebrow {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 2.75rem);
  color: var(--c-charcoal);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.section-subtitle {
  font-family: var(--f-serif);
  
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--c-text-soft);
}

/* ============================================================
   TIMELINE (Nuestra historia) — fotos con marco degradado
   ============================================================ */
.timeline {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.timeline-item {
  display: grid;
  gap: var(--space-md);
}
.timeline-item--reverse {
  direction: rtl;
}
.timeline-item--reverse > * { direction: ltr; }

.tl-photo {
  position: relative;
  padding: 0.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  box-shadow: 0 30px 60px -25px rgba(47, 45, 42, 0.25);
  overflow: hidden;
}
.tl-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 240, 232, 0.6) 0%, transparent 30%, transparent 70%, rgba(122, 139, 92, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
.tl-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(47, 45, 42, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
.tl-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

/* Foto vacía (placeholder) — solo el marco con degradado + texto */
.tl-photo--empty {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
}
.tl-photo__empty-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding-left: 0.5em; /* compensar tracking */
}

.tl-content { text-align: center; }
.tl-date {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-bottom: 0.5rem;
}
.tl-content h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--c-charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tl-content p {
  font-family: var(--f-serif);
  
  font-size: 1.05rem;
  color: var(--c-text-soft);
  max-width: 32rem;
  margin: 0 auto;
}

/* ============================================================
   EVENTO / MAPA
   ============================================================ */
.evento {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.evento__intro {
  max-width: 38rem;
  margin: var(--space-md) auto 0;
  text-align: center;
  font-family: var(--f-serif);
  
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--c-text);
}
.evento__intro p {
  margin-bottom: var(--space-sm);
}
.evento__intro p:last-child {
  margin-bottom: 0;
}
.evento__time {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--c-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.06em;
}
.evento__time strong {
  font-weight: 600;
  color: var(--c-olive-dark);
  font-size: 1.4em;
}
.evento__place {
  font-family: var(--f-serif);
  
  font-size: 1.15rem;
  color: var(--c-text);
  margin-bottom: var(--space-md);
}
.evento__map {
  display: block;
  max-width: 26rem;
  margin: var(--space-md) auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-cream);
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--c-line);
}
.evento__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7) contrast(1.05);
}
.evento__map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 2rem; height: 2rem;
  color: var(--c-olive-dark);
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ============================================================
   DRESSCODE — Ellas / Ellos con wreaths
   ============================================================ */
.dress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.dress__item { text-align: center; }
.dress__wreath {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 0.5rem;
  color: var(--c-olive);
}
.dress__wreath--ella,
.dress__wreath--ellos {
  /* CSS específico vacío: los iconos vuelven a los SVGs ornamentales originales */
}
.dress__script {
  font-family: var(--f-script);
  font-size: 2.25rem;
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.dress__text {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.6;
}
.dress__text em {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85em;
  color: var(--c-text-soft);
}
.dress__closer {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--f-script);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--c-olive);
  margin: 1.75rem auto 0;
  max-width: 36rem;
  line-height: 1.45;
}

/* ============================================================
   MENÚ (Capítulo 4) — Cordero / Salmón + Alergias
   ============================================================ */
.menu-form {
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cuando el usuario enfoca el textarea de alergias, el navegador deja margen abajo para el FAB */
.field textarea {
  scroll-margin-bottom: 6rem;
}

.menu-field { gap: 0.75rem; }
.menu-field > legend {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

.menu-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .menu-options { grid-template-columns: 1fr 1fr; }
}

.menu-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.menu-card:hover {
  border-color: var(--c-olive);
  background: var(--c-cream-light);
}
.menu-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.menu-card::before {
  content: '';
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--c-text-mute);
  border-radius: 50%;
  margin-top: 0.15rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.menu-card:has(input:checked) {
  border-color: var(--c-olive);
  background: var(--c-olive-wash);
}
.menu-card:has(input:checked)::before {
  border-color: var(--c-olive);
  background: var(--c-olive);
  box-shadow: inset 0 0 0 3px var(--c-white);
}

.menu-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.menu-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--c-charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.menu-card__desc {
  font-family: var(--f-serif);
  
  font-size: 0.85rem;
  color: var(--c-text-soft);
  line-height: 1.4;
}

/* ============================================================
   RSVP (Capítulo 5) — Solo WhatsApp
   ============================================================ */
.rsvp-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  max-width: 26rem;
  margin: 0 auto;
}
.rsvp-hint {
  font-family: var(--f-serif);
  
  font-size: 0.95rem;
  color: var(--c-text-soft);
  text-align: center;
}
.rsvp-hint strong {
  font-style: normal;
  font-weight: 500;
  color: var(--c-charcoal);
  letter-spacing: 0.04em;
}

/* (Eliminado: .rsvp-details, .rsvp-form — ahora menú y RSVP separados) */

/* ============================================================
   BOTÓN FLOTANTE DE MÚSICA — esquina inferior derecha
   ============================================================ */
.music-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  background: var(--c-olive);
  color: var(--c-white);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(47, 45, 42, 0.3);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), width var(--dur) var(--ease), padding var(--dur) var(--ease), opacity var(--dur) var(--ease);
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  overflow: hidden;
}
.music-fab:hover { background: var(--c-olive-dark); transform: translateY(-2px); }
.music-fab:active { transform: translateY(0); }

/* Oculto cuando el usuario está escribiendo en el formulario (controlado por JS) */
.music-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.music-fab__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.music-fab__icon svg { width: 0.85rem; height: 0.85rem; }
.music-fab .icon-pause { display: none; }
.music-fab.is-playing .icon-play { display: none; }
.music-fab.is-playing .icon-pause { display: block; }

.music-fab.is-playing {
  animation: music-fab-pulse 2s ease-in-out infinite;
}
@keyframes music-fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(47, 45, 42, 0.3), 0 0 0 0 rgba(122, 139, 92, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(47, 45, 42, 0.3), 0 0 0 0.75rem rgba(122, 139, 92, 0); }
}

.music-fab__label {
  white-space: nowrap;
  overflow: hidden;
  transition: max-width var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
  max-width: 0;
  opacity: 0;
  margin-left: -0.5rem;
}

/* Desktop: expande con label */
@media (min-width: 640px) {
  .music-fab {
    width: auto;
    padding: 0.75rem 1.1rem 0.75rem 0.85rem;
  }
  .music-fab__label {
    max-width: 12rem;
    opacity: 1;
    margin-left: 0;
  }
}

#youtube-player {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
  overflow: hidden;
}

/* ============================================================
   BOTONES PILL
   ============================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--c-olive);
  color: var(--c-white);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  border: 1px solid var(--c-olive);
  cursor: pointer;
  text-align: center;
  line-height: 1;
}
.btn-pill:hover { background: var(--c-olive-dark); border-color: var(--c-olive-dark); }
.btn-pill:active { transform: scale(0.97); }

.btn-pill--ghost {
  background: transparent;
  color: var(--c-olive-dark);
  border-color: var(--c-olive);
}
.btn-pill--ghost:hover {
  background: var(--c-olive-wash);
  color: var(--c-olive-dark);
}

.btn-pill--wa {
  background: #25D366;
  border-color: #25D366;
  padding: 1.1rem 2rem;
  font-size: 0.85rem;
}
.btn-pill--wa:hover { background: #1ebd5a; border-color: #1ebd5a; }

.btn-pill--full { width: 100%; }
.btn-pill svg { width: 1rem; height: 1rem; flex: 0 0 auto; }

/* ============================================================
   RSVP
   ============================================================ */
.rsvp-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  max-width: 26rem;
  margin: 0 auto;
}
.rsvp-hint {
  font-family: var(--f-serif);
  
  font-size: 0.95rem;
  color: var(--c-text-soft);
  text-align: center;
}
.rsvp-hint strong {
  font-style: normal;
  font-weight: 500;
  color: var(--c-charcoal);
  letter-spacing: 0.04em;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > span,
.field > legend {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.field > span em,
.field > legend em {
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  color: var(--c-text-mute);
  font-size: 0.85em;
  margin-left: 0.3em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-charcoal);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-olive);
}
.field textarea { resize: vertical; min-height: 4rem; }

.field fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-text);
  padding: 0.5rem 0;
}
.radio input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--c-olive);
  margin: 0;
  padding: 0;
}

.rsvp-success {
  text-align: center;
  margin-top: var(--space-md);
  animation: rsvp-fade var(--dur-slow) var(--ease-out) both;
}
.rsvp-success svg {
  width: 3rem; height: 3rem;
  margin: 0 auto var(--space-sm);
  color: var(--c-olive);
}
.rsvp-success h3 {
  font-family: var(--f-script);
  font-size: 2.5rem;
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}
.rsvp-success p {
  font-family: var(--f-serif);
  
  color: var(--c-text);
}
@keyframes rsvp-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   CALENDARIO
   ============================================================ */
.cal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

/* ============================================================
   CIERRE — Foto alianzas con marco degradado + sello M&R
   ============================================================ */
.cierre {
  text-align: center;
  background: var(--c-cream);
  padding: var(--space-2xl) var(--gutter) var(--space-md);
}

.cierre__photo {
  position: relative;
  max-width: 26rem;
  margin: 0 auto var(--space-lg);
  padding: 0.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  box-shadow: 0 30px 60px -25px rgba(47, 45, 42, 0.25);
  overflow: hidden;
}
.cierre__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 240, 232, 0.5) 0%, transparent 30%, transparent 70%, rgba(122, 139, 92, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}
.cierre__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(47, 45, 42, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}
.cierre__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;  /* portrait — encuadre natural de la foto de manos con anillos */
  object-fit: cover;
  display: block;
}

.cierre__text {
  font-family: var(--f-serif);
  
  font-size: 1.15rem;
  color: var(--c-text);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.cierre__text strong {
  font-weight: 500;
  font-style: normal;
  color: var(--c-charcoal);
}

.cierre__signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}
.cierre__sello {
  width: 20.8rem;            /* +30% sobre 16rem */
  height: 20.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cierre__sello img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(47, 45, 42, 0.18));
}
.cierre__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-script);
  font-size: 2.75rem;
  color: var(--c-charcoal);
  line-height: 1;
  margin-bottom: var(--space-md);
}
.cierre__names-name {
  display: block;
  line-height: 1;
}
.cierre__names-amp {
  display: block;
  font-size: 0.8em;
  line-height: 1;
  color: var(--c-olive);
}

.site-footer {
  text-align: center;
  padding: var(--space-md) var(--gutter) 0;
  font-family: var(--f-sans);
  font-size: 0.91rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* ============================================================
   BOTÁNICOS — color helper
   ============================================================ */
.botanical-svg { color: var(--c-olive); }

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 640px) {
  body { font-size: 16px; }
  :root { --gutter: 2rem; }
  .section { padding: 8rem 2rem; }
  .timeline { gap: var(--space-2xl); }
  .timeline-item {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .timeline-item--reverse .tl-photo { order: 2; }
  .timeline-item--reverse .tl-content { order: 1; text-align: right; }
  .tl-content:not(.timeline-item--reverse .tl-content) { text-align: left; }
  .tl-content p { margin: 0; }
  .tl-photo img { aspect-ratio: 4 / 5; }
  .hero__botanical--tl { width: 18rem; }
  .hero__botanical--br { width: 18rem; }
}

@media (min-width: 960px) {
  .section { padding: 10rem 2rem; }
  .hero__monogram { font-size: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
