@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600&family=Parisienne&display=swap');

/* ═══════════ VARIABLES ═══════════ */
:root {
  --rosa: #2A6B8B;
  --rosa-light: #6BACC7;
  --rosa-dark: #1A4F6B;
  --rosa-bg: #dff1fa;
  --rosa-soft: #c2e9ff;
  --oro: #C5A059;
  --crema: #f0f9ff;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", sans-serif;
  --font-cursive: "Parisienne", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--rosa-soft);
  font-family: var(--font-sans);
  overflow-x: hidden;
  color: #333;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
}

/* ═══════════ UTILITY ═══════════ */
.watercolor-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107, 172, 199, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(162, 213, 237, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(194, 233, 255, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #c2e9ff 0%, #dff1fa 50%, #c2e9ff 100%);
}

/* ═══════════ HEADINGS ═══════════ */
.heading-premium {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rosa);
}

/* ═══════════ DIVIDER ═══════════ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  width: 120px;
  background: linear-gradient(to right, transparent, var(--rosa-light), transparent);
}

.divider-icon {
  color: var(--rosa-light);
  font-size: 14px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

/* ═══════════ BUTTONS ═══════════ */
.btn-rosa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--rosa);
  color: #fff;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-rosa:hover {
  background: var(--rosa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(42, 107, 139, 0.3);
}

.btn-outline-rosa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background: transparent;
  color: var(--rosa);
  border: 1.5px solid var(--rosa);
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-rosa:hover {
  background: var(--rosa);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered child reveals */
.reveal.active .stagger-1 { animation: fadeInUp 0.8s 0.1s both; }
.reveal.active .stagger-2 { animation: fadeInUp 0.8s 0.25s both; }
.reveal.active .stagger-3 { animation: fadeInUp 0.8s 0.4s both; }
.reveal.active .stagger-4 { animation: fadeInUp 0.8s 0.55s both; }
.reveal.active .stagger-5 { animation: fadeInUp 0.8s 0.7s both; }
.reveal.active .stagger-6 { animation: fadeInUp 0.8s 0.85s both; }

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes gentleSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* ═══════════ FLOATING PETALS ═══════════ */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(107, 172, 199, 0.6), rgba(162, 213, 237, 0.3));
  border-radius: 50% 0 50% 0;
  animation: petalFall linear infinite;
  opacity: 0;
}

@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.5);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.2);
  }
}

/* ═══════════ ENVELOPE / COVER SCREEN ═══════════ */
.cover-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
}

.cover-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.1);
}

.cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}

.cover-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  animation: coverFadeIn 1.5s ease-out;
}

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

.cover-subtitle {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 500;
}

.cover-title {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 4.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.cover-date {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.cover-date .big {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 300;
}

.cover-date .sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.5);
}

/* Envelope button */
.envelope-btn {
  margin-top: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  perspective: 800px;
}

.envelope {
  width: 192px;
  height: 128px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.envelope-btn:hover .envelope {
  transform: scale(1.05);
}

/* Envelope flap that opens */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-left: 96px solid transparent;
  border-right: 96px solid transparent;
  border-top: 50px solid #f3f4f6;
  z-index: 10;
  transform-origin: top center;
  transition: transform 0.6s ease;
}

.envelope-btn:hover .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-light), var(--rosa));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  position: relative;
  top: 4px;
  transition: transform 0.4s ease 0.2s, box-shadow 0.4s ease;
  animation: sealPulse 2s ease-in-out infinite;
}

@keyframes sealPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 172, 199, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(107, 172, 199, 0); }
}

.envelope-btn:hover .envelope-seal {
  transform: scale(1.1) rotate(10deg);
}

.envelope-seal span {
  font-family: var(--font-cursive);
  color: #fff;
  font-size: 1.5rem;
}

.envelope-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 16px;
  font-family: var(--font-sans);
  animation: pulse-soft 2s ease-in-out infinite;
}

/* ═══════════ SECTION: HERO ═══════════ */
.section-fullscreen {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.section-fullscreen .section-bg {
  object-position: center 40%;
  transform: scale(1.3);
  will-change: transform;
}

.section-fullscreen .section-bg.zoom-intro {
  animation: heroZoomIntro 8s ease-out forwards;
}

@keyframes heroZoomIntro {
  0%   { transform: scale(1.3); }
  100% { transform: scale(1.02); }
}

.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  animation: heroReveal 1.5s ease-out 0.3s both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-title {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 3.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Music play button */
.music-btn {
  margin-top: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: musicPulse 2.5s ease-in-out infinite;
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: scale(1.1);
}

.music-btn.playing {
  animation: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.music-icon {
  width: 22px;
  height: 22px;
}

.play-icon {
  margin-left: 3px;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1.5s ease-out 1s both;
}

.scroll-indicator p {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  animation: bounce-scroll 1.5s ease-in-out infinite;
}

/* ═══════════ SECTION: MENSAJE ═══════════ */
.section-mensaje {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mensaje-text {
  max-width: 560px;
  font-family: var(--font-serif);
  color: #4a4a4a;
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
}

.parents-block {
  max-width: 520px;
  text-align: center;
}

.parents-label {
  font-family: var(--font-serif);
  color: #555;
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 32px;
}

.parents-name {
  font-size: 1.5rem;
}

.parents-amp {
  font-family: var(--font-serif);
  color: var(--rosa-light);
  font-size: 1.875rem;
  margin: 8px 0;
}

.flower-deco {
  margin-top: 40px;
  color: rgba(107, 172, 199, 0.6);
  font-size: 2.25rem;
}

/* ═══════════ SECTION: PADRINOS ═══════════ */
.section-padrinos {
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.padrinos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  width: 100%;
}

.padrino-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 172, 199, 0.2);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

.padrino-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.padrino-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--rosa);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}

.padrino-name {
  font-size: 1.25rem;
}

.padrino-amp {
  font-family: var(--font-serif);
  color: var(--rosa-light);
  font-size: 1.5rem;
  margin: 4px 0;
}

/* ═══════════ SECTION: SAVE THE DATE ═══════════ */
.section-date {
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.date-save-label {
  font-family: var(--font-sans);
  color: var(--rosa);
  font-size: 1.25rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 300;
}

.date-the {
  font-family: var(--font-cursive);
  color: var(--rosa-light);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 4px;
}

.date-deco {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
}

.date-line-l {
  width: 112px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rosa-light));
}

