:root {
  --cream: #fbf6e9;
  --cream-alt: #f3ead2;
  --gold: #c9a227;
  --gold-light: #e3c566;
  --gold-dark: #8b6914;
  --green: #4f6049;
  --green-dark: #3a4a35;
  --ink: #2b2520;
  --ink-soft: #5a5247;
  --whatsapp: #25d366;
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(201,162,39,0.05), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(79,96,73,0.06), transparent 45%);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

svg { display: block; }

::selection { background: var(--gold-light); color: var(--ink); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-heart {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin: 0 auto 14px;
  animation: heartbeat 1.3s ease-in-out infinite;
}
.preloader-names {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--green-dark);
  letter-spacing: 2px;
}
.preloader-names span { color: var(--gold); }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 1500;
  transition: width 0.12s ease-out;
}

/* ---------- Side dot navigation ---------- */
.dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dot-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot-nav-link span {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: rgba(43,37,32,0.2);
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}
.dot-nav-link small {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--green-dark);
  background: var(--cream);
  border-radius: 10px;
  transition: opacity 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
}
.dot-nav-link:hover small,
.dot-nav-link.active small {
  opacity: 1;
  max-width: 120px;
  padding: 4px 10px;
  box-shadow: 0 2px 10px rgba(43,37,32,0.12);
}
.dot-nav-link:hover span,
.dot-nav-link.active span {
  background: var(--gold);
  transform: scale(1.4);
}
@media (max-width: 900px) {
  .dot-nav { display: none; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger de tarjetas/galería al revelarse */
.info-cards .info-card,
.gift-cards .gift-card,
.gallery-grid .gallery-item {
  opacity: 0;
  transform: translateY(26px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible .info-cards .info-card,
[data-reveal].is-visible .gift-cards .gift-card,
[data-reveal].is-visible .gallery-grid .gallery-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.info-cards .info-card:nth-child(1), .gift-cards .gift-card:nth-child(1), .gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.05s; }
.info-cards .info-card:nth-child(2), .gift-cards .gift-card:nth-child(2), .gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.14s; }
.info-cards .info-card:nth-child(3), .gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.23s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.32s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.41s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.50s; }
.gallery-grid .gallery-item:nth-child(7) { transition-delay: 0.59s; }
.gallery-grid .gallery-item:nth-child(8) { transition-delay: 0.68s; }

/* Dibujo de los separadores de sección al revelarse */
.section-divider {
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.9s ease;
}
[data-reveal] .section-divider { opacity: 0; transform: scaleX(0); }
[data-reveal].is-visible .section-divider { opacity: 1; transform: scaleX(1); transition-delay: 0.1s; }

/* ---------- Section dividers / kickers ---------- */
.section-kicker {
  color: var(--gold-dark);
  font-style: italic;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.section-kicker.light { color: var(--gold-light); }

.section-divider {
  width: 110px;
  height: 18px;
  margin: 6px auto 10px;
  color: var(--gold);
}
.section-divider.light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}
.btn-fill {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  box-shadow: 0 6px 16px rgba(201,162,39,0.3);
}
.btn-fill:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* WhatsApp-style pill button (como el flyer) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  padding: 8px 26px 8px 8px;
  margin-top: 34px;
  cursor: pointer;
  font-family: var(--font-serif);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(43,37,32,0.1);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,37,32,0.16); }

/* Brillo deslizante al pasar el cursor */
.btn-fill, .btn-whatsapp { position: relative; overflow: hidden; }
.btn-fill::after, .btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-fill:hover::after, .btn-whatsapp:hover::after { left: 130%; }
.wa-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.wa-badge svg { width: 22px; height: 22px; }
.wa-text {
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.35;
}
.wa-text strong { font-size: 1rem; color: var(--green-dark); letter-spacing: 1.5px; }
.btn-whatsapp-submit {
  width: 100%;
  justify-content: center;
  margin: 24px auto 0;
}
.btn-whatsapp-submit .wa-text { font-size: 0.95rem; letter-spacing: 1.5px; }

