/* ═══════════════════════════════════════════════
   INVITACIÓN 15 AÑOS · MARTINA TESORO
   Diseñado con amor · v9.0
   Archivo: css/styles.css
═══════════════════════════════════════════════ */

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

/* ── VARIABLES ── */
:root {
  --navy: #060f1a;
  --ocean: #0e4060;
  --teal: #186888;
  --lteal: #2e9cba;
  --gold: #c8963a;
  --gold-light: #ddb860;
  --white: #ffffff;
  --pearl: #f2e8d8;
  --text-dark: #060f1a;
  --text-mid: #0e4060;
  --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  overflow-x: hidden;
  cursor: none;
  color: var(--text-dark);
  background:
    radial-gradient(ellipse 140% 30% at 30% 5%,  rgba(46,156,186,0.32) 0%, transparent 65%),
    radial-gradient(ellipse 100% 25% at 75% 3%,  rgba(35,110,148,0.26) 0%, transparent 60%),
    radial-gradient(ellipse 120% 22% at 50% 14%, rgba(100,175,210,0.20) 0%, transparent 58%),
    radial-gradient(ellipse 160% 18% at 20% 28%, rgba(150,202,222,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 130% 20% at 80% 32%, rgba(130,192,215,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 180% 14% at 50% 42%, rgba(195,222,218,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 140% 22% at 35% 60%, rgba(185,162,120,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 110% 25% at 70% 68%, rgba(172,142,96,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 150% 28% at 50% 82%, rgba(158,125,78,0.28) 0%, transparent 60%),
    linear-gradient(180deg,
      #2e8eb8 0%, #48aed0 7%, #76c8e2 15%,
      #a0d8ec 22%, #b8e6ee 28%, #c2e8e4 34%,
      #cae2d8 38%, #c4d8c8 42%, #c0ceb8 46%,
      #b8bea0 50%, #b8a87a 54%, #b09060 60%,
      #a88050 68%, #a27848 76%, #a88050 85%,
      #a07848 100%
    );
  background-attachment: fixed;
  min-height: 100vh;
}

/* ── CUSTOM CURSOR ── */
#cur {
  position: fixed; width: 9px; height: 9px;
  background: var(--white); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference; transition: transform 0.1s;
}
#cur2 {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease; mix-blend-mode: difference;
}
#cvs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ══════════════════════════════════
   INTRO SCREEN — PROFESIONAL Y ANIMADA
══════════════════════════════════ */
#intro-screen {
  position: fixed; inset: 0; z-index: 10000;
  background: linear-gradient(165deg, #000610 0%, #010d1a 25%, #020c18 50%, #040a14 75%, #050810 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: none;
}

#intro-screen.hide {
  animation: introFadeOut 1.6s cubic-bezier(0.77, 0, 0.18, 1) forwards;
  pointer-events: none;
}

@keyframes introFadeOut {
  0%   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0px); }
  45%  { opacity: 1; transform: scale(1.05) translateY(-15px); filter: blur(0px); }
  100% { opacity: 0; transform: scale(1.12) translateY(-35px); filter: blur(8px); }
}

.intro-canvas { position: absolute; inset: 0; pointer-events: none; }

.intro-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.intro-aurora::before {
  content: ''; position: absolute; top: -30%; left: -20%; width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(24,104,136,0.24) 0%, transparent 65%);
  animation: auroraMove1 9s ease-in-out infinite alternate;
}
.intro-aurora::after {
  content: ''; position: absolute; bottom: -20%; right: -20%; width: 75%; height: 75%;
  background: radial-gradient(ellipse, rgba(200,150,58,0.10) 0%, transparent 65%);
  animation: auroraMove2 12s ease-in-out infinite alternate;
}
.intro-aurora-extra {
  position: absolute; top: 50%; right: -10%; width: 55%; height: 60%;
  background: radial-gradient(ellipse, rgba(46,156,186,0.14) 0%, transparent 65%);
  animation: auroraMove3 14s ease-in-out infinite alternate; pointer-events: none;
}

@keyframes auroraMove1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(10%,8%) scale(1.16); } }
@keyframes auroraMove2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-8%,-10%) scale(1.20); } }
@keyframes auroraMove3 { 0% { transform: translate(0,0) scale(0.9); } 100% { transform: translate(-12%,6%) scale(1.14); } }

.intro-center {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem; user-select: none;
}

/* Decoración superior */
.intro-deco-top {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 1.4rem; opacity: 0;
  animation: introDecoAppear 1s ease 0.5s forwards;
}
.intro-deco-line {
  width: 55px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,150,58,0.55));
}
.intro-deco-line.r { transform: scaleX(-1); }
.intro-deco-diamond { width: 5px; height: 5px; background: rgba(200,150,58,0.65); transform: rotate(45deg); }

@keyframes introDecoAppear { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }

/* "mis" */
.intro-mis {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 3.2vw, 2.3rem); letter-spacing: 0.80em;
  text-transform: uppercase; color: transparent;
  animation: introMisAppear 1.5s ease 0.8s forwards;
}
@keyframes introMisAppear {
  0%   { color: transparent; letter-spacing: 0.35em; }
  100% { color: rgba(188,228,245,0.88); letter-spacing: 0.80em; }
}

/* "15" gigante */
.intro-15-wrap { position: relative; display: inline-block; line-height: 0.85; margin: 0.4rem 0; }

.intro-15 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(11rem, 33vw, 28rem); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1.5px rgba(168,215,234,0);
  display: block; opacity: 0; position: relative; z-index: 1;
  animation: intro15Appear 1.9s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}
.intro-15-fill {
  position: absolute; inset: 0;
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(11rem, 33vw, 28rem); line-height: 0.85;
  background: linear-gradient(140deg,
    rgba(255,255,255,0.99) 0%, rgba(180,228,248,0.92) 22%,
    rgba(255,255,255,0.88) 45%, rgba(220,175,80,0.92) 72%,
    rgba(255,255,255,0.98) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: intro15Shimmer 5.5s ease 3.2s infinite; z-index: 1;
}
.intro-15-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(46,156,186,0.32) 0%, transparent 70%);
  filter: blur(28px); z-index: 0;
  animation: glowPulse 3.5s ease-in-out 2.8s infinite alternate;
}
@keyframes glowPulse { 0% { opacity: 0.32; transform: scale(0.86); } 100% { opacity: 1; transform: scale(1.14); } }
@keyframes intro15Appear {
  0%   { opacity: 0; transform: scale(0.28) translateY(100px); -webkit-text-stroke: 1.5px rgba(168,215,234,0); }
  45%  { -webkit-text-stroke: 2px rgba(168,215,234,0.58); }
  100% { opacity: 1; transform: scale(1) translateY(0); -webkit-text-stroke: 1.5px rgba(168,215,234,0.20); }
}
@keyframes intro15Shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* "Martina" */
.intro-name {
  font-family: 'Sacramento', cursive;
  font-size: clamp(3.5rem, 12vw, 10rem); color: transparent;
  letter-spacing: 0.04em; margin-top: -0.8rem;
  animation: introNameAppear 1.7s cubic-bezier(0.16, 1, 0.3, 1) 2.4s forwards;
}
@keyframes introNameAppear {
  0%   { color: transparent; transform: translateY(30px) scale(0.92); filter: blur(12px); }
  100% { color: rgba(255,255,255,0.97); transform: translateY(0) scale(1); filter: blur(0px); }
}

