/* ============================================
   ANDER & AINHOA — WEDDING WEBSITE
   www.anderainhoa.es
   ============================================ */

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

/* === CSS VARIABLES === */
:root {
  --rose-gold: #c8956c;
  --rose-gold-light: #e8bfa0;
  --rose-gold-dark: #a0745a;
  --blush: #f2d9d0;
  --blush-light: #fdf5f2;
  --champagne: #f5e6c8;
  --cream: #fefaf5;
  --sage: #8b9d7a;
  --sage-light: #b5c4a6;
  --charcoal: #3a3535;
  --warm-gray: #7a6f6f;
  --white-glass: rgba(255,255,255,0.15);
  --sidebar-width: 260px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blush-light); }
::-webkit-scrollbar-thumb { background: var(--rose-gold-light); border-radius: 3px; }

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, 
    rgba(30, 20, 20, 0.92) 0%, 
    rgba(50, 30, 30, 0.95) 100%);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  border-right: 1px solid rgba(200, 149, 108, 0.2);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.sidebar-logo {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1.5rem;
}

.sidebar-logo .couple-names {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: var(--rose-gold-light);
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(200, 149, 108, 0.4);
}

.sidebar-logo .ampersand {
  display: block;
  font-size: 1.6rem;
  color: var(--champagne);
  opacity: 0.7;
  line-height: 0.8;
  margin: 0.2rem 0;
}

/* === LOGO en el sidebar === */
.sidebar-logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 0.8rem;
  border: 2px solid rgba(200, 149, 108, 0.5);
  box-shadow:
    0 0 0 4px rgba(200, 149, 108, 0.12),
    0 8px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.sidebar-logo-img:hover {
  transform: scale(1.04);
  border-color: rgba(200, 149, 108, 0.8);
  box-shadow:
    0 0 0 6px rgba(200, 149, 108, 0.2),
    0 12px 40px rgba(200, 149, 108, 0.3);
}

/* === LOGO en el hero === */
.hero-logo-wrap {
  margin: 0.8rem 0 0.4rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.25s forwards;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 5px rgba(200, 149, 108, 0.2),
    0 12px 50px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 4px 20px rgba(200, 149, 108, 0.35));
  transition: var(--transition);
}

.hero-logo-img:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 0 7px rgba(200, 149, 108, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

/* fecha y tagline: retrasar animaciones para que salgan después del logo */
.hero-date   { animation-delay: 1.5s !important; }
.hero-tagline { animation-delay: 1.7s !important; }
.countdown-hero { animation-delay: 2s !important; }

.sidebar-logo .wedding-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--rose-gold-light);
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.sidebar-divider {
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
  margin-bottom: 2rem;
  opacity: 0.4;
}

.nav-menu {
  list-style: none;
  width: 100%;
  flex: 1;
}

.nav-menu li {
  width: 100%;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.8rem;
  color: rgba(245, 230, 200, 0.7);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--rose-gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  transform: scaleY(1);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--rose-gold-light);
  background: rgba(200, 149, 108, 0.1);
  padding-left: 2.2rem;
}

.nav-menu a .nav-icon {
  font-size: 1rem;
  opacity: 0.8;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
}

.sidebar-footer p {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === HAMBURGER BUTTON (MOBILE) === */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: rgba(30, 20, 20, 0.9);
  border: 1px solid var(--rose-gold);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rose-gold-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   MAIN CONTENT — Panel container (SPA)
   ============================================ */

/* === PANELES (SPA) CON SCROLL TOTAL EN DESKTOP Y MÓVIL === */
.main-content {
  position: fixed;
  left: var(--sidebar-width);
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  overflow: hidden;
}

.page-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  opacity: 0;
  display: none;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: var(--cream, #fefaf5);
  padding: 4.5rem 2rem 180px !important; /* Holgura amplia inferior para scroll total */
  z-index: 10;
  /* scrollbar personalizada */
  scrollbar-width: auto !important;
  scrollbar-color: #c8956c rgba(0,0,0,0.05);
}

.page-section::-webkit-scrollbar {
  width: 9px !important;
  display: block !important;
}

.page-section::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05) !important;
}

.page-section::-webkit-scrollbar-thumb {
  background: #c8956c !important;
  border-radius: 4px !important;
}

.page-section.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  z-index: 100 !important;
}

/* inicio no tiene padding propio (es el hero a pantalla completa) */
#inicio.page-section {
  padding: 0 !important;
  overflow: hidden !important;
}

/* ============================================
   HERO SECTION — CAROUSEL
   ============================================ */

#inicio {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.65) saturate(1.1);
  transform: scale(1.08);
  transition: transform 8s ease;
}

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

/* Hero overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 15, 15, 0.5) 0%,
    rgba(80, 40, 40, 0.3) 50%,
    rgba(30, 15, 15, 0.6) 100%
  );
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-pre-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: var(--rose-gold-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4rem, 12vw, 9rem);
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 80px rgba(200, 149, 108, 0.2);
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-title .ampersand {
  color: var(--rose-gold-light);
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--champagne);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  margin-top: 0.8rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.4s forwards;
}

/* Countdown */
.countdown-hero {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.7s forwards;
}

.countdown-item {
  text-align: center;
  min-width: 70px;
}

.countdown-item .count-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--rose-gold-light);
  line-height: 1;
}

.countdown-item .count-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--rose-gold);
  align-self: flex-start;
  padding-top: 0.3rem;
  opacity: 0.6;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 2.5s forwards;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--rose-gold-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

/* Carousel controls */
.carousel-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}

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

.carousel-dot.active {
  background: var(--rose-gold-light);
  transform: scale(1.3);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(200, 149, 108, 0.3);
  border-color: var(--rose-gold);
}

.carousel-btn.prev { left: 1.5rem; }
.carousel-btn.next { right: 1.5rem; }

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
  padding: 6rem 5rem;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--cream) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-gold));
}

.section-divider::after {
  background: linear-gradient(90deg, var(--rose-gold), transparent);
}

.section-divider-icon {
  color: var(--rose-gold);
  font-size: 1rem;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--warm-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   INVITACION SECTION
   ============================================ */

#invitacion {
  background: var(--cream);
  color: var(--charcoal);
  overflow-y: auto;
}

#invitacion .section-tag { color: var(--rose-gold-dark); }
#invitacion .section-title { color: var(--charcoal); }
#invitacion .section-subtitle { color: var(--warm-gray); }

.invitation-card {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(200, 149, 108, 0.08));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.invitation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.invitation-ornament {
  font-size: 2rem;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.invitation-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255,255,255,0.8);
}

.invitation-couple {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: var(--rose-gold-light);
  display: block;
  margin: 1.5rem 0;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(200, 149, 108, 0.3);
}

.invitation-details {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(200, 149, 108, 0.2);
  border-bottom: 1px solid rgba(200, 149, 108, 0.2);
}

.detail-col {
  padding: 0 1.5rem;
}

.detail-divider {
  background: rgba(200, 149, 108, 0.3);
}

.detail-label {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--champagne);
  display: block;
}

.rsvp-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(200, 149, 108, 0.4);
  border: none;
  cursor: pointer;
}

.rsvp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(200, 149, 108, 0.5);
}

