/* ==========================================================================
   ESTILO POSITANO & AMALFI LUXURY - BODA KARINA & KARLA
   ========================================================================== */

:root {
  --blue-mediterranean: #234c7a;
  --blue-tile: #2c5282;
  --blue-soft: #6388b4;
  --blue-sky: #d2e3f5;
  --blue-light: #edf4fc;
  --lemon-gold: #c59b27;
  --lemon-yellow: #f5c842;
  --lemon-soft: #fff9e6;
  --olive-green: #597355;
  --olive-light: #eaf0e8;
  --sand-beige: #e9e1d2;
  --cream-bg: #faf7f2;
  --pure-white: #ffffff;
  --charcoal: #2c3338;
  --text-muted: #6b7280;
  --border-gold: #dfc285;
  --shadow-soft: 0 10px 30px rgba(35, 76, 122, 0.08);
  --shadow-medium: 0 15px 35px rgba(35, 76, 122, 0.15);
  --shadow-elevated: 0 20px 45px rgba(0, 0, 0, 0.18);
  --radius-card: 20px;
  --radius-pill: 50px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-roman: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-script: 'Alex Brush', 'Great Vibes', cursive;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: #eae4d9;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 200, 66, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(35, 76, 122, 0.06) 0%, transparent 40%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   APP CONTAINER (MOBILE FIRST DESIGN WITH DESKTOP LUXURY FRAME)
   ========================================================================== */
.invitation-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: var(--cream-bg);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin: 0 auto;
}

@media (min-width: 768px) {
  body {
    padding: 30px 0;
  }
  .invitation-wrapper {
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(35, 76, 122, 0.25);
    border: 1px solid rgba(223, 194, 133, 0.4);
  }
}

/* Side Majolica Tile Borders */
.tile-border-left,
.tile-border-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  background-image: url('assets/decorations/tile_border.png');
  background-repeat: repeat-y;
  background-size: 18px auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 10;
}
.tile-border-left { left: 0; }
.tile-border-right { right: 0; transform: scaleX(-1); }

/* ==========================================================================
   ENVELOPE / ENTRANCE OVERLAY
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 32, 51, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.envelope-box {
  width: 100%;
  max-width: 380px;
  background: #fbf8f2;
  border-radius: 18px;
  padding: 35px 25px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-gold);
  animation: envelopeFloat 3s ease-in-out infinite alternate;
}

@keyframes envelopeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.envelope-monogram {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.envelope-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.envelope-seal-pulsing {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--lemon-gold);
  animation: rotateSeal 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateSeal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.envelope-title {
  font-family: var(--font-roman);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--blue-mediterranean);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.envelope-names {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 12px;
}

.envelope-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-open-envelope {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--lemon-gold), #dbad37);
  color: var(--pure-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 155, 39, 0.4);
  transition: var(--transition-smooth);
}

.btn-open-envelope:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(197, 155, 39, 0.55);
}

.envelope-lemons-corner {
  position: absolute;
  width: 90px;
  top: -20px;
  right: -20px;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.envelope-lemons-bottom {
  position: absolute;
  width: 80px;
  bottom: -20px;
  left: -15px;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* ==========================================================================
   FLOATING MUSIC CONTROLLER
   ========================================================================== */
.music-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pure-white);
  border: 2px solid var(--lemon-gold);
  box-shadow: 0 8px 25px rgba(35, 76, 122, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--blue-mediterranean);
}

.music-toggle-btn:hover {
  transform: scale(1.1);
}

.music-toggle-btn.playing {
  animation: spinRecord 6s linear infinite;
  border-color: var(--blue-mediterranean);
  background: var(--blue-mediterranean);
  color: var(--pure-white);
}

@keyframes spinRecord {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.music-label-tooltip {
  position: absolute;
  right: 62px;
  background: rgba(35, 76, 122, 0.92);
  color: var(--pure-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
}

.music-toggle-btn:hover .music-label-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   HERO / PORTADA SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 45px 25px 35px;
  text-align: center;
  background: linear-gradient(180deg, #faf7f2 0%, #f4eee3 100%);
  overflow: hidden;
}

.hero-lemons-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  pointer-events: none;
  opacity: 0.95;
  z-index: 2;
}

.hero-floral-left {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 2;
}

.hero-logo-monogram {
  width: 130px;
  height: 130px;
  margin: 10px auto 12px;
  position: relative;
  z-index: 3;
}

.hero-logo-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.hero-intro {
  font-family: var(--font-roman);
  font-size: 0.8rem;
  letter-spacing: 3.5px;
  color: var(--blue-mediterranean);
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
  z-index: 3;
}

.hero-subhead {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--lemon-gold);
  line-height: 1;
  margin-bottom: 5px;
  position: relative;
  z-index: 3;
}