/* Línea con dorado */
.intro-line {
  width: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,150,58,0.60), rgba(255,255,255,0.60), rgba(200,150,58,0.60), transparent);
  margin: 1.9rem auto;
  animation: introLineGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) 3.5s forwards;
}
@keyframes introLineGrow { 0% { width: 0; } 100% { width: min(480px, 78vw); } }

/* Fecha */
.intro-date {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 0.74rem; letter-spacing: 0.58em;
  text-transform: uppercase; color: transparent;
  animation: introDateAppear 1.3s ease 4.1s forwards;
}
@keyframes introDateAppear { 0% { color: transparent; } 100% { color: rgba(255,255,255,0.68); } }

/* Decoración bottom */
.intro-deco-bottom {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0 0; opacity: 0;
  animation: introDecoAppear 1s ease 4.3s forwards;
}

/* Toque para ingresar */
.intro-tap-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  margin-top: 2.6rem; opacity: 0;
  animation: introTapWrapAppear 1.1s ease 4.8s forwards;
}
@keyframes introTapWrapAppear { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: translateY(0); } }

.intro-tap-icon {
  display: block; font-size: 1.8rem;
  animation: introTapIconFloat 3s ease 5.6s infinite;
}
@keyframes introTapIconFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.14); } }

.intro-tap {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.88rem; letter-spacing: 0.45em;
  text-transform: uppercase; color: rgba(188,228,245,0.62);
  animation: introTapPulse 2.8s ease 5.8s infinite;
}
@keyframes introTapPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; letter-spacing: 0.52em; } }

/* Olas del intro */
.intro-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 160px; overflow: hidden; pointer-events: none;
}
.intro-wave svg { position: absolute; bottom: 0; width: 200%; animation: waveMove 7s linear infinite; }
.intro-wave svg:nth-child(2) { opacity: 0.35; animation-duration: 11s; animation-direction: reverse; bottom: 12px; }
.intro-wave svg:nth-child(3) { opacity: 0.18; animation-duration: 15s; bottom: 22px; }
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.4rem 3.5rem; display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(6,15,26,0.80) 0%, transparent 100%);
  backdrop-filter: blur(4px); transition: background var(--transition-base);
}
nav.scrolled { background: rgba(4,10,20,0.94); backdrop-filter: blur(24px); }

.nav-brand { font-family: 'Sacramento', cursive; font-size: 2.4rem; color: var(--white); letter-spacing: 0.04em; text-decoration: none; }
.nav-menu { display: flex; gap: 2.2rem; list-style: none; }
.nav-menu a {
  font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s;
  position: relative; padding-bottom: 4px;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold-light); transition: width 0.3s;
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Jost', sans-serif; font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--white);
  border: 1px solid rgba(255,255,255,0.55); padding: 0.58rem 1.6rem;
  text-decoration: none; transition: all 0.3s; cursor: none;
}
.nav-cta:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.85); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 1; }

.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../galeria/primer_banner/primer_banner.jpg');
  background-size: cover; background-position: center top;
  background-attachment: fixed; transition: transform 0.1s ease-out;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(6,15,26,0.62) 0%, rgba(6,15,26,0.12) 40%, rgba(6,15,26,0.75) 100%);
}

.hero-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem; }

.hero-pre {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem); color: rgba(255,255,255,0.96);
  letter-spacing: 0.26em; margin-bottom: 0.7rem; animation: fadeUp 0.9s ease 0.3s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-name {
  font-family: 'Sacramento', cursive; font-size: clamp(6rem, 18vw, 16rem);
  color: var(--white); line-height: 0.9; letter-spacing: 0.02em;
  text-shadow: 0 4px 80px rgba(6,15,26,0.55), 0 0 160px rgba(46,156,186,0.30), 0 2px 20px rgba(0,0,0,0.4);
  animation: fadeUp 1.2s ease 0.5s both;
}
.hero-apellido {
  font-family: 'Jost', sans-serif; font-weight: 200;
  font-size: clamp(1.2rem, 3.4vw, 2.4rem); letter-spacing: 0.60em;
  text-transform: uppercase; color: rgba(255,255,255,0.92);
  margin-top: -0.4rem; animation: fadeUp 1s ease 0.7s both;
  text-shadow: 0 2px 18px rgba(0,0,0,0.50);
}
.hero-divider {
  display: flex; align-items: center; gap: 1.8rem;
  margin: 2.2rem 0 1.8rem; animation: fadeUp 1s ease 0.9s both;
}
.hero-divider-line { width: 80px; height: 1px; background: linear-gradient(to right, transparent, rgba(200,150,58,0.72)); }
.hero-divider-line.r { transform: scaleX(-1); }
.hero-divider-icon { color: rgba(255,255,255,0.88); font-size: 1.2rem; }
.hero-date {
  font-family: 'Jost', sans-serif; font-weight: 300; font-size: 0.82rem;
  letter-spacing: 0.44em; text-transform: uppercase; color: rgba(255,255,255,0.95);
  animation: fadeUp 1s ease 1.1s both;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.hero-btns { display: flex; gap: 1.2rem; margin-top: 2.6rem; flex-wrap: wrap; justify-content: center; animation: fadeUp 1s ease 1.3s both; }

.scroll-hint {
  position: absolute; bottom: 2.8rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; animation: fadeUp 1.5s ease 2s both;
}
.scroll-hint p { font-family: 'Jost', sans-serif; font-size: 0.55rem; letter-spacing: 0.52em; text-transform: uppercase; color: rgba(255,255,255,0.54); }
.scroll-line { width: 1px; height: 52px; overflow: hidden; position: relative; }
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.68), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ── BOTONES ── */
.btn-p {
  display: inline-block; padding: 1rem 2.8rem;
  background: linear-gradient(135deg, var(--teal), var(--lteal));
  color: var(--white); font-family: 'Jost', sans-serif; font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none;
  cursor: none; transition: opacity 0.3s, transform 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-p:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-g {
  display: inline-block; padding: 1rem 2.8rem;
  border: 1px solid rgba(255,255,255,0.60); color: var(--white);
  font-family: 'Jost', sans-serif; font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none;
  cursor: none; transition: all 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-g:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.90); }

