/**
 * Template: Crepúsculo Real — Cinematic Twilight Edition
 * Paleta: Slate-blue charcoal, plata fría, bosque nocturno sutil
 * Versión: 4.0 — Rediseño cinematográfico integral
 */

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════════════════
   PALETTE & VARIABLES
═══════════════════════════════════════════════ */
:root {
  /* Core — charcoal con subtono azul frío */
  --cr-void: #060910;
  --cr-abyss: #0b0f18;
  --cr-deep: #101620;
  --cr-slate: #182232;
  --cr-steel: #243245;

  /* Mid tones — gris-azul frío */
  --cr-fog: #3a4d63;
  --cr-mist: #586f85;
  --cr-ash: #7888a0;

  /* Light — plata con azul */
  --cr-silver: #a2b2c6;
  --cr-frost: #c5d2e0;
  --cr-ivory: #e6ecf3;

  /* Accent bosque — sutil, no dominante */
  --cr-moss: #1e302d;
  --cr-pine: #253d3a;

  /* Surfaces */
  --glass-deep: rgba(16, 22, 32, 0.82);
  --glass-mid: rgba(24, 34, 50, 0.6);
  --glass-light: rgba(58, 77, 99, 0.2);
  --glass-hover: rgba(88, 111, 133, 0.12);
  --glass-border: rgba(162, 178, 198, 0.1);
  --glass-border-hover: rgba(162, 178, 198, 0.22);

  /* Shadows */
  --shadow-cinematic: 0 24px 64px rgba(6, 9, 16, 0.85);
  --shadow-deep: 0 16px 40px rgba(6, 9, 16, 0.6);
  --shadow-soft: 0 8px 24px rgba(6, 9, 16, 0.35);
  --glow-moon: 0 0 80px rgba(162, 178, 198, 0.12);
  --glow-frost: 0 0 40px rgba(197, 210, 224, 0.08);

  /* Typography */
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-accent: 'Great Vibes', cursive;

  /* Spacing */
  --section-gap: 7rem;
  --container-max: 1080px;

  /* Radius */
  --radius-sharp: 3px;
  --radius-soft: 10px;

  /* Transitions */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════
   BODY — Fondo y color base
═══════════════════════════════════════════════ */
body.twilight-body,
.twilight-body {
  font-family: var(--font-body) !important;
  background: var(--cr-void) !important;
  color: var(--cr-ivory) !important;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Cuando se renderiza dentro del shell de invitación */
body:has(.forest-silhouette--main),
body:has(.forest-frame-halo),
body:has(.forest-hero),
body.invitation-shell--crepusculo-real {
  font-family: var(--font-body) !important;
  background: var(--cr-void) !important;
  color: var(--cr-ivory) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════
   ATMOSPHERE — Niebla refinada
═══════════════════════════════════════════════ */
.forest-mist {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.forest-mist--layer1 {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(88, 111, 133, 0.06) 25%,
    rgba(88, 111, 133, 0.1) 50%,
    rgba(88, 111, 133, 0.06) 75%,
    transparent 100%);
  animation: mistDrift1 40s ease-in-out infinite;
  opacity: 0.5;
}

.forest-mist--layer2 {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(120, 136, 160, 0.05) 30%,
    rgba(120, 136, 160, 0.08) 60%,
    transparent 100%);
  animation: mistDrift2 55s ease-in-out infinite;
  animation-delay: -15s;
  opacity: 0.4;
}

@keyframes mistDrift1 {
  0%, 100% { transform: translateX(-8%) scaleY(1); }
  50% { transform: translateX(8%) scaleY(1.08); }
}

@keyframes mistDrift2 {
  0%, 100% { transform: translateX(6%); }
  50% { transform: translateX(-6%); }
}

/* Niebla inferior — más contenida */
.forest-fog {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 34, 50, 0.2) 100%);
  animation: fogBreathe 25s ease-in-out infinite;
}

@keyframes fogBreathe {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-10px); }
}

/* Partículas — pocas, refinadas */
.forest-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.forest-particles::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(197, 210, 224, 0.4);
  border-radius: 50%;
  box-shadow:
    20vw 20vh 0 0 rgba(197, 210, 224, 0.3),
    45vw 60vh 0 0 rgba(197, 210, 224, 0.25),
    70vw 30vh 0 0 rgba(197, 210, 224, 0.35),
    85vw 70vh 0 0 rgba(197, 210, 224, 0.2);
  animation: particlesFloat 50s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes particlesFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(6px); }
  66% { transform: translateY(10px) translateX(-6px); }
}