/* ---------- Music toggle ---------- */
.music-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.music-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.music-toggle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
}
.music-toggle.playing::before { animation: musicPulse 2.2s ease-out infinite; }
@keyframes musicPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.music-icon { display: inline-block; }
.music-toggle.playing .music-icon { animation: spin 3s linear infinite; }
@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 50px 18px;
  overflow: hidden;
}
.hero-frame {
  position: relative;
  max-width: 600px;
  width: 100%;
  padding: 44px 30px;
  border: 1px solid var(--gold);
  z-index: 2;
  transform: scale(calc(1 - var(--hero-scroll, 0) * 0.07)) translateY(calc(var(--hero-scroll, 0) * 30px));
  opacity: calc(1 - var(--hero-scroll, 0) * 0.7);
  transition: transform 0.05s linear;
}
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.hero-content { position: relative; color: var(--ink); }

/* Entrada escalonada de los elementos del hero */
.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-content.is-visible > * { opacity: 1; transform: translateY(0); }
.hero-content.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.hero-content.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.hero-content.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.hero-content.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.hero-content.is-visible > *:nth-child(5) { transition-delay: 0.5s; }
.hero-content.is-visible > *:nth-child(6) { transition-delay: 0.6s; }
.hero-content.is-visible > *:nth-child(7) { transition-delay: 0.7s; }
.hero-content.is-visible > *:nth-child(8) { transition-delay: 0.8s; }
.hero-content.is-visible > *:nth-child(9) { transition-delay: 0.9s; }

/* Pétalos flotantes */
.hero-petals { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.petal {
  position: absolute;
  top: -8%;
  width: 9px;
  height: 13px;
  background: var(--gold-light);
  border-radius: 0 100% 0 100%;
  opacity: 0.55;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0% { transform: translateY(-10vh) translateX(0) rotate(0deg); }
  100% { transform: translateY(110vh) translateX(50px) rotate(360deg); }
}
.petal:nth-child(1) { left: 4%; animation-duration: 15s; animation-delay: 0s; }
.petal:nth-child(2) { left: 14%; animation-duration: 19s; animation-delay: 2s; background: var(--green); opacity: 0.35; }
.petal:nth-child(3) { left: 24%; animation-duration: 13s; animation-delay: 4s; }
.petal:nth-child(4) { left: 36%; animation-duration: 21s; animation-delay: 1s; background: var(--green); opacity: 0.3; }
.petal:nth-child(5) { left: 48%; animation-duration: 16s; animation-delay: 6s; }
.petal:nth-child(6) { left: 58%; animation-duration: 18s; animation-delay: 3s; background: var(--green); opacity: 0.35; }
.petal:nth-child(7) { left: 68%; animation-duration: 14s; animation-delay: 7s; }
.petal:nth-child(8) { left: 79%; animation-duration: 20s; animation-delay: 2.5s; background: var(--green); opacity: 0.3; }
.petal:nth-child(9) { left: 89%; animation-duration: 17s; animation-delay: 5s; }
.petal:nth-child(10) { left: 95%; animation-duration: 22s; animation-delay: 0.5s; background: var(--green); opacity: 0.3; }

.heart-ribbon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin: 0 auto 10px;
}

.hero-kicker {
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-family: var(--font-serif);
}

.hero-photo-frame {
  width: 220px;
  aspect-ratio: 3 / 4;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  padding: 6px;
  position: relative;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(45deg, #ece3cc, #ece3cc 10px, #f1e9d6 10px, #f1e9d6 20px);
  color: var(--ink-soft);
  font-size: 0.78rem;
  padding: 10px;
}

.hero-blessing {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.hero-event {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--gold);
  margin: 10px 0 4px;
  font-weight: 400;
}
.hero-names {
  font-size: 2.6rem;
  letter-spacing: 2px;
  margin: 8px 0 16px;
  font-weight: 700;
  color: var(--green-dark);
}
.hero-names .amp {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 2.2rem;
  padding: 0 10px;
  font-weight: 400;
}
.hero-sub {
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--ink-soft);
}