/* ── SECCIONES ── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.section-glass { background: rgba(255,255,255,0.26); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.section-glass-dark { background: rgba(6,15,26,0.68); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }

.s-eyebrow { font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ocean); margin-bottom: 1rem; }
.s-eyebrow-light { font-family: 'Jost', sans-serif; font-size: 0.78rem; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(255,255,255,0.80); margin-bottom: 1rem; font-weight: 400; }
.s-title { font-family: 'Playfair Display', serif; font-size: clamp(2.9rem, 6.8vw, 5rem); font-weight: 700; color: var(--navy); line-height: 1.05; }
.s-title em { font-style: italic; color: var(--teal); }
.s-title-light { font-family: 'Playfair Display', serif; font-size: clamp(2.9rem, 6.8vw, 5rem); font-weight: 700; color: var(--white); line-height: 1.05; }
.s-title-light em { font-style: italic; color: rgba(180,230,248,0.90); }

.gem-div { display: flex; align-items: center; gap: 1.2rem; margin: 2.2rem 0; }
.gem-l { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(14,64,96,0.34), transparent); }
.gem-d { width: 7px; height: 7px; background: var(--ocean); transform: rotate(45deg); }

.rev { opacity: 0; transform: translateY(42px); transition: opacity 1s ease, transform 1s ease; }
.rev.vis { opacity: 1; transform: translateY(0); }
.rev.d1 { transition-delay: 0.15s; }
.rev.d2 { transition-delay: 0.30s; }
.rev.d3 { transition-delay: 0.45s; }
.rev.d4 { transition-delay: 0.60s; }

/* ══════════════════════════════════
   QUINCE
══════════════════════════════════ */
#quince { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.quince-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../galeria/segundo_banner/segundo_banner.jpg');
  background-size: cover; background-position: center 10%; background-attachment: fixed;
}
.quince-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(140deg, rgba(6,15,26,0.78) 0%, rgba(6,15,26,0.42) 50%, rgba(6,15,26,0.76) 100%); }
.quince-content { position: relative; z-index: 2; text-align: center; padding: 5rem 2rem; display: flex; flex-direction: column; align-items: center; }
.quince-hearts { font-size: 2.4rem; letter-spacing: 1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,0.95); animation: float 3s ease-in-out infinite; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.quince-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(9rem, 25vw, 22rem); color: transparent; line-height: 0.85; -webkit-text-stroke: 2px rgba(255,255,255,0.95); position: relative; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5)); }
.quince-num-fill {
  position: absolute; inset: 0;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(9rem, 25vw, 22rem); line-height: 0.85; color: transparent;
  background: linear-gradient(140deg, rgba(255,255,255,0.99) 0%, rgba(180,228,248,0.90) 30%, rgba(255,255,255,0.78) 60%, rgba(212,168,75,0.85) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.quince-label { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 4.2vw, 3rem); color: rgba(255,255,255,0.98); letter-spacing: 0.16em; margin-top: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.quince-hearts2 { font-size: 1.9rem; letter-spacing: 0.65rem; margin-top: 1.5rem; color: rgba(255,255,255,0.88); animation: float 3.5s ease-in-out infinite 0.5s; }
.quince-quote { max-width: 540px; margin-top: 2.5rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 1.38rem; color: rgba(255,255,255,0.95); line-height: 1.85; letter-spacing: 0.05em; border-top: 1px solid rgba(255,255,255,0.28); padding-top: 2rem; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }

/* ══════════════════════════════════
   MENSAJE PERSONAL
══════════════════════════════════ */
#mensaje-personal { padding: 8rem 2rem; text-align: center; position: relative; }
.mp-inner { max-width: 740px; margin: 0 auto; }
.mp-quote-mark { font-family: 'Sacramento', cursive; font-size: 9rem; color: rgba(14,64,96,0.14); line-height: 0.5; display: block; margin-bottom: 1.2rem; }
.mp-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.85; color: var(--navy); letter-spacing: 0.04em; }
.mp-firma { margin-top: 2.6rem; font-family: 'Sacramento', cursive; font-size: 3.5rem; color: var(--ocean); }

/* ══════════════════════════════════
   FRASE HERMOSA — NUEVA SECCIÓN ESPECIAL
══════════════════════════════════ */
#frase-bella { position: relative; padding: 0; overflow: hidden; }
.frase-bg {
  position: absolute; inset: 0;
  background-image: url('../galeria/tercer_banner/tercer_banner.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.frase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(6,10,20,0.94) 0%, rgba(6,15,30,0.88) 50%, rgba(6,10,20,0.94) 100%);
}
.frase-inner {
  position: relative; z-index: 2; max-width: 800px; margin: 0 auto;
  padding: 9rem 3.5rem; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.frase-deco { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 3.5rem; width: 100%; }
.frase-deco-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(200,150,58,0.60)); }
.frase-deco-line.r { transform: scaleX(-1); }
.frase-deco-star { font-size: 1.4rem; opacity: 0.72; animation: fraseStarSpin 10s linear infinite; }
@keyframes fraseStarSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.frase-eyebrow { font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.50em; text-transform: uppercase; color: rgba(200,150,58,0.92); margin-bottom: 2.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

.frase-texto {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 4.8vw, 3.4rem); line-height: 1.68;
  color: rgba(255,255,255,1); letter-spacing: 0.04em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.70), 0 1px 8px rgba(0,0,0,0.45); position: relative;
  padding: 0 1.5rem;
}
.frase-texto::before {
  content: '\201C'; font-family: 'Sacramento', cursive; font-size: 6rem;
  color: rgba(200,150,58,0.58); position: absolute; top: -2.5rem; left: -1rem; line-height: 1; font-style: normal;
}
.frase-texto::after {
  content: '\201D'; font-family: 'Sacramento', cursive; font-size: 6rem;
  color: rgba(200,150,58,0.58); position: absolute; bottom: -4rem; right: -1rem; line-height: 1; font-style: normal;
}
.frase-autora { margin-top: 4.5rem; font-family: 'Jost', sans-serif; font-size: 0.74rem; font-weight: 300; letter-spacing: 0.44em; text-transform: uppercase; color: rgba(200,150,58,0.88); text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.frase-deco-bottom { margin-top: 3rem; width: 100%; }

/* ══════════════════════════════════
   BOOK DE FOTOS
══════════════════════════════════ */
#book { padding: 0; }
.book-header { text-align: center; padding: 5.5rem 2rem 3.5rem; }
/* ── NUEVO SLIDER CON IMG (no recorta verticales) ── */
.book-slider-wrap {
  position: relative;
  width: 100%;
  background: #060f1a;
  overflow: hidden;
  /* Altura dinámica: se adapta a la imagen */
  min-height: 480px;
  max-height: 95vh;
}

/* Track: solo muestra el slide activo */
.bs-track {
  position: relative;
  width: 100%;
  min-height: 480px;
}

/* Cada slide ocupa todo el track */
.book-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.book-slide.active { opacity: 1; position: relative; }

/* Fondo desenfocado (rellena bordes en landscape/portrait) */
.bs-blur-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.45) saturate(0.7);
  transform: scale(1.1);
  z-index: 0;
}