/* ═══════════════════════════════════════════════
   SILHOUETTES — Cinematográficas, refrenadas
═══════════════════════════════════════════════ */
.forest-silhouette {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.forest-silhouette img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  /* Tratamiento azul-frío cinematográfico (menos verde) */
  filter:
    brightness(0.35)
    contrast(1.15)
    saturate(0.25)
    sepia(0.15)
    hue-rotate(190deg);
  opacity: 0.5;
  transform: translateZ(0);
  will-change: transform;
}

.forest-silhouette--main {
  z-index: 2;
}

.forest-silhouette--main img {
  filter:
    brightness(0.3)
    contrast(1.2)
    saturate(0.3)
    sepia(0.2)
    hue-rotate(185deg)
    drop-shadow(0 0 40px rgba(24, 34, 50, 0.6));
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent 0%, transparent 15%, rgba(0,0,0,0.7) 40%, black 75%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 15%, rgba(0,0,0,0.7) 40%, black 75%);
  animation: silhouetteBreath 18s ease-in-out infinite;
}

.forest-silhouette--secondary {
  z-index: 1;
}

.forest-silhouette--secondary img {
  filter:
    brightness(0.4)
    contrast(1.05)
    saturate(0.2)
    sepia(0.15)
    hue-rotate(195deg)
    blur(2px);
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent 0%, transparent 25%, rgba(0,0,0,0.5) 50%, black 85%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 25%, rgba(0,0,0,0.5) 50%, black 85%);
  animation: silhouetteDrift 28s ease-in-out infinite;
}

@keyframes silhouetteBreath {
  0%, 100% { opacity: 0.5; transform: translateY(0) scale(1); }
  50% { opacity: 0.55; transform: translateY(-5px) scale(1.005); }
}

@keyframes silhouetteDrift {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.35; transform: translateX(2%); }
}

@media (max-width: 1024px) {
  .forest-silhouette img { opacity: 0.35; }
  .forest-silhouette--main img { opacity: 0.4; }
  .forest-silhouette--secondary img { opacity: 0.25; }
}

@media (max-width: 768px) {
  .forest-silhouette { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .forest-silhouette img { animation: none !important; }
}

/* ═══════════════════════════════════════════════
   HERO — Poster cinematográfico premium
═══════════════════════════════════════════════ */
.forest-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 5rem;
  z-index: 2;
  overflow: clip;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(88, 111, 133, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 20%, rgba(120, 136, 160, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(58, 77, 99, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--cr-void) 0%, var(--cr-abyss) 40%, var(--cr-deep) 100%);
}

/* Vignette cinematográfico — más dramático */
.forest-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 45%, transparent 0%, rgba(6, 9, 16, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Línea inferior del hero con brillo */
.forest-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(162, 178, 198, 0.25) 30%, rgba(197, 210, 224, 0.4) 50%, rgba(162, 178, 198, 0.25) 70%, transparent 100%);
  z-index: 5;
}

.forest-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Rayos de luz — visibles, cinematográficos */
.forest-light-rays {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.light-ray {
  position: absolute;
  top: -30%;
  width: 3px;
  height: 80%;
  background: linear-gradient(180deg, rgba(197, 210, 224, 0.15) 0%, rgba(162, 178, 198, 0.06) 60%, transparent 100%);
  filter: blur(8px);
  transform-origin: top center;
  animation: lightShimmer 10s ease-in-out infinite;
}

.light-ray:nth-child(1) { animation-delay: 0s; width: 4px; }
.light-ray:nth-child(2) { animation-delay: -2.5s; }
.light-ray:nth-child(3) { animation-delay: -5s; width: 4px; }
.light-ray:nth-child(4) { animation-delay: -7.5s; }

@keyframes lightShimmer {
  0%, 100% { opacity: 0.15; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.5); }
}

/* ═══════════════════════════════════════════════
   HERO SPARKLES — Destellos flotantes
═══════════════════════════════════════════════ */
.forest-hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.forest-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 210, 224, 0.9) 0%, rgba(162, 178, 198, 0.4) 50%, transparent 70%);
  animation: sparkleFloat 8s ease-in-out infinite;
}

.forest-sparkle::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 210, 224, 0.3) 0%, transparent 70%);
  filter: blur(2px);
}