.hero-title-names {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--blue-mediterranean);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 15px;
  text-transform: uppercase;
  position: relative;
  z-index: 3;
}

.hero-title-names span {
  font-family: var(--font-script);
  font-size: 2.4rem;
  font-weight: normal;
  color: var(--lemon-gold);
  margin: 0 4px;
  text-transform: lowercase;
  display: inline-block;
  vertical-align: middle;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  max-width: 360px;
  margin: 0 auto 25px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
}

/* Arch Photo Frame (Positano Style) */
.hero-arch-container {
  width: 250px;
  height: 330px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 3;
}

.hero-arch-frame {
  width: 100%;
  height: 100%;
  border-radius: 125px 125px 16px 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(35, 76, 122, 0.22);
  border: 5px solid var(--pure-white);
  outline: 1.5px solid var(--border-gold);
  position: relative;
  background: #dedede;
}

.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-arch-container:hover .hero-arch-frame img {
  transform: scale(1.05);
}

.hero-arch-lemons-badge {
  position: absolute;
  bottom: -22px;
  left: -20px;
  width: 100px;
  z-index: 4;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
}

.hero-arch-tile-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 75px;
  z-index: 4;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
}

/* ==========================================================================
   DATE & TIME POSITANO BLUE CARD
   ========================================================================== */
.date-highlight-card {
  margin: 30px 20px;
  background: linear-gradient(145deg, #7094bf, #567ea9);
  color: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 30px 20px 25px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.date-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-image: url('assets/decorations/tile_border.png');
  background-repeat: repeat-x;
  background-size: auto 6px;
  opacity: 0.6;
}

.date-day-name {
  font-family: var(--font-roman);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
}

.date-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--pure-white);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.date-month-script {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: #fff4ce;
  line-height: 0.9;
  margin-top: -10px;
  margin-bottom: 4px;
}

.date-year {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.date-time-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-roman);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */
.countdown-section {
  padding: 10px 20px 30px;
  text-align: center;
}

.section-label {
  font-family: var(--font-roman);
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--lemon-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--blue-mediterranean);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 15px auto 22px;
  max-width: 380px;
}

.countdown-box {
  background: var(--pure-white);
  border-radius: 14px;
  padding: 14px 6px 10px;
  border: 1px solid rgba(223, 194, 133, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-mediterranean);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blue-mediterranean);
  line-height: 1;
  display: block;
}

.countdown-unit {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}

.calendar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pure-white);
  color: var(--blue-mediterranean);
  border: 1.5px solid var(--blue-soft);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.calendar-action-btn:hover {
  background: var(--blue-mediterranean);
  color: var(--pure-white);
  border-color: var(--blue-mediterranean);
}

/* ==========================================================================
   NUESTRA HISTORIA & PHOTO GALLERY (ALL 19 PHOTOS)
   ========================================================================== */
.story-section {
  padding: 30px 20px;
  background: linear-gradient(180deg, var(--cream-bg) 0%, #f6f0e6 100%);
  position: relative;
}

.story-lemons-garland {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px;
  display: block;
}

/* Gallery Photo Strip / Carousel */
.photos-carousel-container {
  margin: 15px 0 25px;
  position: relative;
}

.photos-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold) transparent;
}

.photos-carousel::-webkit-scrollbar {
  height: 6px;
}

.photos-carousel::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 10px;
}

.carousel-slide {
  flex: 0 0 220px;
  height: 280px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-medium);
  border: 3px solid var(--pure-white);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-slide:hover {
  transform: translateY(-4px);
}

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

.carousel-slide-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(18, 32, 51, 0.75);
  backdrop-filter: blur(4px);
  color: var(--pure-white);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-family: var(--font-serif);
  text-align: center;
}

/* Full Gallery Grid Toggle */
.gallery-expand-toggle {
  text-align: center;
  margin: 10px 0 20px;
}

.btn-toggle-gallery {
  background: var(--pure-white);
  border: 1.5px solid var(--lemon-gold);
  color: var(--charcoal);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-toggle-gallery:hover {
  background: var(--lemon-soft);
  color: var(--lemon-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
  transition: max-height 0.6s ease;
}

.gallery-grid.collapsed {
  display: none;
}

.gallery-thumb-item {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--pure-white);
  cursor: pointer;
  position: relative;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-thumb-item:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   EVENT LOCATIONS SECTION (CEREMONIA & RECEPCION)
   ========================================================================== */
.event-locations-section {
  padding: 30px 20px;
}

.location-card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 28px 22px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(223, 194, 133, 0.45);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.location-card-decor-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-mediterranean), var(--lemon-gold));
}