/* La imagen real: se ve COMPLETA, sin recortar */
.bs-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Sombra para profundidad */
  box-shadow: 0 8px 60px rgba(0,0,0,0.7), 0 2px 16px rgba(0,0,0,0.5);
}

/* Flechas de navegación */
.bs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}
.bs-arrow:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.1); }
.bs-arrow-prev { left: 1rem; }
.bs-arrow-next { right: 1rem; }

/* Contador N / Total */
.bs-counter {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  z-index: 10;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.35);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}



.book-slide-caption {
  position: absolute; bottom: 3.8rem; left: 0; right: 0; z-index: 5;
  text-align: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  color: rgba(255,255,255,1);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.80), 0 1px 6px rgba(0,0,0,0.60);
  padding: 0.9rem 2.5rem;
  transition: opacity 0.6s ease;
  /* Fondo degradado para legibilidad sin tapar la foto */
  background: linear-gradient(to top, rgba(6,15,26,0.80) 0%, rgba(6,15,26,0.52) 55%, transparent 100%);
  /* Extiende el fondo hacia abajo hasta el borde */
  bottom: 0;
  padding-bottom: 4.5rem;
  padding-top: 3.5rem;
}
.book-slide-dots { position: absolute; bottom: 0.9rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.7rem; z-index: 10; }
.bsdot { width: 26px; height: 2px; background: rgba(255,255,255,0.35); cursor: none; transition: all 0.4s; }
.bsdot.active { background: var(--white); width: 48px; }
/* ── GALERÍA GRID ── */
.book-gallery-title { text-align: center; padding: 4.5rem 2rem 2rem; }

/* Desktop: 4 columnas con masonry automático */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 0 6rem;
  /* Masonry nativo donde esté soportado */
  grid-auto-rows: 10px;
}

.g-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #060f1a;
  border-radius: 2px;
}

/* Imagen que NO se recorta: muestra todo */
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s ease, filter 0.5s;
}

/* Para fotos portrait: que la grilla se adapte */
.g-item.portrait img {
  object-position: center 15%;
}

.g-item:hover img { transform: scale(1.05); filter: brightness(1.1) saturate(1.1); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6,15,26,0.65) 100%); opacity: 0; transition: opacity 0.4s; }
.g-item:hover::after { opacity: 1; }
.g-item::before { content: '⊕'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0); z-index: 3; font-size: 2.2rem; color: rgba(255,255,255,0.9); transition: transform 0.3s; pointer-events: none; }
.g-item:hover::before { transform: translate(-50%,-50%) scale(1); }
.g-item-label { position: absolute; bottom: 0.8rem; left: 1rem; right: 1rem; z-index: 2; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.9rem; color: var(--white); opacity: 0; transition: opacity 0.4s; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.g-item:hover .g-item-label { opacity: 1; }

/* Alturas fijas para grilla regular — portrait más altas */
.g-item { height: 260px; }
.g-item.portrait { height: 380px; }

/* ══════════════════════════════════
   COUNTDOWN
══════════════════════════════════ */
#countdown { padding: 7rem 2rem; text-align: center; }
.cd-wrap { max-width: 840px; margin: 3.5rem auto 0; display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.cd-box { display: flex; flex-direction: column; align-items: center; padding: 2.6rem 3.8rem; background: rgba(255,255,255,0.32); border: 1px solid rgba(255,255,255,0.52); backdrop-filter: blur(20px); position: relative; min-width: 165px; transition: background 0.3s; }
.cd-box + .cd-box { border-left: none; }
.cd-box::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.4s; }
.cd-box:hover::before { opacity: 1; }
.cd-box:hover { background: rgba(255,255,255,0.42); }
.cd-num { font-family: 'Playfair Display', serif; font-size: clamp(3.4rem, 7.5vw, 6.2rem); font-weight: 700; color: var(--navy); line-height: 1; transition: transform 0.2s; }
.cd-num.bump { animation: numBump 0.3s ease; }
@keyframes numBump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.20); color: var(--teal); } }
.cd-lbl { font-family: 'Jost', sans-serif; font-size: 0.70rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--ocean); margin-top: 0.7rem; }
.cd-sep { font-family: 'Playfair Display', serif; font-size: 3.8rem; color: rgba(6,40,70,0.28); display: flex; align-items: center; align-self: flex-start; padding-top: 2.3rem; }

/* ══════════════════════════════════
   DETALLES DEL EVENTO
══════════════════════════════════ */
#detalles { padding: 0; }
.detalles-inner { max-width: 1100px; margin: 0 auto; padding: 7rem 2rem; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; margin-top: 4.5rem; }
.detail-img-wrap { position: relative; }
.detail-img-frame { aspect-ratio: 3/4; overflow: hidden; background: rgba(200,200,200,0.3); }
.detail-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; filter: saturate(1.14); transition: transform 0.8s ease; }
.detail-img-frame:hover img { transform: scale(1.05); }
.detail-img-frame::before { content: ''; position: absolute; inset: 0; z-index: 2; border: 1px solid rgba(255,255,255,0.40); pointer-events: none; }
.detail-deco { position: absolute; bottom: -14px; right: -14px; width: calc(100% - 28px); height: calc(100% - 28px); border: 1px solid rgba(24,104,136,0.34); z-index: -1; transition: transform 0.4s; }
.detail-img-wrap:hover .detail-deco { transform: translate(4px, 4px); }
.dcards { display: flex; flex-direction: column; gap: 1.1rem; }
.dcard { padding: 1.9rem 2.1rem; border: 1px solid rgba(255,255,255,0.54); background: rgba(255,255,255,0.36); backdrop-filter: blur(20px); display: flex; align-items: flex-start; gap: 1.4rem; transition: border-color 0.4s, transform 0.3s; position: relative; overflow: hidden; }
.dcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--teal), var(--lteal)); transform: scaleY(0); transition: transform 0.4s; transform-origin: top; }
.dcard:hover::before { transform: scaleY(1); }
.dcard:hover { border-color: rgba(24,104,136,0.58); transform: translateX(5px); }
.dcard-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: 0.1rem; }
.dcard-ttl { font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.30em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.4rem; }
.dcard-val { font-family: 'Cormorant Garamond', serif; font-size: 1.52rem; font-weight: 400; color: var(--navy); line-height: 1.28; }
.dcard-sub { font-family: 'Jost', sans-serif; font-size: 0.82rem; color: var(--text-mid); display: block; margin-top: 0.30rem; letter-spacing: 0.04em; }
.map-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2rem; font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ocean); border: 1px solid rgba(14,64,96,0.34); padding: 0.8rem 1.7rem; text-decoration: none; cursor: none; transition: all 0.3s; background: rgba(255,255,255,0.30); }
.map-link:hover { border-color: var(--teal); background: rgba(255,255,255,0.46); }

