/* ═══════════════════════════════════════════════
   GNZ Invitaciones — Plan Esencial
   ═══════════════════════════════════════════════ */

:root {
  --gold: #c9a45c;
  --gold-light: #e8d5a3;
  --gold-deep: #a7822f;
  --bg-deep: #0d0a12;
  --bg-mid: #1a1426;
  --bg-card: #231a30;
  --cream: #faf8f4;
  --paper: #f5f1e8;
  --text-dark: #1d1426;
  --text-mid: #6c6173;
  --text-light: #efe9f1;
  --text-dim: #ab9fb6;
  --line: rgba(201, 164, 92, .2);
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  background: var(--bg-deep);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Container ── */
.inv-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* ── Section helpers ── */
.section-label {
  font-family: var(--font-b);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
  flex-shrink: 0;
}

.section-label.light {
  color: var(--gold-light);
}

.section-label.light::before,
.section-label.light::after {
  background: var(--gold-light);
}

.section-heading {
  font-family: var(--font-d);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 36px;
  line-height: 1.1;
}

.section-heading.light {
  color: var(--text-light);
}

/* ════════════════════════════════════════════════
   SPLASH — SOBRE 4 PÉTALOS
   Cuatro triángulos que se abren como una flor,
   revelando la portada detrás.
   ════════════════════════════════════════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  cursor: pointer;
  overflow: hidden;
}

/* ── Los 4 triángulos del sobre ── */
.env-panel {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  transition: transform 2.4s cubic-bezier(.25,.46,.45,.94),
              opacity .8s ease 1.6s;
}

/* Triángulo SUPERIOR — flap del sobre */
.env-panel-top {
  background: linear-gradient(to bottom, #f9f1e0 0%, #e9d6a8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 50.5%);
}
/* Triángulo INFERIOR */
.env-panel-bot {
  background: linear-gradient(to top, #f5ecda 0%, #e8d2a2 100%);
  clip-path: polygon(49.5% 50%, 0 100%, 100% 100%);
}
/* Triángulo IZQUIERDO */
.env-panel-left {
  background: linear-gradient(to right, #f0e4c8 0%, #e6d09e 100%);
  clip-path: polygon(0 0, 50.5% 50%, 0 100%);
}
/* Triángulo DERECHO */
.env-panel-right {
  background: linear-gradient(to left, #f3e8d2 0%, #e9d5a4 100%);
  clip-path: polygon(100% 0, 100% 100%, 49.5% 50%);
}

/* Textura de papel: líneas de crease sutiles en cada triángulo */
.env-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .55;
}
.env-panel-top::before {
  background:
    linear-gradient(to bottom right, transparent 49.2%, rgba(140,95,20,.12) 49.8%, transparent 50.4%),
    linear-gradient(to bottom left,  transparent 49.2%, rgba(140,95,20,.12) 49.8%, transparent 50.4%);
}
.env-panel-bot::before {
  background:
    linear-gradient(to top right, transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%),
    linear-gradient(to top left,  transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%);
}
.env-panel-left::before {
  background:
    linear-gradient(to right top,    transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%),
    linear-gradient(to right bottom, transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%);
}
.env-panel-right::before {
  background:
    linear-gradient(to left top,    transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%),
    linear-gradient(to left bottom, transparent 49.2%, rgba(140,95,20,.1) 49.8%, transparent 50.4%);
}

/* Sombra degradada en los bordes internos de cada triángulo (profundidad) */
.env-panel-top::after,
.env-panel-bot::after,
.env-panel-left::after,
.env-panel-right::after { content: ''; position: absolute; inset: 0; }
.env-panel-top::after    { background: radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(120,80,10,.06) 0%, transparent 70%); }
.env-panel-bot::after    { background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(120,80,10,.06) 0%, transparent 70%); }
.env-panel-left::after   { background: radial-gradient(ellipse 60% 80% at 0% 50%,   rgba(120,80,10,.05) 0%, transparent 70%); }
.env-panel-right::after  { background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(120,80,10,.05) 0%, transparent 70%); }

/* Marco dorado interior */
.env-fold-h {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201,164,92,.25);
  z-index: 4;
  pointer-events: none;
  transition: opacity .25s ease;
  /* Small corner ornaments */
  background:
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) top left    / 12px 1px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) top left    / 1px 12px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) top right   / 12px 1px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) top right   / 1px 12px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) bottom left / 12px 1px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) bottom left / 1px 12px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) bottom right/ 12px 1px no-repeat,
    linear-gradient(rgba(201,164,92,.3), rgba(201,164,92,.3)) bottom right/ 1px 12px no-repeat;
}

/* ── Centro del sobre (sello + nombres + hint) ── */
.env-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  pointer-events: none;
  transition: opacity .25s ease, transform .3s ease;
}
.splash.opening .env-center {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.88);
}