.location-badge-icon {
  width: 60px;
  height: 60px;
  background: var(--lemon-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1.5px solid var(--border-gold);
}

.location-badge-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.location-type {
  font-family: var(--font-roman);
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--blue-mediterranean);
  text-transform: uppercase;
}

.location-time {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--lemon-gold);
  line-height: 1.1;
  margin: 2px 0 8px;
}

.location-venue-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.location-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-map-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--olive-green);
  color: var(--pure-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(89, 115, 85, 0.35);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 280px;
}

.btn-map-location:hover {
  background: #465a43;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(89, 115, 85, 0.45);
}

/* ==========================================================================
   ITINERARIO MOMENTO A MOMENTO (EXACT 10 STEPS MATCHING USER IMAGE)
   ========================================================================== */
.itinerary-section {
  padding: 35px 20px;
  background: linear-gradient(180deg, #f7f2e7 0%, var(--cream-bg) 100%);
  position: relative;
}

.itinerary-sub-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--lemon-gold);
  display: block;
  margin-top: -8px;
  margin-bottom: 25px;
  text-align: center;
}

.itinerary-timeline-wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding-left: 60px;
}

/* Central Golden Vertical Spine */
.itinerary-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--border-gold) 0%, var(--lemon-gold) 50%, var(--border-gold) 100%);
}

.itinerary-item {
  position: relative;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.itinerary-item:hover {
  transform: translateX(4px);
}

/* Circular Golden Icon on Spine */
.itinerary-icon-circle {
  position: absolute;
  left: -58px;
  top: 10px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pure-white);
  border: 2px solid var(--border-gold);
  box-shadow: 0 4px 12px rgba(35, 76, 122, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  padding: 6px;
}

.itinerary-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* White & Navy Card for Itinerary Content */
.itinerary-card {
  background: var(--pure-white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--blue-mediterranean);
  border-top: 1px solid rgba(223, 194, 133, 0.3);
  border-right: 1px solid rgba(223, 194, 133, 0.3);
  border-bottom: 1px solid rgba(223, 194, 133, 0.3);
}

.itinerary-time-header {
  font-family: var(--font-roman);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lemon-gold);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.itinerary-event-title {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--blue-mediterranean);
  line-height: 1.3;
  margin-bottom: 4px;
}

.itinerary-event-desc {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.45;
}

/* ==========================================================================
   DRESS CODE (CÓDIGO DE VESTIMENTA)
   ========================================================================== */
.dresscode-section {
  padding: 30px 20px;
  text-align: center;
}

.dresscode-card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 30px 22px 25px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(223, 194, 133, 0.45);
  position: relative;
  overflow: hidden;
}

.dresscode-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
}

.dresscode-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dresscode-tag {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--blue-mediterranean);
  line-height: 1;
  margin-bottom: 6px;
}

.dresscode-note-catchy {
  font-size: 0.88rem;
  color: var(--lemon-gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.dresscode-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
  text-align: left;
}

.dresscode-box {
  background: var(--cream-bg);
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(223, 194, 133, 0.3);
}

.dresscode-gender-title {
  font-family: var(--font-roman);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-mediterranean);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dresscode-rules-list {
  font-size: 0.82rem;
  color: #374151;
  list-style: none;
  line-height: 1.5;
}

.dresscode-rules-list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 12px;
}

.dresscode-rules-list li::before {
  content: '•';
  color: var(--lemon-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Color Palette Swatches */
.palette-container {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-gold);
}

.palette-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.palette-swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch-item {
  text-align: center;
}

.swatch-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--pure-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  margin: 0 auto 4px;
}

.swatch-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================================================
   REGALOS & MESA DE REGALOS (LIVERPOOL + MONETARIO)
   ========================================================================== */
.gifts-section {
  padding: 30px 20px;
  text-align: center;
}

.gifts-card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 30px 22px 25px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(223, 194, 133, 0.45);
  margin-bottom: 20px;
}

.gifts-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
}

.gifts-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gifts-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 22px;
  line-height: 1.6;
}