/* ══════════════════════════════════
   DRESSCODE
══════════════════════════════════ */
#dresscode { padding: 7rem 2rem; text-align: center; }
.dc-wrap { max-width: 940px; margin: 0 auto; }
.dc-sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 1.36rem; line-height: 1.85; color: var(--navy); max-width: 620px; margin: 1.5rem auto 0; }
.palette { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 3.5rem; }
.pal { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; cursor: none; }
.pal-c { width: 82px; height: 82px; border-radius: 50%; border: 2px solid rgba(6,40,70,0.16); transition: transform 0.4s, box-shadow 0.4s; position: relative; overflow: hidden; }
.pal-c::after { content: ''; position: absolute; top: -30%; left: -30%; width: 50%; height: 50%; background: rgba(255,255,255,0.26); border-radius: 50%; }
.pal-c:hover { transform: scale(1.15) translateY(-6px); box-shadow: 0 20px 50px rgba(6,15,26,0.24); }
.pal-n { font-family: 'Jost', sans-serif; font-size: 0.60rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ocean); }
.dc-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; max-width: 720px; margin: 2.8rem auto 0; }
.dc-rule { padding: 1.6rem 1.9rem; border-left: 2px solid rgba(14,64,96,0.32); text-align: left; background: rgba(255,255,255,0.28); backdrop-filter: blur(10px); }
.dc-rule p { font-family: 'Jost', sans-serif; font-size: 0.92rem; color: var(--navy); line-height: 1.68; }

/* ══════════════════════════════════
   CONFIRMACIÓN
══════════════════════════════════ */
#confirmacion { padding: 7rem 2rem; }
.confirm-wrap { max-width: 1040px; margin: 0 auto; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; margin-top: 4rem; }
.ci-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 1.26rem; line-height: 1.88; color: var(--navy); margin-bottom: 2rem; }
.ci-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.ci-list li { display: flex; align-items: center; gap: 0.9rem; font-family: 'Jost', sans-serif; font-size: 0.82rem; color: var(--text-mid); }
.ci-list li::before { content: ''; width: 5px; height: 5px; background: var(--ocean); transform: rotate(45deg); flex-shrink: 0; }
.cform { background: rgba(255,255,255,0.40); backdrop-filter: blur(32px); border: 1px solid rgba(255,255,255,0.60); padding: 3rem 2.8rem; position: relative; }
.cform::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,0.26); pointer-events: none; }
.fg { margin-bottom: 1.7rem; }
.fg label { display: block; font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.5rem; }
.fg input, .fg select, .fg textarea { width: 100%; background: rgba(255,255,255,0.60); border: 1px solid rgba(6,40,70,0.24); color: var(--navy); padding: 0.92rem 1.1rem; font-family: 'Jost', sans-serif; font-size: 0.90rem; outline: none; transition: border-color 0.3s, background 0.3s; -webkit-appearance: none; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(6,40,70,0.40); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--teal); background: rgba(255,255,255,0.82); }
.fg textarea { resize: none; height: 95px; }
.fg select option { background: #cce8f5; color: var(--navy); }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-confirm { width: 100%; padding: 1.15rem; border: none; background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 50%, var(--lteal) 100%); color: var(--white); font-family: 'Jost', sans-serif; font-size: 0.76rem; letter-spacing: 0.34em; text-transform: uppercase; cursor: none; transition: opacity 0.3s, transform 0.2s; margin-top: 0.5rem; position: relative; overflow: hidden; }
.btn-confirm::before { content: ''; position: absolute; top: 50%; left: -120%; width: 80%; height: 300%; transform: translateY(-50%) skewX(-25deg); background: rgba(255,255,255,0.16); transition: left 0.6s; }
.btn-confirm:hover::before { left: 150%; }
.btn-confirm:hover { opacity: 0.90; }
.success-state { display: none; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; text-align: center; animation: fadeUp 0.7s ease; }
.success-ring { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--ocean); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: var(--ocean); animation: popIn 0.5s ease; }
.success-state h3 { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2rem; color: var(--navy); }
.success-state p { font-family: 'Jost', sans-serif; font-size: 0.84rem; color: var(--text-mid); line-height: 1.68; }

/* ══════════════════════════════════
   MUSIC PLAYER
══════════════════════════════════ */
.music-pill { position: fixed; bottom: 2rem; right: 2rem; z-index: 600; display: flex; align-items: center; gap: 0.9rem; background: rgba(6,15,26,0.82); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.24); padding: 0.68rem 1.4rem 0.68rem 0.78rem; border-radius: 99px; cursor: none; transition: background 0.3s, transform 0.2s; animation: fadeUp 1s ease 2.5s both; }
.music-pill:hover { background: rgba(6,15,26,0.97); transform: translateY(-2px); }
.music-btn { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--lteal)); border: none; color: var(--white); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; cursor: none; flex-shrink: 0; }
.music-info { display: flex; flex-direction: column; }
.music-title { font-family: 'Jost', sans-serif; font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.90); }
.music-bar { display: flex; gap: 2px; align-items: flex-end; height: 14px; margin-top: 3px; }
.music-bar span { width: 3px; background: var(--lteal); border-radius: 2px; animation: musicBar 1.2s ease-in-out infinite; }
.music-bar span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.music-bar span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.music-bar span:nth-child(3) { height: 8px;  animation-delay: 0.3s; }
.music-bar span:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.music-bar span:nth-child(5) { height: 6px;  animation-delay: 0.6s; }
.music-bar.paused span { animation-play-state: paused; }
@keyframes musicBar { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ══════════════════════════════════
   LIGHTBOX
══════════════════════════════════ */
#lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(2,8,18,0.97); backdrop-filter: blur(24px); display: none; align-items: center; justify-content: center; animation: lbFadeIn 0.35s ease; }
#lightbox.open { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-img-wrap { position: relative; max-width: 90vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
#lbImg {
  /* Portrait y landscape se ven completos */
  max-width: min(92vw, 900px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(180,228,248,0.24);
  box-shadow: 0 40px 140px rgba(0,0,0,0.88);
  animation: lbImgIn 0.4s cubic-bezier(0.16,1,0.3,1);
  display: block;
}
@keyframes lbImgIn { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#lbCaption { position: absolute; bottom: -2.8rem; left: 0; right: 0; text-align: center; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 1.18rem; color: rgba(255,255,255,0.80); letter-spacing: 0.07em; }
.lb-close { position: fixed; top: 1.5rem; right: 1.8rem; width: 50px; height: 50px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.24); border-radius: 50%; color: rgba(255,255,255,0.90); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: none; transition: all 0.3s; z-index: 9010; }
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; color: rgba(255,255,255,0.84); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; cursor: none; transition: all 0.3s; z-index: 9010; }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(180,228,248,0.24); border-color: rgba(180,228,248,0.58); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer { position: relative; z-index: 1; padding: 5.5rem 2rem 4rem; text-align: center; border-top: 1px solid rgba(6,40,70,0.16); }
.ft-shell { font-size: 2.2rem; margin-bottom: 1.2rem; opacity: 0.54; }
.ft-name { font-family: 'Sacramento', cursive; font-size: clamp(3.5rem, 12vw, 9rem); color: rgba(0, 0, 0, 0.65); letter-spacing: 0.02em; }
.ft-legal { font-family: 'Jost', sans-serif; font-size: 0.62rem; letter-spacing: 0.26em; color: rgba(0, 0, 0, 0.65); margin-top: 1.6rem; text-transform: uppercase; }
.ft-hearts { font-size: 1.1rem; letter-spacing: 0.45rem; color: rgba(0, 0, 0, 0.5); margin-top: 0.9rem; }

