/* ═══════════════════════════════════
   SECCIONES ESPECÍFICAS
═══════════════════════════════════ */

/* ─── SPLASH / PANTALLA DE BIENVENIDA ─── */
#splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
}
.splash-box {
  position: relative;
  padding: 52px 60px;
  text-align: center;
  max-width: 540px;
  width: 90%;
}
/* Marco de 4 esquinas doradas */
.splash-box::before, .splash-box::after,
.splash-corner-b::before, .splash-corner-b::after {
  content: '';
  position: absolute;
  width: 56px; height: 56px;
  border-color: var(--border);
  border-style: solid;
}
.splash-box::before  { top: 0; left: 0;  border-width: 1px 0 0 1px; }
.splash-box::after   { top: 0; right: 0; border-width: 1px 1px 0 0; }
.splash-corner-b::before { bottom: 0; left: 0;  border-width: 0 0 1px 1px; }
.splash-corner-b::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.splash-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.splash-names {
  font-family: var(--font-serif);
  font-size: clamp(52px, 12vw, 86px);
  font-weight: 400; color: var(--gold-light);
  line-height: 1; margin-bottom: 18px;
}
.splash-subtitle {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 36px; line-height: 1.6;
}
.splash-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.splash-fade-out {
  animation: splashOut .5s var(--ease) forwards;
}
@keyframes splashOut {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* ─── HERO FULL WIDTH ─── */
#hero {
  min-height: 520px;
  padding: 0;
}
.hero-panel {
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 40px; text-align: center;
  position: relative; overflow: hidden;
  min-height: 520px;
}
/* Ornamentos victorianos en esquinas del panel */
.hero-panel .corner { position: absolute; opacity: .5; }
.hero-panel .corner svg { width: 80px; height: 80px; }
.corner--tl { top: 12px; left: 12px; }
.corner--tr { top: 12px; right: 12px; transform: scaleX(-1); }
.corner--bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner--br { bottom: 12px; right: 12px; transform: scale(-1,-1); }

.hero-date-text {
  font-size: 12px; font-weight: 500;
  letter-spacing: .18em; color: var(--gold-dark);
  margin-bottom: 16px;
}
.hero-initials {
  font-family: var(--font-serif);
  font-size: clamp(64px, 14vw, 110px);
  color: var(--gold-light); line-height: 1;
  margin-bottom: 10px;
}
.hero-fullnames {
  font-size: 12px; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-message {
  font-family: var(--font-serif);
  font-size: clamp(13px, 2vw, 15px);
  font-style: italic; color: var(--text-muted);
  line-height: 1.8; max-width: 340px;
}

/* ─── COUNTDOWN ─── */
#countdown { text-align: center; }
.cd-grid {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
}
.cd-box {
  background: var(--bg-card2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 32px; min-width: 100px;
  text-align: center;
}
.cd-num {
  font-family: var(--font-serif);
  font-size: clamp(42px, 9vw, 64px);
  font-weight: 300; color: var(--gold-light);
  line-height: 1; display: block;
}
.cd-lbl {
  font-size: 9px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 6px;
  display: block;
}

/* ─── ¿CUÁNDO Y DÓNDE? ─── */
#donde .venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 40px;
}
.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.venue-card-title {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 400;
  color: var(--gold-light); margin-bottom: 24px;
}
.venue-row {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.venue-row-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%; background: var(--bg-icon);
  display: flex; align-items: center; justify-content: center;
}
.venue-row-icon svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2; }
.venue-row-label {
  font-size: 14px; font-weight: 600;
  color: var(--gold); margin-bottom: 3px;
}
.venue-row-value {
  font-size: 13px; color: var(--text-body); line-height: 1.5;
}
.venue-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
}
.venue-time svg { width: 12px; height: 12px; stroke: var(--text-muted); fill: none; }

.venue-cta-box {
  background: var(--bg-card2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  display: flex; gap: 16px;
  flex-wrap: wrap; justify-content: center;
  margin-top: 24px;
}

/* ─── TODOS SON BIENVENIDOS ─── */
#bienvenidos { text-align: center; }
.welcome-card {
  background: var(--bg-card2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  max-width: 680px; margin: 40px auto 0;
  text-align: center;
}
.welcome-card-title {
  font-size: 16px; font-weight: 600;
  color: var(--gold-light); margin-bottom: 8px;
}
.welcome-card-text {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

/* ─── INFORMACIÓN DE LA FIESTA ─── */
#info-fiesta { text-align: center; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 40px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 20px; text-align: center;
  transition: border-color .25s;
}
.info-card:hover { border-color: rgba(201,169,110,.4); }
.info-card-text {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 20px;
}

/* ─── NUESTRA HISTORIA (carrusel) ─── */
#historia { text-align: center; overflow: hidden; }
.carousel-wrap { position: relative; margin-top: 40px; }
.carousel-track {
  display: flex; gap: 20px;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc(33.333% - 14px);
  border-radius: var(--radius-card);
  overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg-card) center/cover no-repeat;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--radius-card);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(30,58,47,.85);
  border: 1px solid var(--border);
  color: var(--gold); font-size: 18px; font-weight: 300;
  cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.carousel-btn:hover { background: var(--bg-card); }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }
@media (max-width: 700px) {
  .carousel-slide { flex: 0 0 calc(100% - 0px); }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
}

/* ─── MESA DE REGALOS ─── */
#regalos { text-align: center; }
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 40px; max-width: 820px; margin-left: auto; margin-right: auto;
}
.gift-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 22px; text-align: center;
}
.gift-card-title {
  font-family: var(--font-serif);
  font-size: 20px; color: var(--gold-light);
  margin-bottom: 8px;
}
.gift-card-sub {
  font-size: 12px; color: var(--text-muted); margin-bottom: 18px;
}
.gift-action-box {
  background: var(--bg-icon);
  border: 1px solid var(--border-card);
  border-radius: 6px; padding: 12px 14px;
  font-size: 12px; color: var(--text-muted);
  cursor: pointer; line-height: 1.5;
  transition: background .2s, color .2s;
}
.gift-action-box:hover { background: rgba(201,169,110,.12); color: var(--gold-light); }
.gift-code { font-size: 13px; font-weight: 600; color: var(--gold-light); margin-bottom: 4px; }
.gift-store { font-size: 11px; color: var(--text-muted); }

/* ─── COMPARTE TUS FOTOS ─── */
#fotos { text-align: center; }
.hashtag-pill {
  display: inline-block;
  padding: 11px 30px;
  background: #111E18;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  color: var(--text-white); margin-bottom: 16px;
}
.btn-instagram {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .2s;
}
.btn-instagram:hover { opacity: .88; }
.btn-instagram svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

.fotos-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px; gap: 0;
}
.fotos-strip-img {
  aspect-ratio: 4/3;
  background: var(--bg-card) center/cover no-repeat;
  filter: grayscale(1) brightness(.85);
  transition: filter .3s;
}
.fotos-strip-img:hover { filter: grayscale(.4) brightness(1); }
@media (max-width: 600px) {
  .fotos-strip { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─── */
#footer {
  padding: 64px 24px;
  text-align: center;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-card);
}
.footer-heart {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-icon);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.footer-heart svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.footer-names {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 36px);
  color: var(--gold-light); margin-bottom: 8px;
}
.footer-date { font-size: 13px; color: var(--text-muted); letter-spacing: .1em; }

/* ─── MUSIC PLAYER FLOTANTE ─── */
#music-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: background .2s;
  font-size: 18px;
}
#music-btn:hover { background: var(--bg-icon); }
#music-btn.playing { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