.gifts-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gift-option-card {
  background: var(--cream-bg);
  border-radius: 14px;
  padding: 18px 12px;
  border: 1px solid rgba(223, 194, 133, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.gift-opt-title {
  font-family: var(--font-roman);
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: var(--blue-mediterranean);
  margin-bottom: 6px;
  font-weight: 700;
}

.gift-opt-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.btn-gift-action {
  background: var(--blue-mediterranean);
  color: var(--pure-white);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.btn-gift-action:hover {
  background: var(--lemon-gold);
}

/* ==========================================================================
   BANK DETAILS MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 32, 51, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 30px 24px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-elevated);
  border: 1.5px solid var(--border-gold);
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: #e5e7eb;
}

.bank-info-box {
  background: var(--cream-bg);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  text-align: left;
  border: 1px solid rgba(223, 194, 133, 0.35);
}

.bank-row {
  margin-bottom: 10px;
}
.bank-row:last-child {
  margin-bottom: 0;
}

.bank-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.bank-value {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-mediterranean);
}

.btn-copy-clabe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lemon-gold);
  color: var(--pure-white);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: var(--transition-smooth);
}

.btn-copy-clabe:hover {
  background: #a98018;
}

/* ==========================================================================
   CONFIRMACIÓN DE ASISTENCIA (RSVP POR WHATSAPP)
   ========================================================================== */
.rsvp-section {
  padding: 35px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-bg) 0%, #edf3f9 100%);
  position: relative;
}

.rsvp-card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(223, 194, 133, 0.5);
  position: relative;
}

.rsvp-heart-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 12px;
}

.rsvp-heart-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rsvp-instruction {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.rsvp-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.rsvp-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-mediterranean);
  margin-bottom: 6px;
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: #fdfdfd;
  transition: border-color 0.3s ease;
}

.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus {
  outline: none;
  border-color: var(--blue-mediterranean);
  background: var(--pure-white);
}

.rsvp-textarea {
  resize: vertical;
  min-height: 70px;
}

.btn-submit-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--pure-white);
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.btn-submit-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-direct-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--blue-soft);
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   BANQUETE DE AUTOR & CHEF DANIEL LUNA
   ========================================================================== */
.banquet-section {
  padding: 25px 20px 15px;
  text-align: center;
}

.banquet-card {
  background: var(--pure-white);
  border-radius: var(--radius-card);
  padding: 25px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(223, 194, 133, 0.4);
  position: relative;
}

.banquet-chef-badge {
  font-family: var(--font-roman);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--lemon-gold);
  text-transform: uppercase;
}

.banquet-menu-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--blue-mediterranean);
  margin: 4px 0 10px;
}

.banquet-note {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ==========================================================================
   SOLO ADULTOS (MENSAJE AMABLE)
   ========================================================================== */
.adults-only-section {
  padding: 10px 20px 25px;
  text-align: center;
}

.adults-only-card {
  background: linear-gradient(145deg, var(--pure-white) 0%, #fdfbf7 100%);
  border-radius: var(--radius-card);
  padding: 26px 24px 22px;
  box-shadow: 0 10px 30px rgba(35, 76, 122, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.35);
  position: relative;
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}

.adults-only-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lemon-gold), var(--blue-mediterranean), transparent);
}

.adults-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  background: #fbf5e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 157, 60, 0.35);
  box-shadow: 0 4px 12px rgba(200, 157, 60, 0.12);
}

.adults-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.adults-badge {
  font-family: var(--font-roman);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--lemon-gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.adults-only-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-mediterranean);
  margin: 2px 0 12px;
  letter-spacing: 0.5px;
}

.adults-only-message {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 auto 12px;
  max-width: 350px;
  text-wrap: balance;
}

.adults-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto;
  max-width: 180px;
}

.adults-divider::before,
.adults-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 157, 60, 0.35), transparent);
}

.adults-divider span {
  color: var(--lemon-gold);
  font-size: 0.75rem;
}

.adults-only-sub {
  font-size: 0.82rem;
  color: var(--lemon-gold);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER (AMORE ETERNO)
   ========================================================================== */
.footer-section {
  padding: 40px 20px 45px;
  text-align: center;
  background: linear-gradient(180deg, #faf7f2 0%, #ebe4d5 100%);
  position: relative;
  overflow: hidden;
}

.footer-lemons-garland {
  width: 180px;
  margin: 0 auto 15px;
}

.footer-monogram {
  width: 100px;
  margin: 0 auto 10px;
}

.footer-quote {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--blue-mediterranean);
  line-height: 1.1;
  margin-bottom: 6px;
}

.footer-date-tag {
  font-family: var(--font-roman);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--lemon-gold);
  margin-bottom: 25px;
}

.footer-credits {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR PHOTOS (1 TO 19)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 28, 0.94);
  backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  max-height: 75vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--pure-white);
}

.lightbox-img {
  max-height: 75vh;
  max-width: 85vw;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  color: var(--pure-white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-top: 12px;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--pure-white);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav-btn.prev { left: -55px; }
.lightbox-nav-btn.next { right: -55px; }

@media (max-width: 600px) {
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
  .lightbox-close-btn { top: -40px; right: 10px; }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(35, 76, 122, 0.95);
  color: var(--pure-white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 10002;
  border: 1px solid var(--border-gold);
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