.forest-sparkle:nth-child(1) { top: 15%; left: 12%; animation-duration: 7s; animation-delay: 0s; width: 3px; height: 3px; }
.forest-sparkle:nth-child(2) { top: 25%; right: 18%; animation-duration: 9s; animation-delay: -2s; width: 5px; height: 5px; }
.forest-sparkle:nth-child(3) { top: 60%; left: 8%; animation-duration: 11s; animation-delay: -4s; }
.forest-sparkle:nth-child(4) { top: 45%; right: 10%; animation-duration: 8s; animation-delay: -1s; width: 3px; height: 3px; }
.forest-sparkle:nth-child(5) { top: 70%; left: 25%; animation-duration: 10s; animation-delay: -6s; width: 5px; height: 5px; }
.forest-sparkle:nth-child(6) { top: 35%; right: 30%; animation-duration: 12s; animation-delay: -3s; width: 3px; height: 3px; }
.forest-sparkle:nth-child(7) { top: 80%; right: 22%; animation-duration: 9s; animation-delay: -5s; }
.forest-sparkle:nth-child(8) { top: 10%; left: 40%; animation-duration: 8s; animation-delay: -7s; width: 3px; height: 3px; }

@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  15% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-30px) scale(0.8);
  }
  85% {
    opacity: 0.9;
    transform: translateY(-50px) scale(1.1);
  }
}

/* Cruz de destello en sparkles grandes */
.forest-sparkle:nth-child(2)::before,
.forest-sparkle:nth-child(5)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 210, 224, 0.5), transparent);
  transform: translate(-50%, -50%);
}

.forest-sparkle:nth-child(2)::after,
.forest-sparkle:nth-child(5)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(197, 210, 224, 0.5), transparent);
  transform: translate(-50%, -50%);
  filter: none;
  border-radius: 0;
  inset: auto;
}

@media (prefers-reduced-motion: reduce) {
  .forest-sparkle { animation: none !important; opacity: 0.4; }
}

.forest-hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════
   HERO FRAME — Retrato cinematográfico
═══════════════════════════════════════════════ */
/* Wrapper — permite que el halo y glow se desborden */
.forest-frame-wrapper {
  position: relative;
  width: 320px;
  height: 430px;
  margin: 0 auto 2.5rem;
  overflow: visible;
}

.forest-frame {
  position: relative;
  width: 320px;
  height: 430px;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.forest-frame--photo {
  background: var(--cr-deep);
}

/* Halo lunar — grande, visible, respirando (vive en el wrapper) */
.forest-frame-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(162, 178, 198, 0.35) 0%,
    rgba(162, 178, 198, 0.2) 20%,
    rgba(120, 136, 160, 0.12) 40%,
    rgba(88, 111, 133, 0.05) 60%,
    transparent 75%
  );
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
  animation: haloBreath 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes haloBreath {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Shimmer — línea de luz fría vertical, más visible */
.forest-frame-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-soft);
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.forest-frame-shimmer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 4px;
  height: 200%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(197, 210, 224, 0.3) 20%,
    rgba(255, 255, 255, 0.6) 48%,
    rgba(197, 210, 224, 0.3) 55%,
    transparent 100%
  );
  filter: blur(4px);
  transform: translateX(-50%) rotate(8deg);
  animation: shimmerDrift 8s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes shimmerDrift {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(8deg) translateY(-50%);
  }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateX(-50%) rotate(8deg) translateY(50%);
  }
}

/* Border del frame — brillo animado rotante con conic-gradient */
/* Vive en el wrapper, se posiciona sobre el frame */
.forest-frame-border {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius-soft) + 2px);
  z-index: 5;
  pointer-events: none;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    rgba(162, 178, 198, 0.5) 8%,
    rgba(197, 210, 224, 0.8) 12%,
    rgba(255, 255, 255, 0.6) 15%,
    transparent 22%,
    transparent 48%,
    rgba(162, 178, 198, 0.4) 55%,
    rgba(197, 210, 224, 0.7) 60%,
    rgba(255, 255, 255, 0.5) 63%,
    transparent 70%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  animation: borderRotate 4s linear infinite;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

/* Fallback para navegadores sin @property — border estático elegante */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .forest-frame-border {
    background: none;
    border: 1.5px solid rgba(162, 178, 198, 0.3);
    box-shadow:
      inset 0 0 50px rgba(6, 9, 16, 0.6),
      0 0 30px rgba(162, 178, 198, 0.12),
      0 20px 50px rgba(6, 9, 16, 0.7);
  }
}

/* Glow externo del frame — en el wrapper para no cortarse */
.forest-frame-wrapper::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-soft) + 6px);
  background: transparent;
  box-shadow:
    0 0 40px rgba(162, 178, 198, 0.15),
    0 0 80px rgba(162, 178, 198, 0.08),
    0 0 120px rgba(162, 178, 198, 0.04),
    0 25px 60px rgba(6, 9, 16, 0.7);
  z-index: -1;
  pointer-events: none;
}

