/* ═══════════════════════════════════════════
   XV AÑOS — MAITE
   Fairycore / Disney's Tangled Theme
   Pink & Purple with Gold Accents
═══════════════════════════════════════════ */

:root {
  --pink: #f2c1d1;
  --pink-light: #fbe4ec;
  --pink-soft: #fef5f8;
  --lilac: #e6d4e8;
  --lilac-soft: #f1e8f2;
  --purple: #c4a8d8;
  --purple-deep: #a78bba;
  --purple-dark: #9484a8;
  --gold: #d4a855;
  --gold-light: #f5e6ce;
  --cream: #fefbf9;
  --white: #ffffff;
  --text: #453050;
  --text-light: #7a6885;
  --accent: var(--gold);
  /* Italic highlights in titles / body copy */
  --accent-italic: #d4a5c7;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  /* First name in hero / splash — distinct from “Sofía” */
  --font-name-main: 'Cormorant Garamond', Georgia, serif;
  /* Second name + general italic accent font */
  --font-hero: 'Libre Baskerville', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  --section-padding: 6rem 0;
  --radius: 16px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ─────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container.narrow {
  max-width: 640px;
}

/* ── Typography ───────────────────────── */

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--purple-deep);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Italic accent for highlights inside titles or body */
.display-accent {
  font-family: var(--font-hero);
  font-style: italic;
  font-weight: 400;
  font-size: 0.84em;
  letter-spacing: -0.02em;
  color: var(--accent-italic);
}

/* ═══════════════════════════════════════════
   SPLASH / ENTRY SCREEN
═══════════════════════════════════════════ */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero.webp") center / cover no-repeat;
  transform: scale(1);
  filter: saturate(1.05) contrast(1.02);
  pointer-events: none;
}

.splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:rgba(196, 168, 216, 0.85); /* lilac overlay */
  pointer-events: none;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.splash-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.75rem;
}

.splash-name {
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 1;
  margin: 0 0 0.25rem;
}

.splash-name-main,
.splash-name-accent {
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    0 1px 2px rgba(28, 22, 40, 0.45),
    0 2px 14px rgba(35, 28, 55, 0.28);
}

.splash-name-main {
  font-family: var(--font-name-main);
  font-weight: 600;
  font-size: 1.15em;
}

.splash-name-accent {
  font-family: var(--font-hero);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
}

.splash-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 2.5rem;
}

.splash-enter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  animation: splashPulse 2s ease-in-out infinite;
}

.splash-enter:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.splash-enter:disabled {
  opacity: 0.7;
  cursor: wait;
}

.splash-enter svg {
  width: 16px;
  height: 16px;
}

@keyframes splashPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}

/* Hide body scroll while splash is visible */
body.splash-active {
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   FLOATING MUSIC BUTTON
═══════════════════════════════════════════ */

.music-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.7rem;
  border: 1px solid rgba(196, 168, 216, 0.25);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(148, 132, 168, 0.12);
  animation: musicPulse 2.5s ease-in-out 3s 3;
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(148, 132, 168, 0.18);
  transform: translateY(-2px);
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(148, 132, 168, 0.12); }
  50% { box-shadow: 0 4px 24px rgba(196, 168, 216, 0.35); }
}

.music-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: var(--white);
  flex-shrink: 0;
}

.music-icon svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

/* Animated equalizer bars */
.music-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  gap: 2px;
  padding: 8px 7px;
  flex-shrink: 0;
}

.music-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--white);
}

.music-bars span:nth-child(1) {
  animation: eqBar 0.6s ease-in-out infinite alternate;
  height: 40%;
}
.music-bars span:nth-child(2) {
  animation: eqBar 0.6s 0.15s ease-in-out infinite alternate;
  height: 70%;
}
.music-bars span:nth-child(3) {
  animation: eqBar 0.6s 0.3s ease-in-out infinite alternate;
  height: 50%;
}

@keyframes eqBar {
  0% { height: 30%; }
  100% { height: 100%; }
}

.music-info {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .music-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 0.8rem 0.5rem 0.5rem;
    gap: 0.4rem;
  }

  .music-icon,
  .music-bars {
    width: 28px;
    height: 28px;
  }

  .music-icon svg {
    width: 12px;
    height: 12px;
  }

  .music-info {
    font-size: 0.65rem;
  }
}

/* ═══════════════════════════════════════════
   FLOATING LANTERNS
═══════════════════════════════════════════ */