/* RSVP & Password Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.modal-overlay.open,
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: linear-gradient(145deg, #2d1818, #1a0f0f);
  border: 1px solid rgba(200, 149, 108, 0.3);
  border-radius: 24px;
  padding: 3rem;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.open .modal,
.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--champagne);
  text-align: center;
  margin-bottom: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover { color: var(--rose-gold-light); }

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose-gold);
  background: rgba(200, 149, 108, 0.08);
}

.form-group select option { background: #2d1818; }

.form-group textarea { resize: vertical; min-height: 80px; }

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

/* ============================================
   EVENTO SECTION
   ============================================ */

#evento {
  background: var(--cream);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rose-gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) .timeline-content { order: 3; text-align: left; }
.timeline-item:nth-child(even) .timeline-empty { order: 1; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }

.timeline-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 6px var(--blush), 0 8px 25px rgba(200, 149, 108, 0.4);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(200, 149, 108, 0.1);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: 0 10px 40px rgba(200, 149, 108, 0.15);
  transform: translateY(-3px);
}

.timeline-time {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-family: 'Lato', sans-serif;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* Location card */
.location-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-map {
  background: linear-gradient(135deg, var(--blush), var(--champagne));
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}

.location-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.location-info p {
  color: var(--warm-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  width: fit-content;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 149, 108, 0.4);
}

/* ============================================
   ACTIVIDADES SECTION
   ============================================ */

#actividades {
  background: linear-gradient(135deg, var(--blush-light) 0%, #fff 100%);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.activity-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(200, 149, 108, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-gold), var(--sage));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.activity-card:hover::before { transform: scaleX(1); }

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(200, 149, 108, 0.15);
}

.activity-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--blush), var(--champagne));
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.activity-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}

.activity-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.activity-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  background: var(--blush);
  color: var(--rose-gold-dark);
  border-radius: 50px;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   ALOJAMIENTO SECTION
   ============================================ */

#alojamiento {
  background: linear-gradient(135deg, #1a0f0f 0%, #2d1818 100%);
  color: white;
}

#alojamiento .section-tag { color: var(--rose-gold-light); }
#alojamiento .section-title { color: var(--champagne); }
#alojamiento .section-subtitle { color: rgba(245, 230, 200, 0.7); }

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hotel-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 149, 108, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.hotel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 149, 108, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hotel-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(200, 149, 108, 0.2), rgba(139, 157, 122, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid rgba(200, 149, 108, 0.15);
}

.hotel-body {
  padding: 1.8rem;
}

.hotel-stars {
  color: var(--champagne);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hotel-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--champagne);
  margin-bottom: 0.5rem;
}

.hotel-desc {
  font-size: 0.82rem;
  color: rgba(245, 230, 200, 0.6);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hotel-distance {
  font-size: 0.7rem;
  color: var(--rose-gold);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================
   FOTOS DEL EVENTO
   ============================================ */

#fotos {
  background: var(--cream);
}

.gallery-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--warm-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blush), var(--champagne));
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-placeholder {
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--rose-gold);
  opacity: 0.4;
}

.gallery-placeholder span {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.upload-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-style: italic;
}

/* ============================================
   REGALO SECTION
   ============================================ */

#regalo {
  background: linear-gradient(135deg, var(--blush-light), var(--cream));
}

.regalo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.regalo-card {
  background: white;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 15px 50px rgba(200, 149, 108, 0.12);
  border: 1px solid rgba(200, 149, 108, 0.15);
  position: relative;
  overflow: hidden;
}

.regalo-card::before {
  content: '💝';
  position: absolute;
  font-size: 20rem;
  top: -5rem;
  right: -5rem;
  opacity: 0.03;
  pointer-events: none;
}

.regalo-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.regalo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.bank-card {
  background: linear-gradient(135deg, #1a0f0f, #2d1818);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  color: white;
  text-align: left;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.2), transparent);
  border-radius: 50%;
}

.bank-card-label {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  display: block;
  margin-bottom: 0.4rem;
}

.bank-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--champagne);
  display: block;
  margin-bottom: 1.2rem;
}

.copy-btn {
  background: rgba(200, 149, 108, 0.15);
  border: 1px solid rgba(200, 149, 108, 0.3);
  color: var(--rose-gold-light);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.65rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.copy-btn:hover {
  background: rgba(200, 149, 108, 0.25);
}

.regalo-alternatives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gift-option {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(200, 149, 108, 0.1);
  transition: var(--transition);
}

.gift-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(200, 149, 108, 0.12);
}

.gift-option-icon { font-size: 2rem; display: block; margin-bottom: 0.8rem; }
.gift-option-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.gift-option-desc { font-size: 0.8rem; color: var(--warm-gray); line-height: 1.5; }

/* ============================================
   MUSIC PLAYER (floating)
   ============================================ */

.music-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(30, 20, 20, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 149, 108, 0.3);
  border-radius: 50px;
  padding: 0.6rem 1.2rem 0.6rem 0.6rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.music-player:hover {
  border-color: rgba(200, 149, 108, 0.6);
  box-shadow: 0 15px 50px rgba(200, 149, 108, 0.15);
}

.music-btn {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.music-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.music-title {
  font-size: 0.7rem;
  color: var(--champagne);
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
}

.music-artist {
  font-size: 0.6rem;
  color: rgba(245, 230, 200, 0.5);
  font-family: 'Lato', sans-serif;
}

.music-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 18px;
}

.music-bars span {
  width: 3px;
  background: var(--rose-gold);
  border-radius: 2px;
  animation: musicBar 0.8s ease-in-out infinite alternate;
}

.music-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.music-bars span:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.music-bars span:nth-child(4) { height: 18px; animation-delay: 0.1s; }
.music-bars span:nth-child(5) { height: 10px; animation-delay: 0.25s; }

.music-bars.paused span { animation-play-state: paused; }

/* ============================================
   GUESTBOOK / MENSAJES SECTION
   ============================================ */

#mensajes {
  background: var(--cream);
}

.guestbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.guestbook-entry {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(200, 149, 108, 0.1);
  position: relative;
  transition: var(--transition);
}

.guestbook-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(200, 149, 108, 0.12);
}

.guestbook-entry::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--rose-gold);
  opacity: 0.15;
  line-height: 1;
}

.guestbook-msg {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.guestbook-author {
  font-size: 0.75rem;
  color: var(--rose-gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.add-message-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(200, 149, 108, 0.12);
}

.add-message-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group-light label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
  display: block;
  margin-bottom: 0.4rem;
}

.form-group-light input,
.form-group-light textarea {
  width: 100%;
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--cream);
}

.form-group-light input:focus,
.form-group-light textarea:focus {
  border-color: var(--rose-gold);
  background: white;
}

.form-group-light { margin-bottom: 1.2rem; }
.form-group-light textarea { resize: vertical; min-height: 100px; }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Lato', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 149, 108, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: #100808;
  color: rgba(245, 230, 200, 0.4);
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(200, 149, 108, 0.1);
}

