/* ============================================================
   BODA ELIA & JOSÉ — 31.10.2026
   Paleta: Verde olivo · Negro · Blanco
   ============================================================ */

:root {
  --olive-darkest: #3A4520;
  --olive-dark:    #4A5428;
  --olive:         #6B7B3A;
  --olive-mid:     #8A9A5B;
  --olive-light:   #B8C48A;
  --olive-pale:    #EEF0E5;
  --black:         #0B1807;
  --dark:          #1C2812;
  --dark-2:        #2C3A1E;
  --gray:          #6B6B6B;
  --gray-light:    #D4D4D4;
  --white:         #FAFAF8;
  --gold:          #C9A96E;
  --gold-light:    #E8D5A3;

  --ff-script:  'Great Vibes', cursive;
  --ff-heading: 'Playfair Display', serif;
  --ff-sub:     'Cormorant Garamond', serif;
  --ff-body:    'Montserrat', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--dark);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 20px 32px;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
  padding: 14px 32px;
  background: rgba(11, 24, 7, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-script);
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  user-select: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.25s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image: url('novios.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* capa de luz dorada animada — simula el movimiento de hora dorada en el campo */
.hero::before {
  content: '';
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  background:
    radial-gradient(ellipse 60% 38% at 68% 20%, rgba(201,169,110,0.62) 0%, rgba(201,169,110,0.08) 52%, transparent 100%),
    radial-gradient(ellipse 70% 44% at 28% 76%, rgba(45,82,20,0.48) 0%, transparent 100%),
    radial-gradient(ellipse 44% 28% at 52% 50%, rgba(107,123,58,0.20) 0%, transparent 100%);
  animation: goldenHourShift 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* velo atmosférico — profundidad y suavidad */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, transparent 22%),
    linear-gradient(to bottom, rgba(201,169,110,0.11) 0%, rgba(107,123,58,0.06) 42%, rgba(14,28,8,0.50) 100%);
  z-index: 0;
  animation: atmospherePulse 10s ease-in-out infinite alternate;
}

@keyframes goldenHourShift {
  0%   { transform: translate(0%,    0%)    scale(1);    opacity: 0.80; }
  20%  { transform: translate(2%,   -1%)    scale(1.03); opacity: 1;    }
  40%  { transform: translate(-1%,   1.5%)  scale(1.02); opacity: 0.86; }
  60%  { transform: translate(2.8%,  0.4%)  scale(1.04); opacity: 0.96; }
  80%  { transform: translate(-0.5%, -0.8%) scale(1.03); opacity: 1;    }
  100% { transform: translate(1%,    0.6%)  scale(1.05); opacity: 0.88; }
}

@keyframes atmospherePulse {
  0%   { opacity: 0.60; }
  100% { opacity: 1;    }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
  animation: heroFadeIn 1.4s var(--ease) both;
}

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

.hero-pre {
  font-family: var(--ff-sub);
  font-size: 0.95rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  font-style: italic;
  margin-bottom: 12px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.80);
}

.hero-names {
  font-family: var(--ff-script);
  font-size: clamp(5.5rem, 14vw, 10rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.hero-fullnames {
  font-family: var(--ff-sub);
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 300;
  text-shadow: 0 1px 10px rgba(0,0,0,0.80);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-divider span:first-child,
.hero-divider span:last-child {
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.hero-diamond { color: var(--gold); font-size: 0.6rem; }

.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: heroFadeIn 1.8s 0.3s var(--ease) both;
}

.date-num {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--white);
}

.date-sep {
  color: var(--gold);
  font-size: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}

.scroll-label {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-arrow { font-size: 1.1rem; }

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

/* ---- BOTÓN MÚSICA HERO ---- */
.music-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,110,0.55);
  color: rgba(255,255,255,0.82);
  font-family: var(--ff-sub);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.music-btn-hero:hover {
  background: rgba(201,169,110,0.18);
  border-color: var(--gold);
  color: var(--gold-light);
}

.music-btn-hero.playing {
  background: rgba(201,169,110,0.14);
  border-color: var(--gold);
  color: var(--gold-light);
}

.music-btn-hero svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ---- SHARED SECTION STYLES ---- */
.section { padding: 96px 0; }

.section-pre {
  font-family: var(--ff-sub);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  text-align: center;
  color: var(--olive-dark);
  letter-spacing: 1px;
}

.section-title.light { color: var(--white); }

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 52px;
}

.divider-line {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--olive-light);
}