.forest-frame-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(197, 210, 224, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(6, 9, 16, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.forest-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-soft);
  filter: saturate(0.75) contrast(1.08) brightness(0.92);
}

/* Placeholder sin foto */
.forest-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-mid);
}

.forest-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.forest-placeholder-icon { width: 80px; height: 80px; }

.forest-placeholder-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cr-silver);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   HERO TYPOGRAPHY — Editorial, dramático
═══════════════════════════════════════════════ */
.forest-title-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
}

.forest-title-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(162, 178, 198, 0.4) 50%, transparent 100%);
}

.forest-title-line--top { top: -20px; }
.forest-title-line--bottom { bottom: -20px; }

/* Decorador de diamante en las líneas */
.forest-title-line::after {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  color: rgba(162, 178, 198, 0.5);
  font-size: 0.8rem;
}

.forest-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--cr-ivory);
  line-height: 1.15;
  margin: 0;
  /* Shimmer de texto premium */
  background: linear-gradient(
    105deg,
    var(--cr-ivory) 0%,
    var(--cr-ivory) 35%,
    rgba(255, 255, 255, 1) 50%,
    var(--cr-ivory) 65%,
    var(--cr-ivory) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 5s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(162, 178, 198, 0.2));
}

@keyframes titleShimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: -50% 0; }
}

.forest-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cr-silver);
  margin-bottom: 1.75rem;
  opacity: 0.85;
  text-shadow: 0 0 20px rgba(162, 178, 198, 0.15);
}

/* ═══════════════════════════════════════════════
   HERO ENTRANCE — Animaciones de aparición
═══════════════════════════════════════════════ */
.forest-hero-content {
  animation: heroContentReveal 1.8s var(--ease-cinematic) both;
}

.forest-frame-wrapper {
  animation: heroFrameReveal 2s var(--ease-cinematic) both;
  animation-delay: 0.2s;
}

.forest-title-wrapper {
  animation: heroTextReveal 1.6s var(--ease-cinematic) both;
  animation-delay: 0.8s;
}

.forest-subtitle {
  animation: heroTextReveal 1.6s var(--ease-cinematic) both;
  animation-delay: 1s;
}

.forest-hero-date {
  animation: heroTextReveal 1.6s var(--ease-cinematic) both;
  animation-delay: 1.2s;
}

.forest-hero-location {
  animation: heroTextReveal 1.6s var(--ease-cinematic) both;
  animation-delay: 1.4s;
}

.forest-scroll-indicator {
  animation: heroTextReveal 1.6s var(--ease-cinematic) both;
  animation-delay: 2s;
}

@keyframes heroContentReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroFrameReveal {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .forest-hero-content,
  .forest-frame-wrapper,
  .forest-title-wrapper,
  .forest-subtitle,
  .forest-hero-date,
  .forest-hero-location,
  .forest-scroll-indicator {
    animation: none !important;
    opacity: 1 !important;
  }
  .forest-title {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--cr-ivory) !important;
  }
}

/* Fecha — elegante con separadores */
.forest-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 2.5rem;
  background: rgba(16, 22, 32, 0.55);
  border: 1px solid rgba(162, 178, 198, 0.18);
  border-radius: var(--radius-sharp);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(6, 9, 16, 0.4), inset 0 1px 0 rgba(162, 178, 198, 0.08);
  position: relative;
}

/* Brillo sutil en borde superior */
.forest-hero-date::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 210, 224, 0.4), transparent);
}

.forest-date-day {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--cr-ivory);
  line-height: 1;
}

.forest-date-separator {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(162, 178, 198, 0.35), transparent);
}

.forest-date-month {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--cr-silver);
  text-transform: capitalize;
  font-style: italic;
  font-weight: 300;
}

.forest-date-year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cr-silver);
  letter-spacing: 0.18em;
}

.forest-hero-location {
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(162, 178, 198, 0.65);
}

/* Scroll indicator — más llamativo */
.forest-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.7;
}

.forest-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, rgba(162, 178, 198, 0.5) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

.forest-scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cr-silver);
  animation: scrollTextPulse 2s ease-in-out infinite;
}

@keyframes scrollTextPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   SECTIONS — Base común
═══════════════════════════════════════════════ */
.forest-section {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 2;
}

.forest-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 0.6rem;
  color: var(--cr-ivory);
  text-shadow: 0 0 30px rgba(162, 178, 198, 0.1);
}