/* ══════════════════════════════════
   KEYFRAMES GLOBALES
══════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.24); } 100% { transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes bubbleUp { 0% { transform: translateY(0) scale(0.3); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 0.25; } 100% { transform: translateY(-105vh) scale(1); opacity: 0; } }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1000px) {
  nav { padding: 1.2rem 1.6rem; }
  .nav-menu { display: none; }
  .details-grid, .confirm-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .detail-img-wrap { display: block; width: 100%; max-width: 420px; margin: 0 auto; }
  .detail-img-frame { width: 100%; aspect-ratio: 3/4; min-height: 340px; overflow: hidden; }
  .detail-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; display: block; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .frase-inner { padding: 7rem 2.5rem; }
}
@media (max-width: 600px) {
  .hero-name { font-size: clamp(4.8rem, 25vw, 8rem); }
  .section-inner { padding: 4.5rem 1.4rem; }
  .cd-box { min-width: 85px; padding: 1.6rem 1.4rem; }
  .dc-rules { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; gap: 4px; }
  .intro-15 { font-size: clamp(9rem, 42vw, 14rem); }
  .intro-name { font-size: clamp(3.2rem, 16vw, 6rem); }
  .frase-texto { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
  .frase-texto::before, .frase-texto::after { display: none; }
  .frase-inner { padding: 6rem 2rem; }
}

/* ══════════════════════════════════
   TRANSICIÓN BURBUJAS — intro dismiss
══════════════════════════════════ */
#intro-screen .intro-center {
  transition: opacity 1.2s ease;
}

@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(0.4); opacity: 0; }
  6%   { opacity: 0.85; }
  88%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

/* ══════════════════════════════════
   SECCIÓN REGALOS
══════════════════════════════════ */
#regalos {
  padding: 7rem 1.5rem;
}

.regalos-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.regalos-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: giftFloat 3s ease-in-out infinite;
}

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

.regalos-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.8vw, 1.42rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.85;
  margin-bottom: 2.6rem;
  max-width: 540px;
}

/* Botón de regalo */
.btn-regalo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 50%, var(--lteal) 100%);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, opacity 0.3s;
  box-shadow: 0 6px 28px rgba(14,64,96,0.32);
}

.btn-regalo::before {
  content: '';
  position: absolute;
  top: 50%; left: -110%;
  width: 70%; height: 300%;
  transform: translateY(-50%) skewX(-25deg);
  background: rgba(255,255,255,0.18);
  transition: left 0.55s ease;
}

.btn-regalo:hover::before { left: 140%; }

.btn-regalo:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 38px rgba(14,64,96,0.42);
  opacity: 0.93;
}

.btn-regalo:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-regalo-icon {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-regalo:hover .btn-regalo-icon {
  transform: scale(1.25) rotate(-8deg);
}

/* ══════════════════════════════════
   MODAL REGALOS
══════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(6, 15, 26, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: overlayFadeIn 0.3s ease forwards;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(235, 245, 250, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.70);
  border-radius: 22px;
  padding: 2.8rem 2.4rem 2.4rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(6,15,26,0.38), 0 2px 8px rgba(255,255,255,0.18) inset;
  animation: modalEntrance 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  overflow: hidden;
}

@keyframes modalEntrance {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Esquinas corales decorativas */
.modal-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #e07c6a;
  border-style: solid;
}
.modal-corner-tl { top: 14px; left: 14px;  border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.modal-corner-tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 6px 0 0; }
.modal-corner-bl { bottom: 14px; left: 14px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 6px; }
.modal-corner-br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(14,64,96,0.10);
  border: 1px solid rgba(14,64,96,0.22);
  border-radius: 50%;
  color: var(--ocean);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: background 0.25s, transform 0.2s;
  z-index: 2;
}
.modal-close:hover {
  background: rgba(14,64,96,0.18);
  transform: rotate(90deg) scale(1.1);
}

/* Eyebrow y título */
.modal-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--lteal);
  margin-bottom: 0.4rem;
}

.modal-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
}

/* Filas de datos bancarios */
.modal-datos {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.modal-dato-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.72rem 1.1rem;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(14,64,96,0.12);
  border-radius: 10px;
  gap: 0.8rem;
}

.modal-dato-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean);
  flex-shrink: 0;
}

.modal-dato-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

/* Valor copiable */
.modal-copiable {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: none;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.modal-copiable:hover {
  background: rgba(46,156,186,0.14);
  color: var(--teal);
}

.modal-copy-btn {
  font-size: 0.8rem;
  color: var(--lteal);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.modal-copiable:hover .modal-copy-btn {
  opacity: 1;
  transform: scale(1.2);
}

/* Separador */
.modal-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.modal-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(14,64,96,0.22));
}

.modal-sep-line:last-child {
  background: linear-gradient(to left, transparent, rgba(14,64,96,0.22));
}

.modal-sep-icon {
  font-size: 1rem;
  opacity: 0.7;
}