.section-divider.light .divider-line { background: rgba(255,255,255,0.2); }
.section-divider.light .divider-icon { color: var(--olive-mid); }

.divider-icon {
  color: var(--olive);
  font-size: 0.6rem;
}

/* ---- PADRES ---- */
.padres {
  background: var(--white);
  text-align: center;
}

.padres-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.padres-familia {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.padres-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive-mid);
  font-weight: 600;
  margin-bottom: 16px;
}

.padre-nombre {
  font-family: var(--ff-sub);
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.7;
}

.padre-names-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.padre-names-row .padre-nombre {
  display: inline;
}

.padre-and {
  display: block;
  font-family: var(--ff-script);
  font-size: 1.8rem;
  color: var(--olive);
  margin: 4px 0;
}

.padre-names-row .padre-and {
  display: inline;
  margin: 0;
}

.padres-divider-v {
  width: 1px;
  height: 130px;
  background: linear-gradient(to bottom, transparent, var(--olive-light), transparent);
  flex-shrink: 0;
}

/* ---- COUNTDOWN ---- */
.countdown-section {
  background: linear-gradient(135deg, var(--olive-darkest) 0%, var(--olive-dark) 50%, #2a3015 100%);
  text-align: center;
}

.countdown-label,
.countdown-sublabel {
  font-family: var(--ff-sub);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--olive-light);
  font-style: italic;
}

.countdown-label { margin-bottom: 36px; }
.countdown-sublabel { margin-top: 28px; }

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

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  padding: 0 8px;
}

.countdown-num {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
}

.countdown-unit {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-top: 10px;
  font-weight: 500;
}

.countdown-colon {
  font-family: var(--ff-heading);
  font-size: 3rem;
  color: var(--olive-mid);
  font-weight: 700;
  align-self: flex-start;
  padding-top: 10px;
  line-height: 1;
}

/* ---- EVENTOS ---- */
.eventos {
  background: var(--white);
  text-align: center;
}

.eventos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.evento-card {
  padding: 52px 40px;
  border: 1px solid var(--olive-light);
  position: relative;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.evento-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--olive-pale), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.evento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.evento-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--olive);
}

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

.evento-tipo {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

.evento-hora {
  font-family: var(--ff-sub);
  font-size: 2rem;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.evento-sep {
  width: 36px;
  height: 1px;
  background: var(--olive-light);
  margin: 0 auto 20px;
}

.evento-lugar {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--dark-2);
  margin-bottom: 6px;
}

.evento-dir {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 28px;
}

.btn-mapa {
  display: inline-block;
  padding: 11px 28px;
  border: 1px solid var(--olive);
  color: var(--olive-dark);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}

.btn-mapa:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

/* ---- CÓMO LLEGAR ---- */
.llegar {
  background: var(--olive-pale);
  text-align: center;
}

.llegar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.llegar-card {
  background: var(--white);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  position: relative;
}

.llegar-num {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--olive-pale);
  line-height: 1;
  margin-bottom: 8px;
}

.llegar-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

.llegar-nombre {
  font-family: var(--ff-sub);
  font-size: 1rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 12px;
}

.llegar-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ---- DRESS CODE ---- */
.dresscode {
  background: var(--white);
  text-align: center;
}

.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dresscode-card {
  padding: 52px 40px;
  background: var(--olive-pale);
  transition: transform 0.3s var(--ease);
}

.dresscode-card:hover { transform: translateY(-3px); }

.dresscode-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--olive);
}

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

.dresscode-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

.dresscode-tipo {
  font-family: var(--ff-sub);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 20px;
}

.dresscode-sep {
  width: 32px;
  height: 1px;
  background: var(--olive-mid);
  margin: 0 auto 20px;
}

.dresscode-avoid-label {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--olive-mid);
  font-weight: 600;
  margin-bottom: 8px;
}

.dresscode-avoid {
  font-family: var(--ff-sub);
  font-size: 1rem;
  color: var(--gray);
  font-style: italic;
}