.site-footer .footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: var(--rose-gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer p {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

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

@keyframes musicBar {
  from { height: 4px; }
  to { height: 100%; }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .section { padding: 5rem 3rem; }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger { display: flex; }

  /* En móvil el panel ocupa toda la pantalla */
  .main-content {
    left: 0;
  }

  .section { padding: 4rem 1.5rem; }

  .timeline::before { left: 26px; }
  .timeline-item { grid-template-columns: auto 1fr; gap: 1.5rem; }
  .timeline-item:nth-child(even) .timeline-content { order: unset; text-align: left; }
  .timeline-item:nth-child(even) .timeline-empty { display: none; }
  .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
  .timeline-icon-wrap { order: -1; }

  .location-card { grid-template-columns: 1fr; }
  .location-map { min-height: 200px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item:first-child { grid-column: span 2; }

  .invitation-details { grid-template-columns: 1fr; }
  .detail-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .countdown-hero { gap: 1rem; }
  .countdown-item .count-num { font-size: 2rem; }

  .music-player { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
}

/* ============================================
   ENVELOPE INTRO OVERLAY (HORIZONTAL & SATIN STYLE)
   ============================================ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #dfcbba;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 1rem;
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
  user-select: none;
}

.envelope-overlay.hide {
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  transform: scale(1.05);
}

.env-satin-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/satin_bg.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0.92;
  filter: brightness(1.02) contrast(1.05);
}

.env-satin-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, rgba(60,40,25,0.3) 100%);
  pointer-events: none;
}

/* --- Header (Centered gracefully right above the envelope, zero overlap) --- */
.env-header {
  position: relative;
  z-index: 25;
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
  width: 100%;
  max-width: 680px;
  animation: envFadeDown 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.env-title-teaser {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  font-weight: 600;
  font-style: italic;
  color: #9e4b27; /* Color caldera */
  line-height: 1.3;
  letter-spacing: 1px;
  text-shadow: 
    0 2px 10px rgba(255, 245, 230, 0.95),
    0 1px 4px rgba(255, 255, 255, 0.9);
  transition: opacity 0.5s ease;
}

.env-title-opened {
  animation: envFadeDown 0.8s ease forwards;
  text-align: center;
}

.env-title-married {
  font-family: 'Cinzel', serif;
  font-size: 1.95rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #9e4b27; /* Color caldera */
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-shadow: 
    0 2px 10px rgba(255, 245, 230, 0.95),
    0 1px 4px rgba(255, 255, 255, 0.9);
}

.env-names-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: #9e4b27; /* Color caldera */
  line-height: 1;
  text-shadow: 
    0 2px 10px rgba(255, 245, 230, 0.95),
    0 1px 4px rgba(255, 255, 255, 0.9);
}

.env-names-sub .ampersand {
  font-family: 'Great Vibes', cursive;
  color: #b85b30;
  font-size: 2.8rem;
  margin: 0 0.3rem;
}

@media (max-width: 600px) {
  .env-header { 
    margin-top: 1.8rem; 
    margin-bottom: 0.6rem; 
    padding: 0 16px; 
    box-sizing: border-box; 
  }
  .env-title-teaser { 
    font-size: 1.15rem; 
    line-height: 1.3; 
    letter-spacing: 0.5px; 
  }
  .env-title-married { 
    font-size: 1.12rem; 
    letter-spacing: 2px; 
    line-height: 1.25; 
  }
  .env-names-sub { 
    font-size: 1.55rem; 
  }
}

/* --- Stage & Proportioned Horizontal Envelope Container --- */
.env-stage {
  position: relative;
  width: 92vw;
  max-width: 780px;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  perspective: 1400px;
  z-index: 2;
}

@media (max-width: 480px) {
  .env-stage {
    width: 95vw;
    height: 360px;
    transform: scale(0.92);
  }
}

.envelope-container.horizontal-env {
  position: relative;
  width: 82vw;
  max-width: 720px;
  min-width: 300px;
  height: 410px;
  cursor: pointer;
  transition: transform 0.5s ease;
  margin-top: 10px;
}

.envelope-container.horizontal-env:not(.opened):hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

/* Horizontal Luxury Beige Cotton Paper Envelope Back & Pocket */
.env-back {
  position: absolute;
  inset: 0;
  background-color: #e8dbc9;
  background-image: 
    radial-gradient(circle at 50% 45%, rgba(255, 250, 245, 0.65) 0%, rgba(205, 185, 165, 0.5) 100%),
    repeating-linear-gradient(45deg, rgba(130, 100, 80, 0.035) 0px, rgba(130, 100, 80, 0.035) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(130, 100, 80, 0.035) 0px, rgba(130, 100, 80, 0.035) 1px, transparent 1px, transparent 4px);
  border-radius: 18px;
  box-shadow: 
    0 35px 85px rgba(45, 30, 15, 0.42),
    0 12px 30px rgba(0, 0, 0, 0.2),
    inset 0 2px 5px rgba(255, 255, 255, 0.95),
    inset 0 -5px 15px rgba(120, 90, 65, 0.35);
  border: 2px solid #cebea8;
  z-index: 1;
}

/* Pocket Front Cover with Realistic 3D Contour and Beveled Folds */
.env-pocket {
  position: absolute;
  inset: 0;
  background-color: #e5d6c3;
  background-image: 
    linear-gradient(165deg, rgba(255, 252, 248, 0.7) 0%, rgba(210, 190, 170, 0.55) 100%),
    repeating-linear-gradient(45deg, rgba(130, 100, 80, 0.035) 0px, rgba(130, 100, 80, 0.035) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(130, 100, 80, 0.035) 0px, rgba(130, 100, 80, 0.035) 1px, transparent 1px, transparent 4px);
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 0 18px 18px;
  z-index: 10;
  filter: drop-shadow(0 -5px 14px rgba(55, 35, 20, 0.28)) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
}

/* Paper edge highlight lines for 3D fold depth */
.env-pocket::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, transparent 60%);
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 3px, 50% 53%, 0 3px);
  pointer-events: none;
}

.env-pocket::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(100, 70, 50, 0.25) 0%, transparent 100%);
  clip-path: polygon(0 3px, 50% 53%, 100% 3px, 100% 5px, 50% 55%, 0 5px);
  pointer-events: none;
}

/* Logo Emblem inside Envelope Pocket — Hidden initially, appears ONLY when envelope opens */
.env-pocket-logo {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  z-index: 11;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.env-tulip-logo-img {
  width: 210px;
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(70, 50, 35, 0.35));
  transition: transform 0.5s ease;
}

/* Appears gracefully when envelope opens */
.envelope-container.opened .env-pocket-logo {
  opacity: 0.95;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .env-tulip-logo-img {
    width: 160px;
  }
  .env-pocket-logo {
    bottom: 12px;
  }
}

/* Top Flap (opens 180 deg) with High Relief Fold */
.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 215px;
  background-color: #dfcebb;
  background-image: 
    linear-gradient(180deg, rgba(255, 252, 248, 0.75) 0%, rgba(200, 180, 160, 0.6) 100%),
    repeating-linear-gradient(45deg, rgba(130, 100, 80, 0.035) 0px, rgba(130, 100, 80, 0.035) 1px, transparent 1px, transparent 4px);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 12;
  filter: drop-shadow(0 12px 24px rgba(50, 30, 15, 0.38)) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
}