.date-line-r {
  width: 112px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--rosa-light));
}

.date-diamond {
  width: 8px;
  height: 8px;
  background: var(--rosa-light);
  transform: rotate(45deg);
}

.date-diamond-outline {
  width: 8px;
  height: 8px;
  border: 1px solid var(--rosa-light);
  transform: rotate(45deg);
}

.date-display {
  display: flex;
  align-items: center;
  gap: 24px;
}

.date-day-name,
.date-month {
  font-size: 1.25rem;
}

.date-number {
  font-family: var(--font-serif);
  color: var(--rosa);
  font-size: 3.75rem;
  font-weight: 300;
}

.date-bottom-deco {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.date-bottom-line {
  width: 80px;
  height: 1px;
  background: rgba(107, 172, 199, 0.5);
}

.date-bottom-diamond {
  width: 6px;
  height: 6px;
  background: var(--rosa-light);
  transform: rotate(45deg);
}

/* ═══════════ SECTION: VENUES ═══════════ */
.section-venues {
  padding: 80px 24px;
}

.venues-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.venue-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 172, 199, 0.25);
  border-radius: 20px;
  padding: 40px 32px 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.venue-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.venue-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-light), var(--rosa));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(42, 107, 139, 0.3);
}

.venue-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.venue-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rosa-light), transparent);
  margin: 12px 0 16px;
}

.venue-time-label,
.venue-place-label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rosa);
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 8px;
}