/* Sello de lacre */
.env-seal {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #e0b84a 0%, #b8842a 55%, #8a5e1a 100%);
  border: 2.5px solid rgba(255,255,255,.3);
  box-shadow:
    0 8px 28px rgba(0,0,0,.4),
    0 2px 6px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 4px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  animation: sealPulse 3s ease-in-out infinite 1.3s;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s ease;
  position: relative;
}
/* Anillo decorativo interior del sello */
.env-seal::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
}
.env-seal.break {
  transform: scale(0) rotate(30deg);
  opacity: 0;
}
@keyframes sealPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.15), 0 0 0 0 rgba(201,164,92,0); }
  50%       { box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.15), 0 0 0 14px rgba(201,164,92,.14); }
}
.seal-ini {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  line-height: 1;
  user-select: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.seal-amp {
  font-family: var(--font-d);
  font-style: italic;
  font-size: .68rem;
  color: rgba(255,255,255,.65);
  line-height: 1;
  user-select: none;
}

/* Nombres de los novios debajo del sello */
.env-couple {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: envNamesIn .8s cubic-bezier(.4,0,.2,1) forwards 1.6s;
}
@keyframes envNamesIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.env-name {
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 500;
  color: rgba(75,48,10,.82);
  letter-spacing: .02em;
  user-select: none;
}
.env-name-amp {
  font-family: var(--font-d);
  font-style: italic;
  font-size: .95rem;
  color: rgba(167,130,47,.7);
  user-select: none;
}

/* ── Hint ── */
.splash-touch-hint {
  font-family: var(--font-b);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(100,70,20,.6);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  animation: hintAppear .8s ease forwards 2.2s;
}
@keyframes hintAppear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.splash-touch-hint.blinking { animation: hintBlink 2.4s ease-in-out infinite; }
@keyframes hintBlink {
  0%, 100% { opacity: .45; }
  50%       { opacity: .9; }
}

/* ── APERTURA: 4 pétalos se deslizan hacia las orillas con escala ── */
.splash.opening .env-panel-top   { transform: translateY(-112%) scale(.92); opacity: 0; }
.splash.opening .env-panel-bot   { transform: translateY(112%)  scale(.92); opacity: 0; }
.splash.opening .env-panel-left  { transform: translateX(-112%) scale(.92); opacity: 0; }
.splash.opening .env-panel-right { transform: translateX(112%)  scale(.92); opacity: 0; }

/* Stagger suave — izq/der primero, arriba/abajo con pausa más notoria */
.splash.opening .env-panel-left  { transition-delay: 0s;   }
.splash.opening .env-panel-right { transition-delay: 0s;   }
.splash.opening .env-panel-top   { transition-delay: .22s; }
.splash.opening .env-panel-bot   { transition-delay: .22s; }

.splash.opening .env-fold-h { opacity: 0; transition: opacity .3s ease .1s; }

/* ════ PORTADA ════ */
.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/img1.png');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-color: #1a1030;
  animation: kenBurns 10s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.08) translateY(1%); }
  to   { transform: scale(1)    translateY(0);  }
}

/* Portada: contenido empieza oculto y se revela tras el splash */
.cover-content,
.cover-scroll { opacity: 0; }
.cover.revealed .cover-content,
.cover.revealed .cover-scroll { opacity: 1; }
@media (min-width: 768px) {
  .cover-bg { background-position: center 55%; }
  .cover { min-height: 100vh; }
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 10, 18, .55) 0%,
      rgba(13, 10, 18, .45) 35%,
      rgba(13, 10, 18, .65) 75%,
      rgba(13, 10, 18, .88) 100%);
}

.cover-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cover-eyebrow {
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.cover-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.cover-ornament span {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .5));
}

.cover-ornament span:last-child {
  background: linear-gradient(90deg, rgba(201, 164, 92, .5), transparent);
}

.cover-names {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  line-height: .95;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .5);
}

.cover-amp {
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--gold);
  font-style: italic;
  line-height: 1;
}

.cover-date {
  font-family: var(--font-b);
  font-size: .78rem;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .85);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

/* Centrado con left/right en vez de transform para no chocar con las animaciones */
.cover-scroll {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

/* Ícono de mouse */
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  box-sizing: border-box;
}
.scroll-dot {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,.65);
  border-radius: 2px;
  animation: scrollDot 1.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scrollDot {
  0%          { transform: translateY(0);   opacity: .9; }
  60%         { transform: translateY(9px); opacity: .2; }
  61%, 100%   { transform: translateY(0);   opacity: 0;  }
}


/* ════ MENSAJE ════ */
.message {
  background: var(--cream);
  padding: 60px 0 72px;
}