.env-flap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.6) 0%, transparent 20%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.envelope-container.opened .env-flap {
  transform: rotateX(-180deg);
  z-index: 2;
}

/* 3D Relief Wax Seal Button with Logo Photo — Gold / Bronze Warm Relief */
.env-wax-seal.relief-seal {
  position: absolute;
  top: 205px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d19d6c 0%, #a67246 35%, #7a461e 75%, #4a270b 100%);
  border: 2.5px solid rgba(255, 235, 210, 0.85);
  box-shadow: 
    0 14px 38px rgba(50, 30, 10, 0.65),
    inset 0 4px 8px rgba(255, 255, 255, 0.8),
    inset 0 -5px 10px rgba(0, 0, 0, 0.6);
  z-index: 15;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  transition: all 0.4s ease;
  animation: waxPulse 2.2s ease-in-out infinite;
}

.env-wax-seal.relief-seal:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 18px 45px rgba(40, 20, 5, 0.9),
    inset 0 4px 10px rgba(255, 255, 255, 0.9);
}

.envelope-container.opened .env-wax-seal {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.4);
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* --- Cards inside Envelope --- */
.env-cards {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* --- Superpose Cards ON TOP of Envelope when opened --- */
.envelope-container.opened .env-cards {
  z-index: 20;
  pointer-events: auto;
}

/* Save The Date Card (Versión Breve - Larger & Perfectly Legible) */
.env-card.main-card.save-our-date-card.brief-card {
  position: absolute;
  width: 235px;
  height: 210px;
  left: 50%;
  bottom: 15px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(45, 30, 15, 0.28);
  padding: 10px;
  text-align: center;
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

.card-inner-framed.brief-mode {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(200, 149, 108, 0.6);
  outline: 3px solid #FAF4ED;
  outline-offset: -4px;
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #fdfcf9 0%, #f7f1ea 100%);
}

.card-inner-framed.brief-mode .sod-title {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: 3rem;
  color: #b8865f;
  line-height: 1.1;
  font-weight: 400;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.sod-brief-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 2px;
}

/* Polaroid Photo Cards */
.env-card.photo-card {
  position: absolute;
  background: #ffffff;
  padding: 8px 8px 24px 8px;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(0) rotate(0deg);
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease;
}

/* Photo 1 (Left Position) */
.photo-card.photo-left {
  left: 50%;
  bottom: 15px;
  width: 195px;
  height: 225px;
  z-index: 5;
  transform: translateX(-50%) translateY(0);
}

/* Photo 2 (Right Position) */
.photo-card.photo-center {
  left: 50%;
  bottom: 15px;
  width: 205px;
  height: 235px;
  z-index: 8;
}

.polaroid-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #f5ebe0;
}

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

/* --- Emergence Positions (FORMATO ABANICO - Centrados & Superpuestos sobre el sobre) --- */

/* 1. Photo 1 emerges at LEFT with -12deg fan tilt */
.envelope-container.opened .photo-card.photo-left {
  left: 50%;
  right: auto;
  transform: translateY(-160px) translateX(calc(-50% - 205px)) rotate(-12deg);
  opacity: 1;
  z-index: 21;
  transition: transform 0.5s ease, opacity 1.2s ease, z-index 0.2s ease, box-shadow 0.3s ease;
  transition-delay: 0.3s;
}

/* 2. Save The Date Card emerges at CENTER with slight tilt */
.envelope-container.opened .env-card.main-card.save-our-date-card.brief-card {
  left: 50%;
  right: auto;
  transform: translateY(-165px) translateX(-50%) rotate(-1deg);
  opacity: 1;
  z-index: 23;
  pointer-events: auto;
  transition: transform 0.5s ease, opacity 1.2s ease, z-index 0.2s ease, box-shadow 0.3s ease;
  transition-delay: 0.7s;
}

/* 3. Photo 2 emerges at RIGHT with +11deg fan tilt */
.envelope-container.opened .photo-card.photo-center {
  left: 50%;
  right: auto;
  transform: translateY(-155px) translateX(calc(-50% + 205px)) rotate(11deg);
  opacity: 1;
  z-index: 22;
  transition: transform 0.5s ease, opacity 1.2s ease, z-index 0.2s ease, box-shadow 0.3s ease;
  transition-delay: 1.1s;
}

/* Side Floral Illustrations outside envelope — Exact height of the envelope sides */
.env-floral-decor {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  min-width: 180px;
  max-width: 280px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease;
}

.env-floral-decor img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.45)) drop-shadow(0 6px 18px rgba(60, 35, 20, 0.15));
}

.env-floral-decor.floral-left {
  left: 0;
  transform: translateX(40px) rotate(-10deg) scale(0.7);
}

.env-floral-decor.floral-right {
  right: 0;
  transform: translateX(-40px) rotate(10deg) scaleX(-1) scale(0.7);
}

/* Emerge simultaneously with the fan cards when opened */
.envelope-container.opened .env-floral-decor.floral-left {
  opacity: 0.94;
  transform: translateX(-190px) rotate(-8deg) scale(1);
  transition-delay: 0.4s;
}

.envelope-container.opened .env-floral-decor.floral-right {
  opacity: 0.94;
  transform: translateX(190px) rotate(8deg) scaleX(-1) scale(1);
  transition-delay: 0.4s;
}

/* Hover effect: sobreponer la imagen por delante del resto */
.envelope-container.opened .photo-card.photo-left:hover {
  transform: translateY(-175px) translateX(calc(-50% - 205px)) rotate(-12deg) scale(1.07);
  z-index: 50 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transition-delay: 0s !important;
}

.envelope-container.opened .env-card.main-card.save-our-date-card.brief-card:hover {
  transform: translateY(-180px) translateX(-50%) rotate(-1deg) scale(1.07);
  z-index: 50 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transition-delay: 0s !important;
}

.envelope-container.opened .photo-card.photo-center:hover {
  transform: translateY(-170px) translateX(calc(-50% + 205px)) rotate(11deg) scale(1.07);
  z-index: 50 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transition-delay: 0s !important;
}