.venue-time {
  font-family: var(--font-serif);
  color: #333;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.venue-place {
  font-family: var(--font-serif);
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.venue-address {
  font-family: var(--font-sans);
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 300px;
}

/* ═══════════ SECTION: DRESS CODE ═══════════ */
.section-dresscode {
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dresscode-photo {
  width: 240px;
  max-width: 70%;
  margin: 0 auto 28px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(42, 107, 139, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 3px solid rgba(194, 233, 255, 0.6);
}

.dresscode-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dresscode-label {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.dresscode-reserved {
  background: rgba(42, 107, 139, 0.1);
  border: 1px solid rgba(107, 172, 199, 0.3);
  border-radius: 9999px;
  padding: 12px 32px;
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 172, 199, 0); }
  50% { box-shadow: 0 0 20px 5px rgba(107, 172, 199, 0.15); }
}

.dresscode-reserved p {
  font-family: var(--font-sans);
  color: var(--rosa);
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
}


/* ═══════════ SECTION: ITINERARY ═══════════ */
.section-itinerary {
  position: relative;
  padding: 96px 24px;
  overflow: hidden;
}

.section-itinerary .section-bg {
  z-index: 0;
  animation: slowZoom 30s ease-in-out infinite alternate;
}

.section-itinerary .section-overlay {
  background: rgba(0, 0, 0, 0.40);
}

.itinerary-inner {
  position: relative;
  z-index: 10;
}

.itinerary-title {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  text-align: center;
  margin-bottom: 64px;
  font-weight: 300;
  text-transform: uppercase;
}

.itinerary-list {
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.itinerary-item {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.itinerary-item.reverse {
  flex-direction: row-reverse;
  transform: translateX(30px);
}

.itinerary-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.itinerary-text {
  flex: 1;
}

.itinerary-item .itinerary-text {
  text-align: right;
}

.itinerary-item.reverse .itinerary-text {
  text-align: left;
}

.itinerary-event {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.itinerary-time {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.125rem;
}

.itinerary-spacer {
  flex: 1;
}

.timeline-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E8CE9, var(--rosa-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(107, 172, 199, 0.4);
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.itinerary-item.visible .timeline-dot {
  animation: bubblePop 0.6s ease-out;
}

@keyframes bubblePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Floating bubbles in itinerary */
.itinerary-bubbles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(30, 140, 233, 0.5), rgba(107, 172, 199, 0.2));
  animation: bubbleFloat linear infinite;
  opacity: 0;
}

@keyframes bubbleFloat {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.3);
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

/* Reloj animation background */
.reloj-animation {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ═══════════ SECTION: COUNTDOWN ═══════════ */
.section-countdown {
  position: relative;
  padding: 128px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-inner {
  position: relative;
  z-index: 10;
  text-align: center;
}

.countdown-label {
  font-family: var(--font-cursive);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 8px;
}

.countdown-grid {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 24px 12px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.countdown-box {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.countdown-value {
  width: 100%;
  aspect-ratio: 1;
  max-width: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.countdown-value:hover {
  transform: scale(1.08);
}

.countdown-value span {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
}

.countdown-sep {
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
  animation: blink 1s step-end infinite;
}

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

.countdown-unit {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-weight: 500;
}

.countdown-after {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ═══════════ SECTION: GIFTS ═══════════ */
.section-gifts {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gifts-description {
  font-family: var(--font-serif);
  color: #555;
  font-size: 1.125rem;
  font-style: italic;
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.gift-option {
  margin-bottom: 40px;
}

.gift-option h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.gift-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid rgba(107, 172, 199, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.gift-icon:hover {
  border-color: var(--rosa);
  transform: scale(1.1);
}

.gift-text {
  font-family: var(--font-serif);
  color: #555;
  font-size: 1rem;
  font-style: italic;
  max-width: 450px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ═══════════ SECTION: GALLERY CAROUSEL ═══════════ */
.section-gallery {
  padding: 80px 0;
  overflow: hidden;
}

.section-gallery .heading-premium {
  padding: 0 16px;
}

.carousel-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.carousel-track {
  display: flex;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.carousel-slide.active-slide {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Carousel buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--rosa);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0 16px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(107, 172, 199, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--rosa);
  width: 22px;
  border-radius: 4px;
}

/* Counter */
.carousel-counter {
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #999;
  letter-spacing: 0.15em;
}

.carousel-counter .current-num {
  color: var(--rosa);
  font-weight: 600;
}

/* ── Tablet+ carousel ── */
@media (min-width: 768px) {
  .carousel-wrapper {
    max-width: 420px;
  }

  .carousel-prev { left: -20px; }
  .carousel-next { right: -20px; }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* ── Desktop carousel ── */
@media (min-width: 1024px) {
  .carousel-wrapper {
    max-width: 480px;
  }

  .carousel-track-container {
    border-radius: 24px;
  }

  .carousel-prev { left: -28px; }
  .carousel-next { right: -28px; }
}

@media (min-width: 1440px) {
  .carousel-wrapper {
    max-width: 520px;
  }
}

/* ═══════════ SECTION: RSVP ═══════════ */
.section-rsvp {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rsvp-card {
  max-width: 520px;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 172, 199, 0.2);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.rsvp-subtitle {
  font-family: var(--font-sans);
  color: #888;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 500;
}

.rsvp-sign {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-line {
  width: 64px;
  height: 1px;
  background: rgba(107, 172, 199, 0.5);
  margin-bottom: 16px;
}

.rsvp-name {
  font-family: var(--font-cursive);
  color: var(--rosa-light);
  font-size: 1.5rem;
  font-style: italic;
}

/* WhatsApp icon */
.wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ═══════════ SECTION: FINAL ═══════════ */
.section-final {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-final .section-bg {
  object-position: center 30%;
  animation: slowZoom 25s ease-in-out infinite alternate;
}

.final-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 520px;
}

.final-thanks-pre {
  font-family: var(--font-cursive);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 16px;
}

.final-thanks {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
}

.final-line {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto 16px;
}

.final-with {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.final-name {
  font-family: var(--font-cursive);
  color: #fff;
  font-size: 2.5rem;
  margin-top: 8px;
}

/* Heart SVG animation */
.heart-container {
  margin: 24px auto;
  width: 80px;
  height: 80px;
}

.heart-svg {
  width: 100%;
  height: 100%;
}

.heart-path {
  fill: none;
  stroke: #C5A059;
  stroke-width: 2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.heart-container.animate .heart-path {
  animation: drawHeart 2s ease forwards;
}

@keyframes drawHeart {
  to { stroke-dashoffset: 0; }
}

/* ═══════════ SCROLLBAR ═══════════ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--rosa-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--rosa-light);
  border-radius: 3px;
}

/* ═══════════ RESPONSIVE: TABLET (768px+) ═══════════ */
@media (min-width: 768px) {
  .cover-title {
    font-size: 7rem;
  }

  .hero-title {
    font-size: 6rem;
  }

  .padrinos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .venues-grid {
    grid-template-columns: 1fr 1fr;
  }

  .date-display {
    gap: 40px;
  }

  .date-day-name,
  .date-month {
    font-size: 1.5rem;
  }

  .date-number {
    font-size: 4.5rem;
  }

  .dresscode-photo {
    width: 280px;
  }

  .countdown-grid {
    gap: 16px;
    max-width: 500px;
  }

  .countdown-value {
    max-width: 80px;
  }

  .countdown-value span {
    font-size: 1.875rem;
  }

  .countdown-sep {
    font-size: 2rem;
  }

  .countdown-value span {
    font-size: 2.25rem;
  }

  .carousel-wrapper {
    max-width: 420px;
  }

  .final-thanks {
    font-size: 2.5rem;
  }

  .padrino-name {
    font-size: 1.5rem;
  }

  .mensaje-text {
    font-size: 1.5rem;
  }

  .parents-label {
    font-size: 1.25rem;
  }

  .parents-name {
    font-size: 1.875rem;
  }

  .gifts-description {
    font-size: 1.25rem;
  }

  .venues-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════ RESPONSIVE: DESKTOP (1024px+) ═══════════ */
@media (min-width: 1024px) {

  /* ── Global: center everything in a "card" feel ── */
  main.watercolor-bg {
    max-width: 100%;
  }

  /* Sections get generous padding and max-width centering */
  .section-mensaje,
  .section-padrinos,
  .section-date,
  .section-dresscode,
  .section-gifts,
  .section-rsvp {
    padding-left: 10%;
    padding-right: 10%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Cover */
  .cover-title {
    font-size: 10rem;
    letter-spacing: 0.08em;
  }

  .cover-subtitle {
    font-size: 13px;
    letter-spacing: 0.6em;
  }

  .cover-date {
    font-size: 16px;
    gap: 20px;
  }

  .cover-date .big {
    font-size: 2.5rem;
  }

  .envelope {
    width: 220px;
    height: 148px;
  }

  .envelope-flap {
    border-left-width: 110px;
    border-right-width: 110px;
    border-top-width: 58px;
  }

  .envelope-seal {
    width: 64px;
    height: 64px;
  }

  .envelope-seal span {
    font-size: 1.75rem;
  }

  /* Hero */
  .hero-title {
    font-size: 10rem;
    letter-spacing: 0.12em;
  }

  .hero-sub {
    font-size: 15px;
    letter-spacing: 0.5em;
  }

  /* Mensaje */
  .section-mensaje {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .mensaje-text {
    font-size: 1.625rem;
    max-width: 640px;
    line-height: 2;
  }

  .parents-label {
    font-size: 1.375rem;
  }

  .parents-name {
    font-size: 2rem;
  }

  .parents-amp {
    font-size: 2.25rem;
  }

  /* Padrinos */
  .section-padrinos {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .padrinos-grid {
    gap: 40px;
  }

  .padrino-card {
    padding: 48px 56px;
    border-radius: 20px;
  }

  .padrino-label {
    font-size: 11px;
    letter-spacing: 0.35em;
  }

  .padrino-name {
    font-size: 1.625rem;
  }

  /* Save the Date */
  .section-date {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .date-save-label {
    font-size: 1.5rem;
    letter-spacing: 0.5em;
  }

  .date-the {
    font-size: 1.75rem;
  }

  .date-display {
    gap: 48px;
  }

  .date-day-name,
  .date-month {
    font-size: 1.75rem;
  }

  .date-number {
    font-size: 5.5rem;
  }

  .date-line-l,
  .date-line-r {
    width: 160px;
  }

  /* Countdown */
  .section-countdown {
    padding: 160px 24px;
  }

  .countdown-label {
    font-size: 2rem;
  }

  .countdown-grid {
    gap: 24px;
    max-width: 600px;
  }

  .countdown-value {
    max-width: 100px;
    border-radius: 20px;
  }

  .countdown-value span {
    font-size: 2.5rem;
  }

  .countdown-sep {
    font-size: 2.5rem;
  }

  .countdown-unit {
    font-size: 10px;
    letter-spacing: 0.25em;
  }

  .countdown-sep {
    font-size: 2.5rem;
  }

  .countdown-after {
    font-size: 11px;
    letter-spacing: 0.5em;
    margin-top: 24px;
  }

  /* Venues */
  .section-venues {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .venues-grid {
    gap: 56px;
  }

  .venue-info-card {
    padding: 48px 40px;
    border-radius: 24px;
  }

  .venue-icon-circle {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .venue-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .venue-time {
    font-size: 1.375rem;
  }

  .venue-address {
    font-size: 15px;
    max-width: 360px;
  }

  /* Dress Code */
  .section-dresscode {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .dresscode-photo {
    width: 300px;
    border-radius: 24px;
  }

  .dresscode-label {
    font-size: 1.375rem;
    margin-bottom: 28px;
  }

  .dresscode-reserved {
    padding: 14px 40px;
  }

  .dresscode-reserved p {
    font-size: 13px;
    letter-spacing: 0.2em;
  }

  /* Itinerary */
  .section-itinerary {
    padding: 120px 24px;
  }

  .itinerary-title {
    font-size: 1.75rem;
    letter-spacing: 0.5em;
    margin-bottom: 80px;
  }

  .itinerary-list {
    max-width: 550px;
    gap: 40px;
  }

  .itinerary-event {
    font-size: 13px;
    letter-spacing: 0.15em;
  }

  .itinerary-time {
    font-size: 1.25rem;
  }

  .timeline-dot {
    width: 70px;
    height: 70px;
    font-size: 26px;
  }

  /* Gifts */
  .section-gifts {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .gifts-description {
    font-size: 1.375rem;
    max-width: 580px;
  }

  .gift-option h3 {
    font-size: 1.75rem;
  }

  .gift-icon {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
  }

  .gift-text {
    font-size: 1.125rem;
    max-width: 500px;
  }

  /* Gallery */
  .section-gallery {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* RSVP */
  .section-rsvp {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .rsvp-card {
    max-width: 580px;
    padding: 56px 64px;
    border-radius: 28px;
  }

  .rsvp-subtitle {
    font-size: 13px;
  }

  .btn-rosa {
    padding: 14px 40px;
    font-size: 12px;
  }

  .rsvp-name {
    font-size: 1.75rem;
  }

  /* Final */
  .final-content {
    max-width: 620px;
  }

  .final-thanks-pre {
    font-size: 1.5rem;
  }

  .final-thanks {
    font-size: 3.25rem;
    line-height: 1.5;
  }

  .final-name {
    font-size: 3.25rem;
  }

  .heart-container {
    width: 100px;
    height: 100px;
  }

  .final-line {
    width: 100px;
  }

  /* Dividers scale up */
  .divider::before,
  .divider::after {
    width: 180px;
  }

  .divider-icon {
    font-size: 16px;
  }
}

/* ═══════════ RESPONSIVE: LARGE DESKTOP (1440px+) ═══════════ */
@media (min-width: 1440px) {
  .cover-title {
    font-size: 12rem;
  }

  .hero-title {
    font-size: 12rem;
  }

  .section-mensaje,
  .section-padrinos,
  .section-date,
  .section-dresscode,
  .section-gifts,
  .section-rsvp {
    max-width: 1000px;
  }

  .section-venues,
  .section-gallery {
    max-width: 1200px;
  }

  .mensaje-text {
    font-size: 1.75rem;
  }

  .countdown-value {
    max-width: 120px;
  }

  .countdown-value span {
    font-size: 3rem;
  }

  .carousel-wrapper {
    max-width: 520px;
  }
}


/* ═══════════════════════════════════════════════════════════
   NEW ANIMATIONS: envelope 3D, incoming call, rain, hand-written
   name, flip countdown, sparkles, card tilt, scroll progress
   ═══════════════════════════════════════════════════════════ */

/* ═══════════ ENVELOPE 3D OPENING ═══════════ */
.envelope {
  perspective: 600px;
}

.envelope-letter {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  bottom: 10px;
  z-index: 2;
  background: var(--crema);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  gap: 2px;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}

.envelope-letter span {
  font-family: var(--font-serif);
  color: var(--rosa);
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  line-height: 1;
}

.envelope-letter small {
  font-family: var(--font-cursive);
  color: var(--oro);
  font-size: 1rem;
}

/* Front pocket hides the letter until the flap opens */
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 4px;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), #e5e7eb 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1px), #e5e7eb 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat,
    #fff;
}

.envelope-btn.opening {
  pointer-events: none;
}

.envelope-btn.opening .envelope {
  transform: translateY(24px) scale(1.05);
}

.envelope-btn.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
  transition: transform 0.6s ease, z-index 0s linear 0.3s;
}

.envelope-btn.opening .envelope-letter {
  transform: translateY(-68%);
}

.envelope-btn.opening .envelope-seal {
  transform: scale(0) rotate(-30deg);
  opacity: 0;
  animation: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.envelope-btn.opening .envelope-label {
  opacity: 0;
  animation: none;
  transition: opacity 0.3s ease;
}

/* ═══════════ INCOMING CALL ═══════════ */
.call-screen {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: max(32px, env(safe-area-inset-top)) 24px max(36px, env(safe-area-inset-bottom));
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.call-screen[hidden] {
  display: none;
}

.call-screen.is-visible {
  opacity: 1;
}

.call-bg {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  max-width: none;
  object-fit: cover;
  filter: blur(22px) brightness(0.6) saturate(1.1);
  z-index: 0;
}

.call-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26, 79, 107, 0.55), rgba(26, 79, 107, 0.3) 45%, rgba(10, 30, 45, 0.8));
}

.call-top,
.call-actions {
  position: relative;
  z-index: 2;
}

.call-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.call-status {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  min-height: 1.4em;
  animation: pulse-soft 2s ease-in-out infinite;
}

.call-screen.is-active .call-status {
  animation: none;
}

.call-avatar {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 28px 0 14px;
}

.call-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--oro);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--rosa-light);
  opacity: 0;
}

.call-screen.is-ringing .call-ring {
  animation: callRing 2.4s ease-out infinite;
}

.call-screen.is-ringing .call-ring:nth-child(2) { animation-delay: 0.8s; }
.call-screen.is-ringing .call-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes callRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}

.call-name {
  font-family: var(--font-cursive);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.call-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.call-timer {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--oro);
  font-variant-numeric: tabular-nums;
  display: none;
}

.call-wave {
  display: none;
  gap: 4px;
  align-items: center;
  height: 28px;
}

.call-screen.is-active .call-timer { display: block; }
.call-screen.is-active .call-wave  { display: flex; }

.call-wave span {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(var(--oro), var(--rosa-light));
  transform: scaleY(0.2);
  animation: callWave 1s ease-in-out infinite;
}

.call-wave span:nth-child(2) { animation-delay: 0.15s; }
.call-wave span:nth-child(3) { animation-delay: 0.3s; }
.call-wave span:nth-child(4) { animation-delay: 0.45s; }
.call-wave span:nth-child(5) { animation-delay: 0.3s; }
.call-wave span:nth-child(6) { animation-delay: 0.15s; }

@keyframes callWave {
  0%, 100% { transform: scaleY(0.2); }
  50%      { transform: scaleY(1); }
}

.call-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  min-height: 4.5em;
  max-width: 340px;
  margin-top: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.call-subtitle.typing::after {
  content: '|';
  margin-left: 2px;
  opacity: 0.7;
  animation: blink 1s step-end infinite;
}

.call-actions {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 360px;
}

.call-actions[hidden] {
  display: none;
}

.call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.call-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.call-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.call-btn:hover { filter: brightness(1.1); }
.call-btn:active { transform: scale(0.92); }

.call-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.call-btn.decline { background: #e5484d; }
.call-btn.decline svg { transform: rotate(135deg); }

.call-btn.accept {
  background: #30a46c;
  animation: acceptBounce 1.6s ease-in-out infinite;
}

@keyframes acceptBounce {
  0%, 60%, 100% { transform: translateY(0) rotate(0); }
  10% { transform: translateY(-8px) rotate(-14deg); }
  20% { transform: translateY(-8px) rotate(14deg); }
  30% { transform: translateY(-4px) rotate(-10deg); }
  40% { transform: translateY(-2px) rotate(8deg); }
  50% { transform: translateY(0) rotate(0); }
}

.call-screen.shake .call-top {
  animation: shakeX 0.5s ease;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* Hang up: the screen closes as a circle into the hang-up button */
.call-screen.is-ending {
  animation: callClose 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes callClose {
  from { clip-path: circle(150% at 50% 85%); }
  to   { clip-path: circle(0% at 50% 85%); }
}

@media (min-width: 768px) {
  .call-avatar { width: 150px; height: 150px; }
  .call-name { font-size: 4.5rem; }
  .call-subtitle { font-size: 1.6rem; max-width: 420px; }
  .call-btn { width: 80px; height: 80px; }
}

/* ═══════════ RAIN DROPS + RIPPLES ═══════════ */
.raindrop {
  position: absolute;
  top: -30px;
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(107, 172, 199, 0), rgba(107, 172, 199, 0.85) 70%, rgba(255, 255, 255, 0.95));
  opacity: 0;
  animation-name: dropFall;
  animation-timing-function: cubic-bezier(0.5, 0, 1, 1);
  animation-fill-mode: forwards;
}

@keyframes dropFall {
  0%   { transform: translateY(0);                          opacity: 0; }
  15%  { opacity: 0.9; }
  100% { transform: translateY(calc(var(--land) + 20px));   opacity: 0.9; }
}

.ripple {
  position: absolute;
  width: 26px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(107, 172, 199, 0.85);
  transform: translate(-50%, -50%) scale(0.2);
  animation: rippleOut 0.9s ease-out forwards;
}

@keyframes rippleOut {
  0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* ═══════════ HAND-WRITTEN NAME ═══════════ */
.hero-title-svg {
  display: block;
  height: 1.9em;
  width: auto;
  aspect-ratio: 600 / 240;
  max-width: 92vw;
  overflow: visible;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
}

.hero-title-text {
  font-family: var(--font-cursive);
  font-size: 190px;
  letter-spacing: 0;
  fill: rgba(255, 255, 255, 0);
  stroke: #fff;
  stroke-width: 1.5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.hero-title.draw .hero-title-text {
  animation:
    drawName 3s ease-in-out forwards,
    fillName 1.2s ease 2.4s forwards;
}

@keyframes drawName {
  to { stroke-dashoffset: 0; }
}

@keyframes fillName {
  to { fill: #fff; }
}

/* ═══════════ CRISP VECTOR ROYAL CLOCK + FLIP COUNTDOWN ═══════════ */
.section-countdown {
  background:
    radial-gradient(circle at 50% 50%, rgba(107, 172, 199, 0.28) 0%, transparent 62%),
    linear-gradient(180deg, #163d52 0%, #0f2c3c 50%, #163d52 100%);
  box-shadow: inset 0 1px 0 rgba(197, 160, 89, 0.35), inset 0 -1px 0 rgba(197, 160, 89, 0.35);
}

.reloj-svg-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.reloj-svg {
  width: min(88vw, 440px);
  height: min(88vw, 440px);
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
  opacity: 0.72;
}

@media (min-width: 768px) {
  .reloj-svg {
    width: 490px;
    height: 490px;
  }
}

.reloj-hand {
  transform-origin: 250px 250px;
}

.reloj-hand-minute {
  animation: clockSpin 18s linear infinite;
}

.reloj-hand-hour {
  animation: clockSpin 216s linear infinite;
}

@keyframes clockSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.countdown-value {
  position: relative;
  perspective: 300px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 50%);
  border: 1px solid rgba(197, 160, 89, 0.45);
}

.countdown-value::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.countdown-value span {
  display: inline-block;
  backface-visibility: hidden;
}

/* ═══════════ SPARKLES ═══════════ */
.sparkle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(197, 160, 89, 0.6);
}

.sparkle.star {
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ═══════════ 3D CARD TILT ═══════════ */
.padrinos-grid,
.venues-grid {
  perspective: 900px;
}

.padrino-card {
  transition: all 0.5s ease, rotate 0.25s ease-out;
}

.venue-info-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, rotate 0.25s ease-out;
}

/* ═══════════ SCROLL PROGRESS (progressive enhancement) ═══════════ */
.scroll-progress {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes growProgress {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }

    .scroll-progress {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      z-index: 60;
      pointer-events: none;
      background: linear-gradient(90deg, var(--rosa-light), var(--oro), #e8cf8f);
      transform-origin: 0 50%;
      animation: growProgress auto linear;
      animation-timeline: scroll(root);
    }
  }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  .envelope-letter,
  .envelope-btn.opening .envelope-flap {
    transition: none;
  }

  .call-screen.is-ringing .call-ring,
  .call-btn.accept,
  .call-status,
  .call-wave span,
  .call-screen.shake .call-top {
    animation: none;
  }

  .call-screen.is-ending {
    animation: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .hero-title-text {
    stroke-dashoffset: 0;
    fill: #fff;
  }

  .hero-title.draw .hero-title-text,
  .reloj-hand-minute,
  .reloj-hand-hour {
    animation: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   DESIGN AUDIT IMPROVEMENTS (recomendaciones-diseno.md 1–10)
   ═══════════════════════════════════════════════════════════ */

:root {
  --section-gap: clamp(64px, 9vw, 110px);
}

/* 10.1 & 10.2 Unified section rhythm + alternating pearl sections */
.section-mensaje,
.section-padrinos,
.section-date,
.section-venues,
.section-dresscode,
.section-gifts,
.section-gallery {
  padding-block: var(--section-gap);
}

.section-pearl {
  background-color: #f4fbff;
  box-shadow: 0 0 0 100vmax #f4fbff;
  clip-path: inset(0 -100vmax);
}

/* 10.3 & 10.4 Golden filigree ornaments & dividers */
.section-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.section-ornament svg {
  width: 112px;
  height: 22px;
  display: block;
}

.divider::before,
.divider::after {
  background: linear-gradient(to right, transparent, var(--oro), transparent);
}

.divider-icon-svg {
  width: 16px;
  height: 16px;
  color: var(--oro);
  flex-shrink: 0;
  animation: sparkle 2.4s ease-in-out infinite;
}

.parents-amp,
.padrino-amp {
  color: var(--oro);
}

/* 1.1, 1.2, 1.3, 1.4 Hero refinements */
.section-fullscreen {
  justify-content: flex-end;
  padding-bottom: 15vh;
}

.section-fullscreen .section-bg {
  object-position: 42% 28%;
}

.hero-title-svg {
  height: 1.55em;
}

@media (min-width: 1024px) {
  .section-fullscreen {
    padding-bottom: 14vh;
  }
  .section-fullscreen .section-bg {
    object-position: center 32%;
  }
  .hero-title {
    font-size: 6rem;
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 6.75rem;
  }
}

.music-btn {
  border-color: var(--oro);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.music-btn.playing {
  border-color: var(--oro);
  background: rgba(26, 79, 107, 0.45);
}

.music-eq {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 18px;
}

.music-eq i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--oro);
  transform-origin: bottom center;
  animation: eqBounce 0.9s ease-in-out infinite;
}

.music-eq i:nth-child(2) {
  animation-delay: 0.2s;
  background: #fff;
}

.music-eq i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* 2.1, 2.2, 2.3 Mensaje + Parents arched photo & SVG flower */
.parents-photo {
  width: 188px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
  padding: 5px;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, var(--oro), rgba(197, 160, 89, 0.28));
  box-shadow: 0 14px 34px rgba(26, 79, 107, 0.16);
}

.parents-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 20px 20px;
}

.parents-name,
.padrino-name {
  text-wrap: balance;
}

.flower-svg {
  width: 40px;
  height: 40px;
  color: var(--rosa-light);
  display: block;
  margin: 0 auto;
}

/* 3.1, 3.2, 3.3 Padrinos cards */
.padrino-card {
  position: relative;
  border-top: 2.5px solid var(--oro);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-corner {
  position: absolute;
  top: 10px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid rgba(197, 160, 89, 0.65);
  pointer-events: none;
}

.card-corner.tl {
  left: 10px;
  border-left: 1.5px solid rgba(197, 160, 89, 0.65);
}

.card-corner.tr {
  right: 10px;
  border-right: 1.5px solid rgba(197, 160, 89, 0.65);
}

@media (min-width: 768px) {
  .padrinos-grid {
    max-width: 880px;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 28px;
  }

  .padrino-name {
    letter-spacing: 0.08em;
  }
}

/* 4.1, 4.2, 4.3 Date alignment + Countdown wave dividers & spacious clock */
.date-display {
  align-items: center;
}

.date-number {
  margin: 0;
  line-height: 1;
}

.section-countdown {
  padding: 148px 24px;
}

.countdown-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 36px;
  z-index: 3;
  pointer-events: none;
  display: block;
}

.countdown-wave-top {
  top: -1px;
}

.countdown-wave-bottom {
  bottom: -1px;
}

.reloj-svg {
  width: min(134vw, 660px);
  height: min(134vw, 660px);
  max-width: none;
  opacity: 0.25;
}

@media (min-width: 768px) {
  .reloj-svg {
    width: 680px;
    height: 680px;
    opacity: 0.28;
  }
}

/* 5.1, 5.2, 5.3 Venues SVG icons, pin button & desktop connector */
.venue-icon-circle {
  color: #fff;
  border: 2px solid rgba(197, 160, 89, 0.65);
  box-shadow: 0 8px 22px rgba(42, 107, 139, 0.22);
}

.venue-svg-icon {
  width: 30px;
  height: 30px;
}

.btn-pin-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .venues-grid {
    position: relative;
  }

  .venues-grid::before {
    content: '';
    position: absolute;
    top: 76px;
    left: 25%;
    right: 25%;
    border-top: 1.5px dashed rgba(197, 160, 89, 0.6);
    z-index: 0;
    pointer-events: none;
  }

  .venue-info-card {
    position: relative;
    z-index: 1;
    border-top: 2.5px solid var(--oro);
  }
}

/* 6.1, 6.2, 6.3 Dress code arched photo, flanked label & high-contrast pill */
.dresscode-photo {
  border-radius: 999px 999px 20px 20px;
  padding: 6px;
  background: linear-gradient(180deg, var(--oro), rgba(197, 160, 89, 0.3));
  border: none;
  box-shadow: 0 16px 38px rgba(26, 79, 107, 0.15);
}

.dresscode-photo img {
  border-radius: 999px 999px 15px 15px;
}

.dresscode-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.dresscode-label::before,
.dresscode-label::after {
  content: '';
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--oro));
}

.dresscode-label::after {
  background: linear-gradient(90deg, var(--oro), transparent);
}

.dresscode-reserved {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.55);
  box-shadow: 0 8px 24px rgba(26, 79, 107, 0.08);
}

.dresscode-reserved p {
  color: var(--rosa-dark);
  font-weight: 600;
}

.swatch-forbidden {
  display: inline-flex;
  flex-shrink: 0;
}

.swatch-forbidden svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* 7.1, 7.2 Lluvia de sobres SVG + falling mini-envelopes */
.gift-icon {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(197, 160, 89, 0.55);
}

.gift-envelope-svg {
  width: 38px;
  height: 30px;
  position: relative;
  z-index: 2;
}

.mini-env {
  position: absolute;
  top: -14px;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid var(--oro);
  opacity: 0;
  z-index: 1;
}

.section-gifts.active .mini-env {
  animation: miniEnvFall 2.8s ease-in-out infinite;
}

.section-gifts.active .env-1 { left: 18%; animation-delay: 0.2s; }
.section-gifts.active .env-2 { left: 44%; animation-delay: 1.1s; }
.section-gifts.active .env-3 { left: 68%; animation-delay: 1.9s; }

@keyframes miniEnvFall {
  0%   { transform: translateY(0) rotate(-10deg) scale(0.8); opacity: 0; }
  25%  { opacity: 0.75; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(86px) rotate(14deg) scale(0.9); opacity: 0; }
}

/* 8.1, 8.2, 8.3, 8.4 Gallery aspect ratio, progress bar, Ken Burns & desktop mosaic */
.carousel-slide {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3.2s ease-out;
}

.carousel-slide.active-slide img {
  transform: scale(1.06);
}

.carousel-dots {
  display: none;
}

.carousel-progress {
  width: 160px;
  height: 3px;
  background: rgba(42, 107, 139, 0.18);
  border-radius: 999px;
  margin: 20px auto 6px;
  overflow: hidden;
}

.carousel-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--rosa), var(--oro));
  transform-origin: 0 50%;
  transition: transform 0.45s ease;
}

.gallery-mosaic {
  display: none;
}

@media (min-width: 1024px) {
  .section-gallery .carousel-wrapper,
  .section-gallery .carousel-progress,
  .section-gallery .carousel-counter {
    display: none;
  }

  .gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 18px;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
  }

  .mosaic-item {
    position: relative;
    border: none;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #dff1fa;
    box-shadow: 0 10px 26px rgba(26, 79, 107, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .mosaic-item.mosaic-tall {
    grid-row: span 2;
  }

  .mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .mosaic-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 79, 107, 0.22);
  }

  .mosaic-item:hover img {
    transform: scale(1.05);
  }

  .mosaic-item:focus-visible {
    outline: 3px solid var(--oro);
    outline-offset: 3px;
  }
}

/* Native <dialog> Lightbox (8.1) */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(10, 28, 40, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog[open] {
  margin: auto;
  padding: 0;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 18px;
  background: #0f2c3c;
  color: #fff;
  max-width: min(90vw, 860px);
  max-height: 90dvh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 12px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 44, 60, 0.75);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 44, 60, 0.75);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--oro);
}

/* 9.1, 9.2, 9.3 Final section crown position & beating heart */
.section-final .section-bg {
  object-position: center 20%;
}

.heart-container {
  width: 96px;
  height: 96px;
}

.heart-container.animate .heart-svg {
  animation: heartBeat 2.4s ease-in-out 2s infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* 10.5 Back-to-top floating button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--oro);
  background: rgba(26, 79, 107, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 8px 24px rgba(15, 44, 60, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--rosa-dark);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .music-eq i,
  .section-gifts.active .mini-env,
  .heart-container.animate .heart-svg {
    animation: none;
  }
  .carousel-slide img,
  .carousel-slide.active-slide img {
    transition: none;
    transform: none;
  }
}