/* Buzón */
.modal-buzon-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.modal-buzon-texto {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Toast copiado */
.modal-copied-toast {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 1.4rem;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.modal-copied-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive modal ── */
@media (max-width: 520px) {
  .modal-card {
    padding: 2.2rem 1.4rem 2rem;
  }
  .modal-dato-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .modal-dato-val {
    text-align: left;
  }
  .btn-regalo {
    padding: 1rem 2rem;
    font-size: 0.64rem;
  }
}

/* ══════════════════════════════════
   FORM — MEJORAS VALIDACIÓN
══════════════════════════════════ */

/* Asterisco requerido */
.req {
  color: #c0392b;
  margin-left: 2px;
}

/* Mensaje de error por campo */
.field-error {
  display: none;
  font-size: 0.72rem;
  color: #c0392b;
  margin-top: 0.3rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Instrucción descriptiva bajo el label */
.fg-instruccion {
  font-size: 0.72rem;
  color: rgba(26, 88, 120, 0.7);
  margin: 0 0 0.4rem 0;
  font-family: 'Jost', sans-serif;
  font-style: italic;
  line-height: 1.4;
}

/* Caja de subgrupos menú especial */
.menu-especial-box {
  background: rgba(26, 88, 120, 0.06);
  border: 1px solid rgba(26, 88, 120, 0.18);
  border-radius: 12px;
  padding: 1rem 1.2rem 0.8rem;
  margin-bottom: 0.6rem;
}

.menu-especial-hint {
  font-size: 0.75rem;
  color: rgba(26, 88, 120, 0.75);
  margin: 0 0 0.8rem 0;
  font-family: 'Jost', sans-serif;
  line-height: 1.5;
}

.menu-especial-hint small {
  display: block;
  font-size: 0.68rem;
  color: rgba(26, 88, 120, 0.55);
  margin-top: 0.15rem;
}

/* Sub-campos dentro de la caja de menú */
.menu-sub {
  margin-bottom: 0.5rem;
}

.menu-sub:last-of-type {
  margin-bottom: 0;
}

/* Input número (para cantidades de menú) */
.menu-sub input[type="number"] {
  width: 100%;
  max-width: 160px;
}

/* Error de suma de menús */
#errSumaMenus {
  display: none;
  font-size: 0.72rem;
  color: #c0392b;
  margin-top: 0.4rem;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — CORRECCIONES COMPLETAS
   - Fix banners (background-attachment: fixed no funciona en iOS)
   - Layout completamente adaptado a celulares
══════════════════════════════════════════════════════════════ */

/* ── Desactivar cursor personalizado en touch ── */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  *, a, button { cursor: auto !important; }
  #cur, #cur2 { display: none !important; }
}

/* ════════════════════════════════════════
   BANNERS — fix background-attachment:fixed
   en iOS/Safari mobile no funciona "fixed"
   Se reemplaza con scroll + object-fit
════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Hero banner */
  .hero-photo {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Quince banner */
  .quince-photo {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center 20% !important;
  }

  /* Frase bella banner */
  .frase-bg {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Background del body también sin fixed en mobile */
  body {
    background-attachment: scroll !important;
  }
}

/* ════════════════════════════════════════
   TABLET (max 1000px) — ajustes generales
════════════════════════════════════════ */
@media (max-width: 1000px) {
  /* Nav */
  nav {
    padding: 1rem 1.2rem;
  }
  .nav-cta { display: none; }

  /* Hero */
  #hero { height: 100svh; }
  .hero-name { font-size: clamp(4.5rem, 20vw, 9rem); }
  .hero-btns { gap: 0.8rem; }
  .btn-p, .btn-g { padding: 0.85rem 2rem; }

  /* Quince */
  .quince-content { padding: 4rem 1.5rem; }

  /* Frase */
  .frase-inner { padding: 6rem 2rem; }

  /* Book slider */
  .book-slider-wrap { min-height: 380px; max-height: 88vh; }
  .bs-img { max-height: 84vh; }
  .bs-arrow { width: 40px; height: 40px; font-size: 1.8rem; }

  /* Galería — 2 columnas, alturas adaptadas */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .g-item { height: 220px; }
  .g-item.portrait { height: 300px; }

  /* Detalles */
  .details-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-img-wrap { display: block; width: 100%; max-width: 380px; margin: 0 auto; }
  .detail-img-frame { width: 100%; aspect-ratio: 3/4; min-height: 320px; overflow: hidden; }
  .detail-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; display: block; }

  /* Confirmación */
  .confirm-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Dresscode */
  .dc-rules { grid-template-columns: 1fr; }

  /* Countdown */
  .cd-box { min-width: 110px; padding: 1.8rem 1.6rem; }
}

/* ════════════════════════════════════════
   MOBILE (max 600px) — celulares
════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── NAV MOBILE ── */
  nav {
    padding: 0.9rem 1rem;
  }
  .nav-brand { font-size: 1.9rem; }
  .nav-menu { display: none; }
  .nav-cta { display: none; }

  /* ── INTRO ── */
  .intro-center { padding: 1.2rem; }
  .intro-15 { font-size: clamp(8rem, 40vw, 13rem); }
  .intro-15-fill { font-size: clamp(8rem, 40vw, 13rem); }
  .intro-name { font-size: clamp(3rem, 15vw, 5.5rem); margin-top: -0.6rem; }
  .intro-mis { font-size: clamp(1rem, 3.5vw, 1.5rem); letter-spacing: 0.50em; }
  .intro-tap-wrap { margin-top: 1.8rem; }
  .intro-deco-line { width: 35px; }

  /* ── HERO ── */
  #hero { height: 100svh; min-height: 600px; }
  .hero-photo {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  .hero-pre { font-size: clamp(1rem, 3.5vw, 1.4rem); letter-spacing: 0.18em; }
  .hero-name { font-size: clamp(4.2rem, 22vw, 7rem); }
  .hero-apellido { font-size: clamp(0.9rem, 3.8vw, 1.5rem); letter-spacing: 0.45em; }
  .hero-divider { gap: 1rem; margin: 1.4rem 0 1.2rem; }
  .hero-divider-line { width: 50px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.7rem; margin-top: 1.8rem; }
  .btn-p, .btn-g { width: 100%; max-width: 280px; text-align: center; padding: 1rem 1.5rem; }
  .scroll-hint { bottom: 1.8rem; }

  /* ── SECCIONES GENERALES ── */
  .section-inner { padding: 3.5rem 1.2rem; }
  .s-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .s-title-light { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  /* ── QUINCE ── */
  #quince { min-height: 80vh; }
  .quince-photo {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center 20% !important;
  }
  .quince-content { padding: 3.5rem 1.2rem; }
  .quince-num { font-size: clamp(7rem, 35vw, 14rem); }
  .quince-num-fill { font-size: clamp(7rem, 35vw, 14rem); }
  .quince-label { font-size: clamp(1.3rem, 5vw, 2rem); }
  .quince-quote { font-size: 1.1rem; margin-top: 1.8rem; padding-top: 1.5rem; }
  .quince-hearts { letter-spacing: 0.6rem; font-size: 1.8rem; }

  /* ── MENSAJE PERSONAL ── */
  #mensaje-personal { padding: 4.5rem 1.2rem; }
  .mp-text { font-size: clamp(1.3rem, 4.5vw, 2rem); }
  .mp-firma { font-size: 2.8rem; }
  .mp-quote-mark { font-size: 6rem; }

  /* ── FRASE BELLA ── */
  #frase-bella { overflow: hidden; }
  .frase-bg {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  .frase-inner { padding: 5rem 1.5rem; }
  .frase-texto {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    padding: 0 0.5rem;
  }
  .frase-texto::before, .frase-texto::after { display: none; }
  .frase-eyebrow { letter-spacing: 0.40em; }
  .frase-deco { margin-bottom: 2.5rem; }
  .frase-autora { margin-top: 3rem; }

  /* ── BOOK SLIDER MÓVIL ── */
  .book-header { padding: 3.5rem 1.2rem 2.5rem; }
  /* Sin altura fija: el slider se adapta a la foto */
  .book-slider-wrap { min-height: 340px; max-height: 92vh; }
  .bs-track { min-height: 340px; }
  .bs-img {
    max-width: 100vw;
    max-height: 88vh;
  }
  .bs-blur-bg { filter: blur(20px) brightness(0.4) saturate(0.6); }
  .book-slide-caption { font-size: clamp(1.1rem, 4.5vw, 1.6rem); padding: 0 3rem; padding-bottom: 3.5rem; padding-top: 2.5rem; }
  .bs-arrow { width: 36px; height: 36px; font-size: 1.6rem; }
  .bs-arrow-prev { left: 0.5rem; }
  .bs-arrow-next { right: 0.5rem; }
  .bsdot { width: 18px; }
  .bsdot.active { width: 34px; }
  .bs-counter { font-size: 0.65rem; top: 0.6rem; right: 0.6rem; }

  /* ── GALERÍA GRID MÓVIL ── */
  .book-gallery-title { padding: 3rem 1.2rem 1.5rem; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 0 4rem;
  }
  /* Fotos landscape: cuadradas */
  .g-item { height: 44vw; }
  /* Fotos portrait: más altas para que se vean bien */
  .g-item.portrait { height: 64vw; }

  /* ── COUNTDOWN ── */
  #countdown { padding: 4rem 1rem; }
  .cd-wrap { gap: 0; }
  .cd-box {
    min-width: 72px;
    padding: 1.2rem 0.8rem;
    flex: 1;
  }
  .cd-num { font-size: clamp(2.2rem, 8vw, 4rem); }
  .cd-lbl { font-size: 0.52rem; letter-spacing: 0.28em; }
  .cd-sep { font-size: 2.2rem; padding-top: 1.4rem; }

  /* ── DETALLES ── */
  .detalles-inner { padding: 4rem 1.2rem; }
  .details-grid { gap: 1.5rem; margin-top: 2.5rem; }
  .detail-img-wrap { display: block; width: 100%; max-width: 320px; margin: 0 auto 1rem; }
  .detail-img-frame {
    width: 100%;
    aspect-ratio: 3/4;
    min-height: 280px;
    overflow: hidden;
    background: rgba(200,200,200,0.3);
  }
  .detail-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
  }
  .detail-deco { display: none; }
  .dcards { gap: 0.8rem; }
  .dcard { padding: 1.4rem 1.4rem; gap: 1rem; }
  .dcard-val { font-size: 1.2rem; }
  .map-link { width: 100%; justify-content: center; }

  /* ── DRESSCODE ── */
  #dresscode { padding: 4rem 1.2rem; }
  .dc-sub { font-size: 1.1rem; }
  .dc-rules { grid-template-columns: 1fr; gap: 0.7rem; }
  .dc-rule { padding: 1.2rem 1.4rem; }
  .pal-c { width: 66px; height: 66px; }
  .palette { gap: 1rem; }

  /* ── REGALOS ── */
  #regalos { padding: 4rem 1.2rem; }
  .regalos-text { font-size: 1.1rem; }
  .btn-regalo { padding: 1rem 2.2rem; font-size: 0.65rem; width: 100%; max-width: 300px; justify-content: center; }

  /* ── CONFIRMACIÓN ── */
  #confirmacion { padding: 4rem 1.2rem; }
  .confirm-wrap { padding: 0; }
  .confirm-grid { gap: 1.8rem; margin-top: 2.5rem; }
  .cform { padding: 1.8rem 1.4rem; }
  .cform::before { inset: 5px; }
  .fg-row { grid-template-columns: 1fr; gap: 0; }
  .fg input, .fg select, .fg textarea { font-size: 1rem; padding: 0.85rem 1rem; }
  .btn-confirm { padding: 1.1rem; font-size: 0.60rem; letter-spacing: 0.30em; }
  .ci-text { font-size: 1.1rem; }

  /* ── MUSIC PILL ── */
  .music-pill {
    bottom: 1rem;
    right: 1rem;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
    gap: 0.6rem;
  }
  .music-title { display: none; }

  /* ── LIGHTBOX ── */
  .lb-prev { left: 0.4rem; width: 46px; height: 46px; }
  .lb-next { right: 0.4rem; width: 46px; height: 46px; }
  .lb-close { top: 0.8rem; right: 0.8rem; width: 42px; height: 42px; }
  #lbImg { max-width: 96vw; max-height: 75vh; }

  /* ── FOOTER ── */
  footer { padding: 3.5rem 1.2rem 3rem; }
  .ft-name { font-size: clamp(2.8rem, 16vw, 6rem); }

  /* ── MODAL REGALOS ── */
  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal-card {
    max-width: 100%;
    border-radius: 22px 22px 16px 16px;
    padding: 2rem 1.3rem 1.8rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-dato-row { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .modal-dato-val { text-align: left; font-size: 0.96rem; }
}

/* ════════════════════════════════════════
   MOBILE PEQUEÑO (max 380px)
════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-name { font-size: clamp(3.6rem, 20vw, 5.5rem); }
  .cd-box { min-width: 60px; padding: 1rem 0.5rem; }
  .cd-num { font-size: clamp(1.9rem, 7.5vw, 3rem); }
  .gallery-grid { grid-auto-rows: 44vw; }
  .cform { padding: 1.4rem 1rem; }
  .intro-15 { font-size: clamp(7rem, 38vw, 11rem); }
  .intro-15-fill { font-size: clamp(7rem, 38vw, 11rem); }
}