@media (max-width: 600px) {
  .env-card.photo-card.photo-left {
    width: 106px;
    height: 126px;
    padding: 4px 4px 14px 4px;
  }
  .env-card.photo-card.photo-center {
    width: 110px;
    height: 130px;
    padding: 4px 4px 14px 4px;
  }

  .envelope-container.opened .env-floral-decor.floral-left {
    transform: translateY(-58%) translateX(-105px) rotate(-14deg) scale(0.45);
    opacity: 0.8;
  }
  .envelope-container.opened .env-floral-decor.floral-right {
    transform: translateY(-58%) translateX(105px) rotate(14deg) scaleX(-1) scale(0.45);
    opacity: 0.8;
  }

  .envelope-container.opened .photo-card.photo-left {
    transform: translateY(-118px) translateX(calc(-50% - 130px)) rotate(-15deg);
    z-index: 21;
  }
  .envelope-container.opened .env-card.main-card.save-our-date-card.brief-card {
    transform: translateY(-135px) translateX(-50%) rotate(-1deg);
    width: 155px;
    height: 140px;
    padding: 5px;
    z-index: 23;
  }
  .card-inner-framed.brief-mode {
    padding: 8px 6px;
  }
  .card-inner-framed.brief-mode .sod-title {
    font-size: 1.95rem;
  }
  .card-inner-framed.brief-mode .sod-date-line,
  .card-inner-framed.brief-mode .sod-location-line {
    font-size: 0.72rem;
  }

  .envelope-container.opened .photo-card.photo-center {
    transform: translateY(-112px) translateX(calc(-50% + 130px)) rotate(14deg);
    z-index: 22;
  }

  .envelope-container.opened .photo-card.photo-left:hover {
    transform: translateY(-128px) translateX(calc(-50% - 130px)) rotate(-15deg) scale(1.08);
    z-index: 50 !important;
    transition-delay: 0s !important;
  }
  .envelope-container.opened .env-card.main-card.save-our-date-card.brief-card:hover {
    transform: translateY(-145px) translateX(-50%) rotate(-1deg) scale(1.08);
    z-index: 50 !important;
    transition-delay: 0s !important;
  }
  .envelope-container.opened .photo-card.photo-center:hover {
    transform: translateY(-122px) translateX(calc(-50% + 130px)) rotate(14deg) scale(1.08);
    z-index: 50 !important;
    transition-delay: 0s !important;
  }

  .btn-rsvp-highlight {
    margin-bottom: 46px !important;
  }
}

@media (max-width: 420px) {
  .env-card.photo-card.photo-left {
    width: 94px;
    height: 112px;
    padding: 3px 3px 12px 3px;
  }
  .env-card.photo-card.photo-center {
    width: 98px;
    height: 116px;
    padding: 3px 3px 12px 3px;
  }

  .envelope-container.opened .photo-card.photo-left {
    transform: translateY(-112px) translateX(calc(-50% - 114px)) rotate(-14deg);
  }
  .envelope-container.opened .env-card.main-card.save-our-date-card.brief-card {
    transform: translateY(-126px) translateX(-50%) rotate(-1deg);
    width: 140px;
    height: 128px;
    padding: 4px;
  }
  .card-inner-framed.brief-mode {
    padding: 6px 4px;
  }
  .card-inner-framed.brief-mode .sod-title {
    font-size: 1.75rem;
  }
  .envelope-container.opened .photo-card.photo-center {
    transform: translateY(-106px) translateX(calc(-50% + 114px)) rotate(13deg);
  }
}

/* --- Countdown Timer & RSVP Button --- */
.env-countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  animation: btnAppear 0.8s ease forwards;
}

.env-count-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 149, 108, 0.4);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  box-shadow: 0 4px 15px rgba(60, 45, 35, 0.12);
}

.env-count-box span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #332d2b;
  line-height: 1;
}

.env-count-lbl {
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #925d36;
  letter-spacing: 1px;
  margin-top: 2px;
}

.env-count-colon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #b07c57;
  text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.btn-rsvp-highlight {
  background: linear-gradient(135deg, #be8b64 0%, #9e6d47 100%) !important;
  font-size: 0.86rem !important;
  padding: 14px 28px !important;
  letter-spacing: 1.5px !important;
  box-shadow: 0 10px 30px rgba(130, 90, 60, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  animation: btnGlowPulse 2.2s infinite alternate !important;
}

@keyframes btnGlowPulse {
  0% { transform: scale(1); box-shadow: 0 10px 30px rgba(130, 90, 60, 0.5); }
  100% { transform: scale(1.03); box-shadow: 0 14px 40px rgba(130, 90, 60, 0.8); }
}

/* --- Action Area & Buttons (Placed further down so scrolling is required) --- */
.env-action-area {
  position: relative;
  z-index: 10;
  margin-top: 4.5rem;
  padding-bottom: 4rem;
  text-align: center;
  min-height: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.env-instruction {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: #382c24;
  font-style: italic;
  letter-spacing: 1px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.8);
  animation: pulseText 2s ease-in-out infinite;
}

.btn-enter-site {
  background: linear-gradient(135deg, #be8b64 0%, #9e6d47 100%);
  color: #ffffff;
  border: none;
  padding: 14px 38px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(130, 90, 60, 0.45);
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: btnAppear 0.8s ease forwards;
}

.btn-enter-site:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 35px rgba(130, 90, 60, 0.65);
  background: linear-gradient(135deg, #cb9870 0%, #ab7851 100%);
}

.btn-enter-site .btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-enter-site:hover .btn-arrow {
  transform: translateX(5px);
}

/* --- Keyframe Animations --- */
@keyframes waxPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(60, 35, 15, 0.6), inset 0 3px 6px rgba(255, 255, 255, 0.6); }
  50% { box-shadow: 0 14px 40px rgba(60, 35, 15, 0.85), inset 0 3px 8px rgba(255, 255, 255, 0.85); }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

@keyframes envFadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes btnAppear {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   (STRICT SIDEBAR LOCK REMOVED TO ALLOW NAVIGATION TRIGGERING PASSWORD)
   ============================================ */

#invitacion.page-section {
  background: var(--cream) !important;
  z-index: 100 !important;
  overflow-y: auto !important;
}

/* ============================================
   RSVP FORM LANDING & WATERMARK LOGO
   ============================================ */

.rsvp-landing-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.rsvp-landing-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(180, 130, 90, 0.15), 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(200, 149, 108, 0.25);
  overflow: hidden;
}

/* Translucent Watermark Logo Background */
.rsvp-landing-card.translucent-logo-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background-image: url('../images/Caserio-removebg-preview.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.rsvp-landing-form {
  position: relative;
  z-index: 1;
}

.form-group-custom {
  margin-bottom: 1.8rem;
}

.form-group-custom label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
  margin-bottom: 0.5rem;
}

.form-group-custom label .req {
  color: #c95646;
}

.form-group-custom input[type="text"],
.form-group-custom input[type="email"],
.form-group-custom input[type="password"],
.form-group-custom textarea,
.custom-textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 110px;
}

.form-group-custom input:focus,
.form-group-custom textarea:focus,
.custom-textarea:focus {
  border-color: var(--rose-gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(200, 149, 108, 0.15);
}

/* Attendance Options (Single Choice Radio Pills) */
.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .attendance-options {
    grid-template-columns: 1fr;
  }
}

.option-pill {
  position: relative;
  cursor: pointer;
}

.option-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--cream);
  border: 1.5px solid rgba(200, 149, 108, 0.25);
  transition: all 0.3s ease;
}

.option-pill input[type="radio"]:checked + .pill-content {
  background: linear-gradient(135deg, rgba(200, 149, 108, 0.15), rgba(245, 230, 200, 0.3));
  border-color: var(--rose-gold);
  box-shadow: 0 4px 15px rgba(200, 149, 108, 0.25);
}

.pill-icon {
  font-size: 1.2rem;
}

.pill-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Informational Notice Box */
.rsvp-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 230, 200, 0.35);
  border-left: 4px solid var(--rose-gold);
  padding: 1rem 1.2rem;
  border-radius: 8px 14px 14px 8px;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #5c4c42;
  line-height: 1.5;
}

/* Submit Button Encircled by Main Logo */
.submit-btn-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.logo-ring-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 35px;
}