.forest-section-intro {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--cr-ash);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   CARDS — Dos niveles
═══════════════════════════════════════════════ */

/* Nivel 1: Card funcional (glass) */
.forest-card {
  background: var(--glass-deep);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-soft);
  padding: 2.5rem;
  transition:
    transform 0.5s var(--ease-cinematic),
    box-shadow 0.5s var(--ease-cinematic),
    border-color 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

/* Línea superior luminosa sutil */
.forest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(162, 178, 198, 0.18) 50%, transparent 100%);
}

.forest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
  border-color: var(--glass-border-hover);
}

/* ═══════════════════════════════════════════════
   ZONE TRANSITIONS — Divisores entre zonas
═══════════════════════════════════════════════ */

/* Zona 1→2: después del countdown, antes de locations */
.forest-locations::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(162, 178, 198, 0.1) 50%, transparent 100%);
  pointer-events: none;
}

/* Zona 2→3: antes de gallery */
.forest-gallery::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(162, 178, 198, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

/* Background por zonas usando gradientes en secciones clave */
.forest-welcome,
.forest-countdown {
  /* Zona emocional: profunda */
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 24, 0.3) 50%, transparent 100%);
}

.forest-locations,
.forest-schedule,
.forest-dress,
.forest-court {
  /* Zona narrativa: ligeramente más clara */
  background: linear-gradient(180deg, transparent 0%, rgba(24, 34, 50, 0.15) 50%, transparent 100%);
}

.forest-gallery {
  /* Zona de galería: oscura para que las fotos brillen */
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.4) 0%, rgba(6, 9, 16, 0.2) 50%, transparent 100%);
}

.forest-gifts,
.forest-music,
.forest-rsvp,
.forest-guestbook,
.forest-faq {
  /* Zona de cierre: intimista */
  background: linear-gradient(180deg, transparent 0%, rgba(16, 22, 32, 0.2) 50%, transparent 100%);
}

/* ═══════════════════════════════════════════════
   WELCOME — Carta íntima
═══════════════════════════════════════════════ */
.forest-welcome { padding: 5rem 0; }

.forest-card--welcome {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  background: rgba(16, 22, 32, 0.5);
  border-color: rgba(162, 178, 198, 0.08);
}

.forest-ornament { margin-bottom: 2rem; }
.forest-ornament svg path { stroke: rgba(162, 178, 198, 0.2); }

.forest-ornament--bottom {
  margin-top: 2.5rem;
  margin-bottom: 0;
  opacity: 0.5;
}

.forest-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  color: var(--cr-silver);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-style: italic;
  border: none;
}

.forest-welcome-content {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cr-frost);
  text-align: center;
  white-space: pre-wrap;
  line-height: 1.9;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   COUNTDOWN — Editorial, sin cajas
═══════════════════════════════════════════════ */
.forest-countdown { padding: 4rem 0; }

.forest-countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.forest-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 2rem;
  background: none;
  border: none;
  min-width: 90px;
  position: relative;
}

.forest-countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 400;
  color: var(--cr-ivory);
  text-shadow: 0 0 25px rgba(162, 178, 198, 0.15);
  transition: transform 0.3s var(--ease-cinematic), opacity 0.3s;
  line-height: 1;
}

.forest-countdown-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cr-ash);
  font-weight: 400;
}

.forest-countdown-separator {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent 0%, rgba(162, 178, 198, 0.2) 50%, transparent 100%);
  margin: 0 0.5rem;
}

/* ═══════════════════════════════════════════════
   LOCATIONS — Tarjetas refinadas
═══════════════════════════════════════════════ */
.forest-locations { padding: var(--section-gap) 0; }

.forest-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.forest-location-card {
  padding: 2.25rem 2rem;
  background: var(--glass-deep);
  border-left: 2px solid rgba(162, 178, 198, 0.12);
}

.forest-location-card:hover {
  border-left-color: rgba(162, 178, 198, 0.3);
}

.forest-location-icon {
  width: 40px;
  height: 40px;
  color: var(--cr-silver);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.forest-location-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cr-ivory);
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.forest-location-address {
  font-size: 0.95rem;
  color: var(--cr-ash);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.forest-location-btn {
  display: inline-flex;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(162, 178, 198, 0.15);
  border-radius: var(--radius-sharp);
  color: var(--cr-silver);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-smooth);
}

.forest-location-btn:hover {
  background: rgba(162, 178, 198, 0.08);
  border-color: rgba(162, 178, 198, 0.3);
  color: var(--cr-ivory);
}