/* Monograma */
.welcome-mono {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.mono-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(167,130,47,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(167,130,47,.06), inset 0 0 0 8px rgba(167,130,47,.04);
}
.mono-ring::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(167,130,47,.15);
}
.mono-initial {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.mono-amp {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1rem;
  color: rgba(167,130,47,.55);
  line-height: 1;
  margin: 0 1px;
}

.message-text {
  font-family: var(--font-d);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* ════ FAMILIAS ════ */
.families {
  background: var(--plum-900, #170f1f);
  padding: 88px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.families::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,164,92,.06) 0%, transparent 65%);
  pointer-events: none;
}
.families-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
}
.family-block {
  padding: 28px 24px;
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.family-role {
  font-family: var(--font-b);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold, #c9a45c);
  margin-bottom: 16px;
}
.family-name {
  font-family: var(--font-d, 'Cormorant Garamond', serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-light, #efe9f1);
  line-height: 1.6;
}
.family-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.family-sep span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,164,92,.3));
}
.family-sep span:last-child {
  background: linear-gradient(90deg, rgba(201,164,92,.3), transparent);
}
.family-sep svg { flex-shrink: 0; }

/* ════ DETALLES ════ */
.details {
  background: var(--paper);
  padding: 84px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.detail-card {
  background: var(--cream);
  border: 1px solid rgba(201, 164, 92, .15);
  border-radius: 18px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow .3s;
}

.detail-card:hover {
  box-shadow: 0 8px 24px rgba(201, 164, 92, .1);
}

.detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 164, 92, .1);
  border: 1px solid rgba(201, 164, 92, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}

.detail-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.detail-value {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  text-align: center;
}

.detail-time {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-deep);
  background: rgba(201, 164, 92, .1);
  border: 1px solid rgba(201, 164, 92, .2);
  border-radius: 100px;
  padding: 2px 10px;
}

/* ════ CUENTA REGRESIVA ════ */
.countdown-section {
  background: var(--bg-mid);
  padding: 84px 0;
  text-align: center;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.cd-number {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  min-width: 2ch;
  display: block;
}

.cd-label {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.cd-dot {
  font-family: var(--font-d);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--gold);
  opacity: .4;
  line-height: 1;
  padding-bottom: 24px;
}

.countdown-sub {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ════ UBICACIÓN ════ */
.location {
  background: var(--paper);
  padding: 84px 0 60px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.location-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(201, 164, 92, .1);
  border: 1px solid rgba(201, 164, 92, .2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 14px;
  width: fit-content;
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, .15);
  margin-bottom: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.map-wrap iframe {
  display: block;
}

.location-info {
  text-align: center;
}

.location-name {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.location-address {
  font-size: .82rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: #fff;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s, transform .3s;
}

.btn-map:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ════ RSVP ════ */
.rsvp {
  background: var(--bg-deep);
  padding: 84px 0;
  text-align: center;
}

.rsvp-sub {
  font-size: .95rem;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.6;
}

.rsvp-sub strong {
  color: var(--gold-light);
  font-weight: 600;
}

.rsvp-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.btn-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 100px;
  font-family: var(--font-b);
  font-size: .95rem;
  font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  min-width: 240px;
}

.btn-rsvp:hover {
  transform: translateY(-3px);
}

.btn-yes {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .2);
}

.btn-yes:hover {
  box-shadow: 0 10px 32px rgba(37, 211, 102, .4);
}

.btn-no {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, .12);
}

.btn-no:hover {
  border-color: rgba(255, 255, 255, .3);
  color: var(--text-light);
}

.rsvp-note {
  margin-top: 20px;
  font-size: .75rem;
  color: var(--text-dim);
  opacity: .7;
}

/* ════ FOOTER ════ */
.inv-footer {
  background: var(--bg-deep);
  overflow: hidden;
}

.footer-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.footer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

@media (min-width: 768px) {
  .footer-img-wrap { height: 480px; }
  .footer-img { object-position: center 30%; }
}

.footer-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 10, 18, .1) 0%,
      rgba(13, 10, 18, .6) 70%,
      rgba(13, 10, 18, 1) 100%);
}

.footer-content {
  padding: 32px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-names {
  font-family: var(--font-d);
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.footer-date {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--text-dim);
}

.footer-brand {
  font-size: .72rem;
  color: var(--text-dim);
  opacity: .6;
  margin-top: 8px;
}

.footer-brand a {
  color: var(--gold);
  opacity: 1;
}

.footer-brand a:hover {
  text-decoration: underline;
}

/* ════ RESPONSIVE ════ */
@media (max-width: 540px) {
  .details-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .countdown {
    gap: 4px;
  }

  .cd-item {
    min-width: 60px;
  }

  .cd-dot {
    font-size: 1.8rem;
    padding-bottom: 18px;
  }

  .btn-rsvp {
    min-width: 200px;
    padding: 14px 28px;
  }
}

/* ════ PROGRESS NAV ════ */
.progress-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(13,10,18,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201,164,92,.15);
  border-radius: 100px;
  padding: 14px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.progress-nav.show {
  opacity: 1;
  pointer-events: all;
}
.prog-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background .35s, transform .35s;
  flex-shrink: 0;
}
.prog-dot.active {
  background: var(--gold);
  transform: scale(1.45);
}
.prog-dot span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-b);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  background: rgba(13,10,18,.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(201,164,92,.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.prog-dot:hover span,
.prog-dot.active span { opacity: 1; }

@media (max-width: 480px) {
  .progress-nav { right: 10px; padding: 10px 6px; }
  .prog-dot span { display: none; }
}