.submit-logo-ring {
  position: absolute;
  inset: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  object-fit: contain;
  opacity: 0.45;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(180, 130, 90, 0.4));
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo-ring-wrapper:hover .submit-logo-ring {
  transform: scale(1.06) rotate(3deg);
  opacity: 0.75;
}

.btn-submit-framed {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
  color: #ffffff;
  border: none;
  padding: 14px 42px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(160, 100, 60, 0.4);
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit-framed:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(160, 100, 60, 0.6);
  background: linear-gradient(135deg, #d6a176 0%, #b07d57 100%);
}

/* Bottom "Accede a la web" Area */
.access-web-bottom-area {
  margin-top: 3.5rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px dashed rgba(200, 149, 108, 0.3);
}

.access-web-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

.btn-access-web {
  background: transparent;
  color: var(--rose-gold-dark);
  border: 2px solid var(--rose-gold);
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-access-web:hover {
  background: var(--rose-gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 149, 108, 0.35);
}

/* ============================================
   THANK YOU VIEW
   ============================================ */

.rsvp-thank-you-wrap {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.thank-you-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(180, 130, 90, 0.15);
  border: 1px solid rgba(200, 149, 108, 0.2);
}

.couple-photo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--rose-gold), var(--champagne));
  box-shadow: 0 12px 35px rgba(180, 130, 90, 0.3);
}

.thank-you-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.thank-you-badge {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #be8b64, #9e6d47);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.thank-you-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.thank-you-names {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: var(--rose-gold);
  margin-bottom: 1.2rem;
}

.thank-you-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.email-sent-notification {
  background: #faf6f2;
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.email-notif-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(200, 149, 108, 0.15);
}

.email-icon {
  font-size: 1.5rem;
}

.email-sender-line {
  font-size: 0.75rem;
  color: var(--warm-gray);
}

.email-sender-line span {
  color: var(--rose-gold-dark);
  font-weight: 700;
}

.email-notif-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  font-style: italic;
}

/* ============================================
   ADMIN DASHBOARD & COUNTER BANNERS
   ============================================ */

.admin-login-wrap {
  max-width: 420px;
  margin: 2rem auto;
}

.admin-login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(180, 130, 90, 0.12);
  border: 1px solid rgba(200, 149, 108, 0.2);
}

.admin-lock-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.admin-login-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.admin-login-card p {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 1.8rem;
}

.admin-dashboard-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 1rem;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-dash-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--charcoal);
}

.admin-dash-header p {
  font-size: 0.85rem;
  color: var(--rose-gold-dark);
}

.btn-admin-logout {
  background: rgba(200, 149, 108, 0.15);
  color: var(--rose-gold-dark);
  border: 1px solid rgba(200, 149, 108, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-admin-logout:hover {
  background: #c95646;
  color: white;
  border-color: #c95646;
}

.admin-counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .admin-counters-grid {
    grid-template-columns: 1fr;
  }
}

.counter-banner {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(180, 130, 90, 0.1);
  border: 1px solid rgba(200, 149, 108, 0.2);
}

.counter-banner.banner-total { border-left: 6px solid var(--rose-gold); }
.counter-banner.banner-yes { border-left: 6px solid #4a9e68; }
.counter-banner.banner-no { border-left: 6px solid #d65a4a; }

.banner-icon {
  font-size: 2.5rem;
}

.count-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.count-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--rose-gold-dark);
}

.admin-table-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(200, 149, 108, 0.2);
}

.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.table-controls input {
  flex: 1;
  min-width: 240px;
  border: 1.5px solid rgba(200, 149, 108, 0.25);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  outline: none;
}

.table-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-table-action {
  background: var(--cream);
  border: 1px solid rgba(200, 149, 108, 0.3);
  color: var(--charcoal);
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-table-action:hover {
  background: var(--rose-gold);
  color: white;
}

.btn-table-action.btn-danger:hover {
  background: #d65a4a;
  color: white;
  border-color: #d65a4a;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: var(--cream);
  color: var(--rose-gold-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem;
  border-bottom: 2px solid rgba(200, 149, 108, 0.2);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(200, 149, 108, 0.1);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-badge.badge-yes {
  background: rgba(74, 158, 104, 0.15);
  color: #2e7545;
}

.status-badge.badge-no {
  background: rgba(214, 90, 74, 0.15);
  color: #b53a2b;
}

/* Password Modal Card */
.pass-modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(200, 149, 108, 0.4) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4) !important;
  max-width: 440px;
  text-align: center;
  padding: 2.5rem;
  border-radius: 24px;
  position: relative;
}

.pass-modal-header .pass-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.pass-modal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.pass-modal-header p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

.pass-error-text {
  color: #d65a4a;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: block;
  font-weight: 700;
}

.submit-btn-pass {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn-pass:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 149, 108, 0.4);
}

/* ============================================
   TOP RIGHT CONTROLS (ADMIN & LANGUAGE SWITCHER)
   ============================================ */