.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--ink);
}
.meta-icon { width: 22px; height: 22px; color: var(--gold); }
.hero-meta-divider {
  width: 1px;
  height: 38px;
  background: var(--gold);
  opacity: 0.6;
}

.floral {
  position: absolute;
  width: 130px;
  height: 130px;
  z-index: 1;
  opacity: 0.95;
}
.floral-tl { top: -10px; left: -10px; }
.floral-tr { top: -10px; right: -10px; transform: scaleX(-1); }
.floral-bl { bottom: -10px; left: -10px; transform: scaleY(-1); }
.floral-br { bottom: -10px; right: -10px; transform: scale(-1,-1); }

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-dark);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Countdown ---------- */
.countdown-section {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 55px 20px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.countdown-item span {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-block;
}
.countdown-item span.pulse { animation: countPulse 0.45s ease; }
@keyframes countPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); color: #fff; }
  100% { transform: scale(1); }
}
.countdown-item label {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-alt);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section {
  max-width: 920px;
  margin: 0 auto;
  padding: 90px 24px;
  text-align: center;
}
.section-alt {
  background: var(--cream-alt);
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
.section-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--green-dark);
  margin-bottom: 24px;
  font-weight: 400;
}
.section-text {
  max-width: 560px;
  margin: 0 auto 10px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.section-note {
  margin-top: 18px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Icon badges ---------- */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Info cards ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 30px 0 40px;
}
.info-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7dfc9;
  border-radius: 12px;
  padding: 28px 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card::before, .gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s ease;
  border-radius: 2px;
}
.info-card:hover::before, .gift-card:hover::before { transform: translateX(-50%) scaleX(1); }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(43,37,32,0.08); }
.info-card h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; color: var(--gold-dark); }
.info-card p { color: var(--ink-soft); font-size: 0.98rem; }

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ---------- Dress code ---------- */
.palette { display: flex; justify-content: center; gap: 16px; margin: 24px 0; }
.swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 2px solid #fff;
  outline: 1px solid var(--gold);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--cream-alt);
  box-shadow: 0 4px 14px rgba(43,37,32,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43,37,32,0.2); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.1); filter: brightness(0.75); }
.gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
.gallery-item.placeholder {
  background: repeating-linear-gradient(45deg, #ece3cc, #ece3cc 10px, #f1e9d6 10px, #f1e9d6 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  padding: 10px;
  border: 1px dashed var(--gold);
  cursor: default;
}
.gallery-item.placeholder small { display: block; margin-top: 4px; opacity: 0.8; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,16,10,0.93);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); transform: scale(1.08); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1rem; }
  .lightbox-close { width: 38px; height: 38px; top: 14px; right: 14px; }
}

/* ---------- Gift cards ---------- */
.gift-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.gift-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  border: 1px solid #e7dfc9;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gift-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(43,37,32,0.08); }
.gift-card h3 { color: var(--gold-dark); margin: 10px 0; font-size: 1.2rem; }
.gift-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- RSVP form ---------- */
.rsvp-form {
  max-width: 460px;
  margin: 30px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rsvp-form label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d8cfb5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream-alt);
  text-align: center;
  padding: 60px 20px;
}
.footer-names {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.footer-text { max-width: 420px; margin: 0 auto 14px; font-size: 0.98rem; }
.footer-date { letter-spacing: 3px; color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hero-frame { padding: 32px 18px; }
  .hero-names { font-size: 2rem; letter-spacing: 1px; }
  .hero-event { font-size: 2.2rem; }
  .hero-photo-frame { width: 170px; }
  .hero-meta-row { gap: 10px; }
  .hero-meta-item { font-size: 0.62rem; }
  .section-title { font-size: 2.2rem; }
  .countdown { gap: 16px; }
  .countdown-item span { font-size: 2rem; }
  .floral { width: 90px; height: 90px; }
  .wa-text { font-size: 0.72rem; }
  .wa-text strong { font-size: 0.9rem; }
}