/* ═══════════════════════════════════════════════
   SCHEDULE / TIMELINE — Recorrido narrativo
═══════════════════════════════════════════════ */
.forest-schedule { padding: var(--section-gap) 0; }

.forest-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.5rem;
}

/* Línea central del timeline — más definida */
.forest-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(162, 178, 198, 0.05) 0%,
    rgba(162, 178, 198, 0.2) 15%,
    rgba(162, 178, 198, 0.2) 85%,
    rgba(162, 178, 198, 0.05) 100%
  );
}

.forest-timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.forest-timeline-item:last-child { margin-bottom: 0; }

.forest-timeline-marker {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--cr-deep);
  border: 1px solid rgba(162, 178, 198, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.forest-timeline-dot {
  width: 6px;
  height: 6px;
  background: var(--cr-silver);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(162, 178, 198, 0.3);
}

.forest-timeline-content {
  flex: 1;
  background: var(--glass-deep);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-soft);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s var(--ease-smooth);
}

.forest-timeline-item:hover .forest-timeline-content {
  border-color: var(--glass-border-hover);
}

.forest-timeline-time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cr-silver);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  background: rgba(58, 77, 99, 0.15);
  border-radius: var(--radius-sharp);
}

.forest-timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cr-ivory);
  margin-bottom: 0.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.forest-timeline-desc {
  font-size: 0.95rem;
  color: var(--cr-ash);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   DRESS CODE — Editorial / lookbook
═══════════════════════════════════════════════ */
.forest-dress { padding: var(--section-gap) 0; }

.forest-dress-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

.forest-dress-image {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  border: 1px solid rgba(162, 178, 198, 0.12);
  box-shadow: var(--shadow-deep);
  aspect-ratio: 3/4;
}

.forest-dress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) contrast(0.95) brightness(0.95);
  transition: transform 0.6s var(--ease-cinematic), filter 0.6s var(--ease-cinematic);
}

.forest-dress-image:hover img {
  transform: scale(1.04);
  filter: saturate(0.85) contrast(1) brightness(1);
}

.forest-dress-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 16, 0.35) 100%);
  pointer-events: none;
}

.forest-dress-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

.forest-dress-text {
  font-size: 1.05rem;
  color: var(--cr-frost);
  line-height: 1.8;
  white-space: pre-wrap;
  font-weight: 300;
}

.forest-dress-palette {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
}

.forest-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(162, 178, 198, 0.2);
  box-shadow: 0 2px 8px rgba(6, 9, 16, 0.4);
  transition: transform 0.3s var(--ease-cinematic), box-shadow 0.3s var(--ease-cinematic);
  cursor: default;
}

.forest-swatch:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 6px 16px rgba(162, 178, 198, 0.15);
}

@media (max-width: 768px) {
  .forest-dress-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
  }
  .forest-dress-image {
    max-width: 260px;
    margin: 0 auto;
  }
  .forest-dress-content { padding: 0.5rem 0; }
  .forest-dress-palette { justify-content: center; }
}

/* ═══════════════════════════════════════════════
   COURT — Retratos premium
═══════════════════════════════════════════════ */
.forest-court { padding: var(--section-gap) 0; }

.forest-court-group { margin-bottom: 4rem; }
.forest-court-group:last-child { margin-bottom: 0; }

.forest-court-group-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cr-silver);
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  position: relative;
}

/* Línea decorativa bajo título de grupo */
.forest-court-group-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(162, 178, 198, 0.25);
  margin: 0.75rem auto 0;
}

.forest-court-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.forest-court-grid--large { gap: 2rem; }

.forest-court-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.forest-court-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(162, 178, 198, 0.15);
  box-shadow: 0 0 20px rgba(6, 9, 16, 0.4);
  transition: all 0.4s var(--ease-cinematic);
}

.forest-court-member:hover .forest-court-photo {
  border-color: rgba(162, 178, 198, 0.3);
  box-shadow: 0 0 30px rgba(162, 178, 198, 0.12);
  transform: scale(1.04);
}

.forest-court-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.95);
}

.forest-court-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cr-deep) 0%, var(--cr-slate) 100%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--cr-silver);
  user-select: none;
}

.forest-court-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--cr-frost);
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.forest-court-role {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--cr-ash);
  text-align: center;
  font-style: italic;
  font-weight: 300;
  margin-top: -0.25rem;
}

/* ═══════════════════════════════════════════════
   GALLERY — Masonry tipo Pinterest
═══════════════════════════════════════════════ */
.forest-gallery { padding: var(--section-gap) 0; }

.forest-gallery-grid {
  columns: 3;
  column-gap: 1rem;
}