.top-right-bar {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 10005;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-top-btn {
  background: rgba(30, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 149, 108, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  color: var(--champagne);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  box-sizing: border-box;
  white-space: nowrap;
}

.admin-top-btn:hover {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: #ffffff;
  border-color: var(--rose-gold-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}

.lang-switcher-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(30, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 149, 108, 0.4);
  padding: 4px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.lang-switcher-wrap:hover {
  background: rgba(30, 20, 20, 0.9);
  border-color: var(--rose-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-btn:hover {
  color: white;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .top-right-bar {
    top: auto;
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }
  .admin-top-btn {
    font-size: 0.72rem;
    padding: 5px 12px;
    height: 30px;
  }
  .lang-switcher-wrap {
    padding: 3px;
  }
  .lang-btn {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

/* ============================================================
   ESTILOS DE ALTO CONTRASTE PARA SECCIONES INTERNAS
   ============================================================ */

/* Encabezados Globales de Sección */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.section-tag {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9e6d47;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #382c24;
  margin-bottom: 0.6rem;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.6rem 0 1rem;
}
.section-divider-icon {
  font-size: 1.4rem;
}
.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 0.98rem;
  color: #5c4f48;
  line-height: 1.5;
}

/* --- 1. Ceremonia y Banquete Cards --- */
.venue-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

.venue-card {
  background: #ffffff;
  border: 1.5px solid rgba(200, 149, 108, 0.35);
  border-radius: 20px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(60, 45, 35, 0.08);
}

.venue-card:hover {
  transform: translateY(-5px);
  border-color: var(--rose-gold);
  box-shadow: 0 15px 40px rgba(200, 149, 108, 0.22);
}

.venue-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #be8b64, #9e6d47);
  color: white;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.venue-header-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.venue-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #382c24;
  margin-bottom: 0.8rem;
}

.venue-location {
  font-size: 0.95rem;
  color: #4a3e36;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.venue-desc {
  font-size: 0.88rem;
  color: #63554d;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.map-btn {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(200, 149, 108, 0.12);
  border: 1px solid var(--rose-gold);
  border-radius: 25px;
  color: #7a4f32;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: var(--rose-gold);
  color: white;
}

.calendar-add-wrap {
  text-align: center;
  margin-top: 2rem;
}

.btn-calendar {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #be8b64, #9e6d47);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(158, 109, 71, 0.25);
  transition: all 0.3s ease;
}

.btn-calendar:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(158, 109, 71, 0.4);
}

/* --- 2. Logística y Desplazamiento --- */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 950px;
  margin: 2rem auto;
}

.logistics-card {
  background: #ffffff;
  border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(60, 45, 35, 0.06);
}

.logistics-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.logistics-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #382c24; margin-bottom: 1rem; }
.logistics-card p { font-size: 0.9rem; color: #5a4e47; line-height: 1.5; }
.bus-schedule-list { list-style: none; padding: 0; margin-top: 1rem; text-align: left; }
.bus-schedule-list li { padding: 8px 0; border-bottom: 1px dashed rgba(200, 149, 108, 0.3); font-size: 0.9rem; color: #403632; }

.taxi-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 1.2rem; }
.btn-taxi-call {
  display: block; padding: 12px; background: rgba(200, 149, 108, 0.1); border: 1.5px solid var(--rose-gold);
  border-radius: 12px; color: #7a4f32; text-decoration: none; font-size: 0.88rem; font-weight: 700; text-align: center;
  transition: all 0.3s ease;
}
.btn-taxi-call:hover { background: var(--rose-gold); color: white; }

/* --- 3. Alojamientos --- */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
}
.hotel-card {
  background: #ffffff;
  border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(60, 45, 35, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hotel-img { font-size: 2.8rem; margin-bottom: 0.6rem; }
.hotel-stars { color: #d49a37; font-size: 0.9rem; margin-bottom: 0.4rem; }
.hotel-name { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; color: #382c24; margin-bottom: 0.5rem; }
.hotel-desc { font-size: 0.86rem; color: #63554d; line-height: 1.4; margin-bottom: 0.8rem; }
.hotel-distance { font-size: 0.82rem; font-weight: 700; color: #9e6d47; }

/* --- 4. Dress Code --- */
.dresscode-wrap { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; max-width: 900px; margin: 2rem auto; }
.dresscode-card {
  flex: 1; min-width: 250px; background: #ffffff; border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 20px; padding: 2rem; text-align: center; box-shadow: 0 8px 25px rgba(60, 45, 35, 0.06);
}
.dresscode-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.dresscode-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #382c24; margin-bottom: 0.8rem; }
.dresscode-card p { font-size: 0.9rem; color: #5a4e47; line-height: 1.5; }

/* --- 5. DJ Peticiones Musicales --- */
.dj-box-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 900px; margin: 2rem auto; }
.dj-form { background: #ffffff; border: 1.5px solid rgba(200, 149, 108, 0.3); border-radius: 20px; padding: 2rem; box-shadow: 0 8px 25px rgba(60, 45, 35, 0.06); }
.form-group-light { margin-bottom: 1.2rem; text-align: left; }
.form-group-light label { display: block; font-size: 0.85rem; font-weight: 700; color: #7a4f32; margin-bottom: 0.4rem; }
.form-group-light input {
  width: 100%; padding: 0.8rem; border: 1px solid rgba(200, 149, 108, 0.4); border-radius: 10px;
  background: #faf4ed; font-size: 0.92rem; color: #382c24; outline: none;
}
.form-group-light input:focus { border-color: #9e6d47; box-shadow: 0 0 6px rgba(158, 109, 71, 0.3); }

.dj-playlist-preview { background: #faf4ed; border-radius: 20px; padding: 2rem; border: 1.5px solid rgba(200, 149, 108, 0.35); }
.dj-playlist-preview h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #382c24; margin-bottom: 1rem; }
.dj-song-list { display: flex; flex-direction: column; gap: 10px; }
.dj-song-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #ffffff; border: 1px solid rgba(200, 149, 108, 0.25); border-radius: 10px; font-size: 0.88rem; color: #382c24; }
.dj-song-item small { color: #9e6d47; font-size: 0.78rem; font-weight: 700; }

/* --- 6. LIBRO DE FIRMAS FÍSICO INTERACTIVO --- */
.physical-book-wrapper {
  max-width: 950px;
  margin: 3rem auto;
  perspective: 1500px;
  padding: 0 10px;
}

.physical-book {
  display: flex;
  background: #fdfaf4;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), inset 0 0 20px rgba(160, 116, 90, 0.15);
  border: 12px solid #3d2b1f;
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.book-spine {
  width: 24px;
  background: linear-gradient(to right, #2c1e15, #5a4231 40%, #2c1e15);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 5;
}

.book-page {
  flex: 1;
  padding: 2.5rem 2rem;
  background: radial-gradient(circle, #fdfaf4 70%, #f4ebd9 100%);
  color: #3a3535;
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-left {
  border-right: 1px solid rgba(160, 116, 90, 0.2);
  box-shadow: inset -15px 0 20px -10px rgba(0, 0, 0, 0.15);
}

.page-right {
  box-shadow: inset 15px 0 20px -10px rgba(0, 0, 0, 0.15);
}

.book-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #7a4f32;
  border-bottom: 2px solid rgba(160, 116, 90, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.book-messages-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
  padding-right: 5px;
}

.book-entry {
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(160, 116, 90, 0.4);
  padding: 1rem;
  border-radius: 8px;
  position: relative;
}

.book-entry-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #2c2523;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.book-entry-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a0745a;
  text-align: right;
  display: block;
}

.book-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(160, 116, 90, 0.2);
}

.btn-book-nav {
  background: #a0745a;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-book-nav:hover { background: #7a4f32; }
.page-number-indicator { font-size: 0.85rem; font-weight: 600; color: #7a4f32; }

.form-group-book { margin-bottom: 1.2rem; text-align: left; }
.form-group-book label { display: block; font-size: 0.85rem; font-weight: 700; color: #7a4f32; margin-bottom: 0.4rem; }
.form-group-book input, .form-group-book textarea {
  width: 100%; padding: 0.8rem; border: 1px solid rgba(160, 116, 90, 0.4); border-radius: 8px;
  background: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; outline: none;
}
.form-group-book input:focus, .form-group-book textarea:focus { border-color: #a0745a; box-shadow: 0 0 5px rgba(160, 116, 90, 0.3); }

.btn-sign-book {
  width: 100%; padding: 0.9rem; background: linear-gradient(135deg, #a0745a, #7a4f32);
  color: white; border: none; border-radius: 25px; font-weight: 700; cursor: pointer;
  letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-sign-book:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(122, 79, 50, 0.3); }

@media (max-width: 768px) {
  .physical-book { flex-direction: column; min-height: auto; }
  .book-spine { display: none; }
  .page-left { border-right: none; border-bottom: 2px solid rgba(160, 116, 90, 0.2); }
}

/* --- 7. FAQ Accordion --- */
.faq-accordion-wrap { max-width: 850px; margin: 2rem auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: #ffffff; border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 14px; padding: 1.2rem 1.5rem; text-align: left; transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(60, 45, 35, 0.05);
}
.faq-item[open] { background: #faf4ed; border-color: var(--rose-gold); }
.faq-question { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: #382c24; cursor: pointer; outline: none; }
.faq-answer { margin-top: 0.8rem; font-size: 0.95rem; color: #5a4e47; line-height: 1.5; }

/* --- Banner Informativo Superior Formulario RSVP --- */
.rsvp-intro-banner {
  background: linear-gradient(135deg, rgba(245, 230, 200, 0.5), rgba(200, 149, 108, 0.15));
  border: 1.5px solid rgba(200, 149, 108, 0.35);
  border-left: 5px solid var(--rose-gold-dark, #9e6d47);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(200, 149, 108, 0.08);
}

.rsvp-intro-banner .intro-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.rsvp-intro-banner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: #000000 !important;
  line-height: 1.45;
  margin: 0;
}

/* ============================================================
   ESTILOS DE MÁXIMA LEGIBILIDAD Y ALTO CONTRASTE
   ============================================================ */

/* 1. SIDEBAR NAVEGACIÓN: Texto en tono champán/blanco sobre fondo oscuro */
.sidebar, .sidebar * {
  color: #f5e6c8 !important;
}

.sidebar .sidebar-logo .wedding-date {
  color: #e8bfa0 !important;
}

.nav-menu a {
  color: #f5e6c8 !important;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff !important;
  background: rgba(200, 149, 108, 0.25) !important;
}

/* 2. BOTONES SUPERIORES DERECHOS (Administrador e Idioma) */
.top-right-bar .admin-top-btn,
.top-right-bar .lang-btn {
  color: #ffffff !important;
  background: rgba(45, 35, 35, 0.85) !important;
  border: 1px solid rgba(200, 149, 108, 0.5) !important;
}

/* 3. REPRODUCTOR DE MÚSICA FLOTANTE ABAJO DERECHA */
.music-player, .music-player * {
  color: #ffffff !important;
}

/* 4. EXCEPCIÓN PANTALLA DE INICIO (#inicio) SOBRE FOTOGRAFÍAS:
   Texto en blanco puro (#ffffff) y champán (#f5e6c8) con sombra oscura (text-shadow) para resaltado perfecto */
#inicio,
#inicio *,
#inicio .hero-pre-title,
#inicio .hero-title,
#inicio .hero-title .ampersand,
#inicio .hero-date,
#inicio .hero-tagline,
#inicio .countdown-item .count-num,
#inicio .countdown-item .count-label,
#inicio .countdown-sep {
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.7) !important;
}

#inicio .hero-pre-title,
#inicio .hero-date,
#inicio .countdown-item .count-num {
  color: #f5e6c8 !important;
}

#inicio .hero-title .ampersand {
  color: #e8bfa0 !important;
}

/* 5. CONTENIDO DE SECCIONES INTERNAS (Evento, Actividades, Logística, Alojamientos, etc.):
   Texto en negro nítido (#111111) de alto contraste sobre fondo crema claro (#fefaf5) */
.page-section:not(#inicio) {
  background: #fefaf5 !important;
  background-color: #fefaf5 !important;
}

.page-section:not(#inicio) .section-tag {
  color: #8c552b !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 3px !important;
  text-shadow: none !important;
}

.page-section:not(#inicio) .section-title {
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  text-shadow: none !important;
}

.page-section:not(#inicio) .section-subtitle {
  color: #333333 !important;
  font-weight: 600 !important;
  font-style: italic !important;
  text-shadow: none !important;
}

.page-section:not(#inicio) .section-divider::before,
.page-section:not(#inicio) .section-divider::after {
  background: #c8956c !important;
  height: 1.5px !important;
}

.page-section:not(#inicio) h1,
.page-section:not(#inicio) h2,
.page-section:not(#inicio) h3,
.page-section:not(#inicio) h4,
.page-section:not(#inicio) h5,
.page-section:not(#inicio) h6,
.page-section:not(#inicio) p,
.page-section:not(#inicio) span:not(.venue-badge):not(.thank-you-badge):not(.pill-icon),
.page-section:not(#inicio) li,
.page-section:not(#inicio) label,
.page-section:not(#inicio) dt,
.page-section:not(#inicio) dd,
.page-section:not(#inicio) summary {
  color: #111111 !important;
}

/* Campos de formulario e inputs con texto negro nítido */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  color: #000000 !important;
  background-color: #ffffff !important;
  font-weight: 600 !important;
}

/* Tarjetas blancas con contraste alto */
.venue-card, .logistics-card, .hotel-card, .dresscode-card, .dj-form, .dj-playlist-preview, .faq-item, .activity-card, .gift-card, .photo-upload-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(0,0,0,0.15) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* === FOTOS SUBIDAS POR INVITADOS (FORMATO COMPACTO CON BOTÓN DE DESCARGA) === */
.guest-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.guest-photo-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guest-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14) !important;
}

.guest-photo-thumb {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.guest-photo-info {
  padding: 0.7rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  text-align: center;
}

.guest-photo-author {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-download-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #a0745a, #7a4f32) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 6px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-download-photo:hover {
  background: #5e3b23 !important;
  transform: scale(1.03);
}

/* ============================================================
   RESPONSIVE SCROLL & MOBILITY OVERRIDES (MÓVIL & TABLET)
   ============================================================ */
@media (max-width: 992px) {
  .main-content {
    left: 0 !important;
    width: 100% !important;
  }

  .page-section {
    padding: 5.5rem 1.2rem 200px !important; /* Holgura amplia para scroll suave en móviles */
    -webkit-overflow-scrolling: touch !important;
  }

  /* 1. SCROLL COMPLETO EN EL MENÚ LATERAL IZQUIERDO EN MÓVILES */
  .sidebar {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: 100vh !important;
    padding-bottom: 110px !important;
  }

  .sidebar .nav-menu {
    overflow-y: visible !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 768px) {
  /* 2. REAJUSTE DE LA PANTALLA DE INICIO (#inicio) EN MÓVIL: CUENTA ATRÁS Y ELEMENTOS SIEMPRE VISIBLES */
  #inicio .hero-content {
    padding: 1.2rem 0.8rem 100px !important;
    justify-content: center !important;
  }

  #inicio .hero-pre-title {
    font-size: 0.65rem !important;
    letter-spacing: 3px !important;
    margin-bottom: 0.4rem !important;
  }

  #inicio .hero-title {
    font-size: clamp(2.4rem, 9vw, 4rem) !important;
    margin-bottom: 0.3rem !important;
  }

  #inicio .hero-logo-img {
    width: 85px !important;
    height: 85px !important;
    margin: 0.4rem auto !important;
  }

  #inicio .hero-date {
    font-size: 0.88rem !important;
    letter-spacing: 3px !important;
    margin-top: 0.4rem !important;
  }

  #inicio .hero-tagline {
    font-size: 0.82rem !important;
    margin-top: 0.2rem !important;
  }

  /* Cuenta atrás perfectamente centrada y adaptada a la pantalla móvil */
  #inicio .countdown-hero {
    gap: 0.35rem !important;
    margin-top: 1rem !important;
    margin-bottom: 80px !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 5px !important;
  }

  #inicio .countdown-item {
    min-width: 48px !important;
  }

  #inicio .countdown-item .count-num {
    font-size: 1.8rem !important;
  }

  #inicio .countdown-item .count-label {
    font-size: 0.55rem !important;
    letter-spacing: 1px !important;
    margin-top: 0.2rem !important;
  }

  #inicio .countdown-sep {
    font-size: 1.4rem !important;
    padding-top: 0.2rem !important;
  }
}