.lanterns {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.lantern {
  position: absolute;
  opacity: 0;
  animation: lanternFloat var(--duration) var(--delay) ease-in-out infinite;
  will-change: transform, opacity;
  contain: layout style;
  filter: drop-shadow(0 0 20px rgba(255, 215, 80, 0.5));
}

.lantern svg {
  display: block;
  animation: lanternSway 4s ease-in-out infinite alternate;
}

@keyframes lanternFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0.4);
  }
  5% {
    opacity: 0.85;
  }
  40% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) translateX(var(--drift)) scale(0.7);
  }
}

@keyframes lanternSway {
  0% { transform: rotate(calc(var(--sway) * -1)); }
  100% { transform: rotate(var(--sway)); }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 12px rgba(148, 132, 168, 0.1);
  padding: 0.5rem 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  opacity: 0.9;
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 1;
  color: var(--gold-light);
}

.nav-monogram {
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

/* Scrolled state: dark text on frosted glass */
.site-nav.scrolled .nav-logo {
  color: var(--purple-deep);
}

.site-nav.scrolled .nav-links a {
  color: var(--text);
}

.site-nav.scrolled .nav-links a:hover {
  color: var(--purple-deep);
  background: rgba(148, 132, 168, 0.1);
}

.site-nav.scrolled .nav-cta {
  background: rgba(196, 168, 216, 0.2) !important;
  border-color: rgba(167, 139, 186, 0.3);
}

.site-nav.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-links a svg {
  width: 14px;
  height: 14px;
}

.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.25);
}

.nav-cta:hover {
  background: rgba(255,255,255,0.25) !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: var(--text);
  }

  .nav-links a:hover {
    color: var(--purple-deep);
    background: rgba(148, 132, 168, 0.1);
  }

  .nav-toggle.open span {
    background: var(--text);
  }

  .nav-cta {
    margin-top: 0.5rem;
  }
}

/* ═══════════════════════════════════════════
   COVER / HERO — Split Layout
═══════════════════════════════════════════ */

.section-cover {
  position: relative;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.cover-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}

/* Left side — gradient + text */
.cover-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(170deg, var(--purple) 0%, #cdb8de 40%, var(--pink-light) 100%);
  overflow: hidden;
}

/* Stars on the text side */
.cover-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 20% 85%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 45% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 5% 45%, rgba(255,255,255,0.3), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes twinkle {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(242, 193, 209, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(196, 168, 216, 0.25) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.cover-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

/* Right side — photo */
.cover-photo {
  position: relative;
  background:
    linear-gradient(135deg, var(--pink-light) 0%, var(--purple) 100%);
  overflow: hidden;
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*.cover-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--purple) 0%, transparent 30%),
    linear-gradient(to top, rgba(196, 168, 216, 0.2) 0%, transparent 40%);
  pointer-events: none;
}*/

/* Mobile: stack vertically, photo on top */
@media (max-width: 768px) {
  .cover-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .cover-text {
    order: 1;
    min-height: 55dvh;
  }

  .cover-photo {
    order: 0;
    min-height: 45dvh;
  }

  .cover-photo-overlay {
    background:
      linear-gradient(to top, var(--purple) 0%, transparent 40%),
      linear-gradient(to bottom, rgba(196, 168, 216, 0.15) 0%, transparent 30%);
  }
}

.cover-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 1rem;
}

.cover-name {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  margin: 0 0 0.5rem;
}

.cover-name-main {
  font-family: var(--font-name-main);
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    0 1px 2px rgba(28, 22, 40, 0.45),
    0 2px 14px rgba(35, 28, 55, 0.28);
}

.cover-name-accent {
  font-family: var(--font-hero);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    0 1px 2px rgba(28, 22, 40, 0.45),
    0 2px 14px rgba(35, 28, 55, 0.28);
}

.cover-divider {
  margin: 1.5rem 0;
  opacity: 0.7;
}

.cover-date {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 1;
}

.btn-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  animation: bounce 2.5s ease-in-out infinite;
}

.btn-scroll:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

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

/* ═══════════════════════════════════════════
   COUNTDOWN
═══════════════════════════════════════════ */

.section-countdown {
  padding: 5rem 0;
  background: var(--lilac-soft);
  position: relative;
  z-index: 1;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 300;
  color: var(--purple-deep);
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */

.section-about {
  padding: var(--section-padding);
  background: var(--pink-soft);
  position: relative;
  z-index: 1;
}

.parents-names {
  margin-bottom: 1.5rem;
}

/* Space before second eyebrow (padrinos) */
.godparents-eyebrow {
  margin-top: 1.25rem;
}

.parents-fullname {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.8vw, 1.9rem);
  color: var(--purple-deep);
  margin: 0.4rem 0 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.godparents-names {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.15vw, 1.52rem);
  color: var(--purple-deep);
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.about-text .display-accent {
  font-size: 0.95em;
}

.about-portrait {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  width: 260px;
  height: 340px;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  overflow: hidden;
  border: 3px solid rgba(212, 168, 85, 0.3);
  box-shadow:
    0 0 0 8px rgba(232, 160, 191, 0.15),
    0 20px 60px rgba(148, 132, 168, 0.12);
  position: relative;
  background: linear-gradient(135deg, var(--pink-light), var(--purple) 150%);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--pink-light) 0%, var(--purple) 100%);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════
   GALLERY / SLIDESHOW