.forest-gallery-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-soft);
  overflow: hidden;
  border: 1px solid rgba(162, 178, 198, 0.08);
  transition: transform 0.5s var(--ease-cinematic), border-color 0.4s, box-shadow 0.4s;
  cursor: zoom-in;
}

.forest-gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 178, 198, 0.25);
  box-shadow: 0 12px 40px rgba(6, 9, 16, 0.5), 0 0 20px rgba(162, 178, 198, 0.06);
}

.forest-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.8) contrast(0.95);
  transition: transform 0.6s var(--ease-cinematic), filter 0.5s;
}

.forest-gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1);
}

.forest-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 16, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
}

.forest-gallery-item:hover .forest-gallery-overlay { opacity: 1; }

.forest-gallery-zoom {
  width: 28px;
  height: 28px;
  color: var(--cr-silver);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-cinematic);
}

.forest-gallery-item:hover .forest-gallery-zoom { transform: translateY(0); }

/* ═══════════════════════════════════════════════
   GIFTS — Elegante, discreto
═══════════════════════════════════════════════ */
.forest-gifts { padding: var(--section-gap) 0; }

.forest-gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.forest-gift-card {
  padding: 2rem;
  text-align: center;
  background: var(--glass-deep);
}

.forest-gift-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cr-ivory);
  margin-bottom: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.forest-gift-desc {
  font-size: 0.95rem;
  color: var(--cr-ash);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.forest-gift-btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background: transparent;
  border: 1px solid rgba(162, 178, 198, 0.15);
  border-radius: var(--radius-sharp);
  color: var(--cr-silver);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-smooth);
}

.forest-gift-btn:hover {
  background: rgba(162, 178, 198, 0.08);
  border-color: rgba(162, 178, 198, 0.3);
  color: var(--cr-ivory);
}

/* ═══════════════════════════════════════════════
   MUSIC
═══════════════════════════════════════════════ */
.forest-music { padding: 4rem 0; }

.forest-music-card {
  background: var(--glass-deep);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-soft);
  padding: 2rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.forest-music-icon {
  width: 44px;
  height: 44px;
  color: var(--cr-silver);
  margin: 0 auto 0.75rem;
  opacity: 0.6;
}

.forest-music-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cr-frost);
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 300;
}

.forest-music-embed,
.forest-spotify-embed iframe {
  border-radius: var(--radius-soft);
  overflow: hidden;
  border: 1px solid rgba(162, 178, 198, 0.08);
}

/* ═══════════════════════════════════════════════
   RSVP — Íntimo, premium
═══════════════════════════════════════════════ */
.forest-rsvp { padding: var(--section-gap) 0; }

.forest-rsvp-card {
  background: var(--glass-deep);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(162, 178, 198, 0.12);
  border-radius: var(--radius-soft);
  padding: 4rem 2.5rem;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Glow superior sutil en RSVP */
.forest-rsvp-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 178, 198, 0.25), transparent);
}

.forest-rsvp-intro {
  font-size: 1.05rem;
  color: var(--cr-ash);
  margin-bottom: 0.5rem;
}

.forest-rsvp-intro strong {
  color: var(--cr-ivory);
  font-weight: 500;
}

.forest-rsvp-sub {
  font-size: 1rem;
  color: var(--cr-silver);
  font-style: italic;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.forest-rsvp-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(162, 178, 198, 0.25);
  border-radius: var(--radius-sharp);
  color: var(--cr-ivory);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
}

.forest-rsvp-btn:hover {
  background: rgba(162, 178, 198, 0.08);
  border-color: rgba(162, 178, 198, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 9, 16, 0.5);
  letter-spacing: 0.14em;
}

/* ═══════════════════════════════════════════════
   GUESTBOOK
═══════════════════════════════════════════════ */
.forest-guestbook { padding: 5rem 0; }

.forest-guestbook-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--glass-deep);
}

.forest-guestbook-intro {
  font-size: 1rem;
  color: var(--cr-ash);
  margin-bottom: 2rem;
  font-weight: 300;
}

.forest-guestbook-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(162, 178, 198, 0.15);
  border-radius: var(--radius-sharp);
  color: var(--cr-silver);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease-smooth);
}

.forest-guestbook-btn:hover {
  background: rgba(162, 178, 198, 0.08);
  border-color: rgba(162, 178, 198, 0.3);
  color: var(--cr-ivory);
}

/* ═══════════════════════════════════════════════
   FAQ — Limpio, integrado al cierre
═══════════════════════════════════════════════ */
.forest-faq { padding: 5rem 0; }

.forest-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
}