/* ---- NO NIÑOS ---- */
.no-ninos {
  background: var(--dark);
  padding: 80px 0;
}

.no-ninos-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border: 1px solid rgba(255,255,255,0.08);
}

.no-ninos-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 8px;
  margin: 0 0 24px;
}

.no-ninos-titulo {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.no-ninos-texto {
  font-family: var(--ff-sub);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ---- GALERÍA ---- */
.galeria {
  background: var(--black);
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 160px);
  gap: 8px;
  margin-bottom: 36px;
}

.galeria-item {
  background: linear-gradient(135deg, var(--olive-darkest) 0%, #0E1A08 100%);
  position: relative;
  overflow: hidden;
}

.galeria-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(107,123,58,0.05) 12px, rgba(107,123,58,0.05) 24px);
}

.galeria-item.tall { grid-row: span 2; }
.galeria-item.wide { grid-column: span 2; }

.galeria-coming {
  font-family: var(--ff-script);
  font-size: 2.2rem;
  color: var(--olive-light);
  letter-spacing: 2px;
  opacity: 0.7;
}

/* ---- RSVP ---- */
.rsvp {
  background: var(--white);
  text-align: center;
}

.rsvp-sub {
  font-family: var(--ff-sub);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 48px;
  letter-spacing: 0.5px;
}

.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input::placeholder { color: #ABABAB; }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107,123,58,0.12);
}

.radio-group {
  display: flex;
  gap: 16px;
}

.radio-opt { cursor: pointer; flex: 1; }
.radio-opt input[type="radio"] { position: absolute; opacity: 0; }

.radio-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--gray-light);
  font-size: 0.85rem;
  color: var(--dark);
  transition: all 0.2s;
  user-select: none;
}

.radio-opt input:checked + .radio-box {
  border-color: var(--olive);
  background: var(--olive-pale);
  color: var(--olive-dark);
}

.radio-check {
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  padding: 17px;
  background: var(--olive-dark);
  color: var(--white);
  border: none;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  margin-top: 4px;
  border-radius: 0;
}

.btn-submit:hover:not(:disabled) { background: var(--olive); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.form-msg {
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-family: var(--ff-sub);
  font-style: italic;
  display: none;
  border-left: 3px solid;
}

.form-msg.success {
  display: block;
  background: var(--olive-pale);
  color: var(--olive-dark);
  border-color: var(--olive);
}

.form-msg.error {
  display: block;
  background: #FFF0F0;
  color: #8B2020;
  border-color: #C45C5C;
}

/* ---- REGALOS ---- */
.regalos {
  background: var(--olive-pale);
  text-align: center;
}

.regalos-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.regalos-icon { font-size: 2.5rem; margin-bottom: 20px; }

.regalos-titulo {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--olive-dark);
  margin-bottom: 20px;
}

.regalos-texto {
  font-family: var(--ff-sub);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray);
  line-height: 1.95;
  margin-bottom: 20px;
}

.regalos-nota {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: var(--olive-mid);
  text-transform: uppercase;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}

.footer-names {
  font-family: var(--ff-script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold-light);
  margin-bottom: 8px;
}

.footer-date {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: var(--olive-light);
  margin-bottom: 24px;
}

.footer-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 20px;
}

.footer-phrase {
  font-family: var(--ff-sub);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

/* ---- FADE-IN ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11,24,7,0.98);
    padding: 24px 32px;
    gap: 20px;
  }

  .hero-fullnames { display: none; }

  .padres-grid { flex-direction: column; gap: 20px; }
  .padres-divider-v { width: 60px; height: 1px; }

  .eventos-grid,
  .dresscode-grid,
  .llegar-grid,
  .form-row { grid-template-columns: 1fr; }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .galeria-item.tall { grid-row: span 1; }
  .galeria-item.wide { grid-column: span 1; }

  .no-ninos-card { padding: 40px 28px; }
  .regalos-card { padding: 40px 28px; }

  .rsvp-form { max-width: 100%; }
  .radio-group { flex-direction: column; }

  .countdown-item { min-width: 72px; }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-names { font-size: 4.5rem; }
  .container { padding: 0 20px; }
}