═══════════════════════════════════════════ */

.section-gallery {
  padding: var(--section-padding);
  background: var(--lilac-soft);
  position: relative;
  z-index: 1;
}

.slideshow {
  position: relative;
  max-width: 600px;
  margin: 2rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(148, 132, 168, 0.1);
}

.slideshow-track {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--pink-soft);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.slide-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.slide-prev { left: 12px; }
.slide-next { right: 12px; }

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slide-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════════
   EVENT DETAILS
═══════════════════════════════════════════ */

.section-event {
  padding: var(--section-padding);
  background:
    linear-gradient(180deg, var(--pink-soft) 0%, var(--lilac-soft) 100%);
  position: relative;
  z-index: 1;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(148, 132, 168, 0.06);
  border: 1px solid rgba(232, 160, 191, 0.15);
  transition: var(--transition);
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(148, 132, 168, 0.1);
}

.event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), rgba(155, 114, 170, 0.15));
  color: var(--purple);
  margin-bottom: 1.25rem;
}

.event-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--purple-deep);
  margin-bottom: 0.75rem;
}

.event-time {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.event-venue {
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.event-address {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  border: 1.5px solid rgba(155, 114, 170, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  transition: var(--transition);
}

.btn-map:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-map svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════
   DRESS CODE
═══════════════════════════════════════════ */

.section-dresscode {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--lilac-soft) 0%, var(--pink-soft) 100%);
  position: relative;
  z-index: 1;
}

.dresscode-palette {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.color-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.color-swatch:hover {
  transform: scale(1.15);
}

.dresscode-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.dresscode-note-adults {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(155, 114, 170, 0.22);
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
}

/* ═══════════════════════════════════════════
   GIFTS
═══════════════════════════════════════════ */

.section-gifts {
  padding: var(--section-padding);
  background: var(--lilac-soft);
  position: relative;
  z-index: 1;
}

.gifts-text {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.gifts-options {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gift-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(232, 160, 191, 0.2);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
  min-width: 140px;
}

.gift-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(148, 132, 168, 0.08);
  color: var(--purple);
}

.gift-option svg {
  color: var(--purple);
}

.gift-option span {
  font-size: 0.85rem;
  font-weight: 400;
}

.gifts-sobres-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin: 1rem auto 0;
  max-width: 24rem;
}

.gift-account-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  background: var(--white);
  border-radius: var(--radius);
  margin-top: 0;
  padding: 0 1.5rem;
}

.gift-account-details.open {
  max-height: 200px;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(232, 160, 191, 0.2);
}

.gift-account-details p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   RSVP
═══════════════════════════════════════════ */

.section-rsvp {
  padding: var(--section-padding);
  padding-bottom: 0;
  background:
    linear-gradient(180deg, var(--pink-soft) 0%, var(--lilac) 100%);
  position: relative;
  z-index: 1;
}

.rsvp-text {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn-rsvp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  border: none;
  border-radius: 100px;
  padding: 1rem 2.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(196, 168, 216, 0.25);
}

.btn-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(196, 168, 216, 0.3);
  color: var(--white);
}

.btn-rsvp svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--lilac);
  color: var(--text);
  position: relative;
  z-index: 1;
}

.footer-lantern {
  margin-bottom: 1rem;
  animation: floatSlow 4s ease-in-out infinite;
}

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

.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--purple-deep);
  margin-bottom: 0.5rem;
}

.footer-name {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  :root {
    --section-padding: 4.5rem 0;
  }

  .countdown-grid {
    gap: 1rem;
  }

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

  .portrait-frame {
    width: 200px;
    height: 260px;
  }

  .event-card {
    padding: 2rem 1.5rem;
  }

  .gifts-options {
    gap: 1rem;
  }

  .gift-option {
    padding: 1.25rem 1.5rem;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .cover-name {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .cover-content {
    padding: 1.5rem;
  }

  .slideshow {
    border-radius: 12px;
  }

  .slide-btn {
    width: 36px;
    height: 36px;
  }

  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }
}

/* ── Prefers reduced motion ───────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .lantern {
    display: none;
  }
}