.forest-faq-card {
  padding: 1.5rem 1.75rem;
  background: var(--glass-deep);
  border-color: rgba(162, 178, 198, 0.06);
}

.forest-faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--cr-ivory);
  margin-bottom: 0.6rem;
  font-weight: 500;
  line-height: 1.5;
}

.forest-faq-answer {
  font-size: 0.95rem;
  color: var(--cr-ash);
  line-height: 1.75;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   BRAND FOOTER
═══════════════════════════════════════════════ */
.invitation-brand-footer {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  text-align: center;
}

.invitation-brand-footer__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--cr-ash);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.invitation-brand-footer__link:hover {
  opacity: 0.8;
}

/* Footer heredado (compatibilidad) */
.forest-footer {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(162, 178, 198, 0.05);
  overflow: hidden;
}

.forest-footer-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.forest-footer-silhouette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  filter:
    brightness(0.4)
    contrast(1.1)
    saturate(0.2)
    hue-rotate(190deg);
  mask-image: linear-gradient(180deg, transparent 0%, black 60%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 60%);
}

.forest-footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.forest-footer-text {
  font-size: 1rem;
  color: var(--cr-silver);
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 300;
}

.forest-footer-signature {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cr-ivory);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════════════ */
.forest-float-rsvp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background: rgba(16, 22, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(162, 178, 198, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-deep);
  z-index: 100;
  transition: all 0.4s var(--ease-cinematic);
  text-decoration: none;
}

.forest-float-rsvp:hover {
  transform: scale(1.08) translateY(-3px);
  border-color: rgba(162, 178, 198, 0.35);
  box-shadow: 0 12px 36px rgba(6, 9, 16, 0.6);
}

.forest-float-rsvp svg {
  width: 24px;
  height: 24px;
  color: var(--cr-silver);
}

.forest-scroll-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 48px;
  height: 48px;
  background: rgba(16, 22, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(162, 178, 198, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.4s var(--ease-cinematic);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.forest-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.forest-scroll-top:hover {
  border-color: rgba(162, 178, 198, 0.3);
  transform: translateY(-3px);
}

.forest-scroll-top svg {
  width: 20px;
  height: 20px;
  color: var(--cr-silver);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-gap: 5.5rem; }

  .forest-hero { padding: 5rem 1.5rem 4rem; }
  .forest-hero-date {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 1.25rem;
  }
  .forest-date-day { font-size: 1.8rem; }
  .forest-countdown-item { padding: 1rem 1.25rem; }
  .forest-countdown-number { font-size: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-gap: 4.5rem; }

  .forest-hero {
    padding: 5rem 1rem 4rem;
    min-height: 100svh;
  }

  .forest-frame {
    width: 250px;
    height: 340px;
    margin-bottom: 2rem;
  }

  .forest-frame-halo {
    width: 350px;
    height: 350px;
  }

  .forest-title { font-size: 2.1rem; letter-spacing: 0.1em; }
  .forest-subtitle { font-size: 0.85rem; letter-spacing: 0.2em; }

  .forest-card--welcome { padding: 2.25rem 1.5rem; }

  .forest-countdown-grid { flex-wrap: wrap; gap: 0; }
  .forest-countdown-item { min-width: 70px; padding: 0.75rem 1rem; }
  .forest-countdown-separator { height: 24px; }

  .forest-locations-grid,
  .forest-gifts-grid,
  .forest-faq-grid { grid-template-columns: 1fr; }

  .forest-court-grid { gap: 1.75rem; }
  .forest-court-photo { width: 90px; height: 90px; }

  .forest-gallery-grid {
    columns: 2;
    column-gap: 0.75rem;
  }
  .forest-gallery-item {
    margin-bottom: 0.75rem;
  }

  .forest-float-rsvp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .forest-scroll-top {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .forest-scroll-indicator { display: none; }

  .forest-rsvp-card { padding: 3rem 1.5rem; }

  .forest-timeline { padding-left: 2rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .forest-section-title { font-size: 1.5rem; }
  .forest-section-intro { font-size: 0.9rem; margin-bottom: 2.5rem; }
  .forest-frame { width: 210px; height: 285px; }
  .forest-title { font-size: 1.8rem; }
  .forest-swatch { width: 38px; height: 38px; }
  .forest-countdown-number { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .forest-mist,
  .forest-fog,
  .forest-particles,
  .light-ray,
  .forest-frame-halo,
  .forest-frame-shimmer {
    animation: none !important;
  }
  .forest-mist { opacity: 0.3 !important; }
  .forest-fog { opacity: 0.3 !important; }
}
