/* ==========================================================================
   BODA VÍCTOR & MARGIORY — SUITE NUPCIAL FLORAL DUSTY BLUE (100% VERTICAL)
   Lienzo de papelería nupcial exclusivo, continuo y optimizado para móviles y escritorio
   ========================================================================== */

:root {
  /* Paleta Oficial Dusty Blue */
  --c-bg-slate: #7d95ab;
  --c-bg-slate-dark: #698197;
  --c-bg-slate-light: #8fa5ba;

  /* Tarjeta y Papelería */
  --c-card-white: #ffffff;
  --c-card-cream: #fafbfc;
  --c-wash-blue: #e3edf4;
  --c-border-subtle: #dce6ef;
  --c-border-line: #c2d1df;

  /* Botones y Acentos */
  --c-btn-pill: #7c94ab;
  --c-btn-pill-hover: #677f96;
  --c-btn-shadow: rgba(124, 148, 171, 0.42);

  /* Tipografía */
  --c-text-navy: #1f2e3d;
  --c-text-body: #455769;
  --c-text-muted: #64788c;
  --c-text-light: #8094a6;

  /* Familias tipográficas */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================= RESET Y BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html,
body,
body.theme-dusty-blue {
  background-color: var(--c-bg-slate);
  background-image: linear-gradient(145deg, #748da3 0%, #839bb2 50%, #768f9f 100%);
  background-attachment: fixed;
  color: var(--c-text-body);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= CONTENEDOR PRINCIPAL VERTICAL ================= */
.invitation-viewport-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 36px 16px 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ================= TARJETA ÚNICA CONTINUA VERTICAL ================= */
.invitation-card-vertical {
  background: var(--c-card-white);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 24px 70px rgba(18, 35, 52, 0.28),
    0 6px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.invitation-card-vertical:hover {
  box-shadow: 
    0 28px 80px rgba(18, 35, 52, 0.34),
    0 8px 26px rgba(0, 0, 0, 0.1);
}

.card-inner-padding {
  padding: 0 28px 24px;
}

.card-second-half {
  padding-top: 14px;
}

/* ================= 1. BOUQUET SUPERIOR IZQUIERDO ================= */
.card-floral-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 155px;
  z-index: 1; /* Detrás del texto */
  pointer-events: none;
  opacity: 0.92;
}

.card-floral-corner .floral-asset {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.04));
}

/* ================= 2. VERSÍCULO BÍBLICO ================= */
.ref-verse-block {
  position: relative;
  z-index: 3; /* Por delante de las flores */
  padding-top: 50px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  margin-bottom: 22px;
}

.verse-quote-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
  color: #1a2c3e; /* Navy oscuro de alto contraste */
  font-weight: 600;
  max-width: 330px;
  margin: 0 auto;
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 4px #ffffff,
    0 1px 2px rgba(255, 255, 255, 0.8);
}

.verse-citation {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3f556b;
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 3px #ffffff;
}

/* ================= 3. MONOGRAMA ================= */
.ref-monogram-block {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 22px;
}

.monogram-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  line-height: 1;
}

.mono-letter {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  color: #172635;
  letter-spacing: 0.05em;
}

.mono-line {
  display: inline-block;
  width: 1.5px;
  height: 2.5rem;
  background-color: #213244;
}

.mono-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3b5064;
  font-weight: 700;
  margin-top: 8px;
}

/* ================= 4. FOTO CON PAPEL RASGADO ================= */
.photo-deckle-wrapper {
  position: relative;
  width: 100%;
  margin: 12px 0 24px;
  background: #f1ede6;
  overflow: hidden;
}

.deckle-edge {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  line-height: 0;
}

.deckle-top {
  top: -1px;
}

.deckle-bot {
  bottom: -1px;
}

.deckle-edge img {
  display: block;
  width: 100%;
  height: 28px;
}

.deckle-photo-carousel {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  cursor: pointer;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

/* ================= 5. PADRES ================= */
.ref-parents-block {
  text-align: center;
  margin-bottom: 22px;
}

.parents-intro-text {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #556c80;
  font-weight: 500;
  margin-bottom: 12px;
}

.parents-grid-clean {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.parent-clean-col {
  flex: 1;
}

.parent-role-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b92a6;
  font-weight: 600;
  margin-bottom: 4px;
}

.parent-person-name {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  line-height: 1.45;
  color: var(--c-text-navy);
  font-weight: 500;
}

/* ================= 6. NOMBRES CON FLORES FLANQUEANTES ================= */
.ref-couple-names-section {
  text-align: center;
  margin-bottom: 26px;
}

.nosotros-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #647b91;
  font-weight: 600;
  margin-bottom: 8px;
}

.names-with-florals {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 10px;
}

.names-calligraphy-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calligraphy-name {
  font-family: var(--font-script);
  font-size: 3.4rem;
  font-weight: 400;
  color: #172635;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.name-groom {
  margin-right: 22px;
}

.calligraphy-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: #7992a7;
  line-height: 1;
  margin: -6px 0 -4px;
}

.name-bride {
  margin-left: 22px;
}

.floral-flank {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.03));
}

.floral-flank-l {
  left: 14px;
  width: 95px;
  height: auto;
}

.floral-flank-r {
  right: 14px;
  width: 95px;
  height: auto;
}

/* ================= 7. FECHA Y LUGAR ================= */
.ref-date-ceremony-section {
  text-align: center;
}

.honor-invitation-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #556c80;
  font-weight: 500;
  margin-bottom: 14px;
}

.ref-date-lockup {
  margin-bottom: 22px;
}

.date-month-lbl {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #61778c;
  font-weight: 600;
  margin-bottom: 6px;
}

.date-day-display-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.date-day-word {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #50667b;
  font-weight: 500;
}

.date-sep-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--c-border-line);
}

.date-day-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: #69859e;
  line-height: 1;
  margin: 0 4px;
}

.date-year-num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #50667b;
  font-weight: 500;
}

.date-hour-lbl {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #556c80;
  font-weight: 600;
}

.ref-venue-block {
  margin-top: 14px;
}

.venue-title-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.venue-main-name {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b5064;
  font-weight: 600;
  margin-bottom: 4px;
}

.venue-address-line {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #697d91;
  margin-bottom: 18px;
}

.btn-ref-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--c-btn-pill);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--c-btn-shadow);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.btn-ref-pill:hover {
  background: var(--c-btn-pill-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(103, 127, 150, 0.5);
}

.btn-pointer-icon {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.btn-ref-pill:hover .btn-pointer-icon {
  transform: translate(2px, 2px);
}

/* ================= 8. ITINERARIO BANNER ACUARELA ================= */
.itinerary-watercolor-banner {
  background: linear-gradient(180deg, #dbe6f0 0%, #ebf2f8 80%, #f6f9fc 100%);
  position: relative;
  padding: 38px 24px 44px;
  text-align: center;
  margin-top: 10px;
}

.itinerary-banner-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #384d61;
  font-weight: 600;
  margin-bottom: 26px;
}

.itinerary-vertical-timeline {
  position: relative;
  max-width: 230px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.itinerary-line-track {
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #acc2d4;
}

.itinerary-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}

.itinerary-icon-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cad9e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #556c80;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.itinerary-details {
  text-align: left;
}

.node-time {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #35495c;
  font-weight: 600;
  line-height: 1.2;
}

.node-desc {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: #5b6f83;
  line-height: 1.1;
}

/* ================= 9. SUGERENCIA DE REGALO ================= */
.ref-gift-section {
  text-align: center;
  padding-top: 28px;
  margin-bottom: 22px;
}

.gift-body-text {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1.65;
  color: #475a6c;
  text-transform: uppercase;
  margin: 8px 12px 18px;
}

.gift-qr-box {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.qr-preview-img {
  width: 140px;
  height: 140px;
  border: 1px solid #d8e4ee;
  padding: 6px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.bank-accounts-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 330px;
  margin: 0 auto;
}

.bank-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f8fa;
  border: 1px solid #dce7f0;
  border-radius: 8px;
  padding: 7px 12px;
}

.bank-pill-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.bank-holder-name {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: #657b8e;
  font-weight: 500;
}

.bank-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: #24374a;
  letter-spacing: 0.06em;
  font-family: monospace;
}

.btn-copy-chip {
  background: var(--c-btn-pill);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-chip:hover {
  background: var(--c-btn-pill-hover);
}

/* ================= 11. DIVIDER ANÉMONA ================= */
.ref-anemone-divider {
  text-align: center;
  margin: 18px 0 16px;
}

.anemone-img {
  width: 100%;
  max-width: 215px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
}

/* ================= 12. CONFIRMACIÓN / WHATSAPP ================= */
.ref-rsvp-section {
  text-align: center;
  margin-bottom: 24px;
}

.wa-bubble {
  color: #25d366;
  font-size: 1.5rem;
}

.rsvp-deadline-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #607589;
  margin: 6px 12px 16px;
  line-height: 1.5;
}

.rsvp-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.rsvp-action-buttons .btn-ref-pill {
  width: 100%;
}

.btn-personalize-rsvp {
  background: none;
  border: none;
  color: #6a8196;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
  display: inline-block;
  transition: color 0.2s;
}

.btn-personalize-rsvp:hover {
  color: var(--c-text-navy);
}

/* ================= 13. VESTIMENTA ================= */
.ref-dresscode-section {
  text-align: center;
  margin-bottom: 20px;
}

.dresscode-silhouette-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 12px;
}

.silhouette-img {
  width: 60px;
  height: auto;
  display: block;
}

.dress-label-bold {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-text-navy);
  font-weight: 700;
  margin-bottom: 24px;
}

.wedding-notes-item {
  margin-bottom: 22px;
}

.notes-heading {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-navy);
  margin-bottom: 6px;
}

.notes-body {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #455769;
  max-width: 340px;
  margin: 0 auto;
}

.dress-thanks-block {
  margin-top: 26px;
}

.thanks-presence {
  font-family: var(--font-serif);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #556c80;
  font-weight: 600;
}

.thanks-script {
  font-family: var(--font-script);
  font-size: 2.85rem;
  font-weight: 400;
  color: #172635;
  line-height: 1.1;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ================= 14. BOUQUET INFERIOR ================= */
.ref-bottom-floral-box {
  margin-top: 16px;
  text-align: center;
}

.footer-floral-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
}

/* ================= 15. PIE DE PÁGINA ================= */
.card-ref-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-border-subtle);
  text-align: center;
}

.mini-countdown-capsule {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #63788b;
  margin-bottom: 8px;
}

.mini-cd-label {
  font-weight: 600;
  text-transform: uppercase;
}

.mini-cd-num {
  font-weight: 700;
  color: var(--c-text-navy);
}

.calendar-add-wrapper {
  margin-bottom: 10px;
}

.btn-mini-calendar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #5e7488;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--c-border-subtle);
  transition: all 0.2s;
}

.btn-mini-calendar:hover {
  background: #f0f5f9;
  color: var(--c-text-navy);
}

.developer-credit-text {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: #8fa2b3;
}

.developer-credit-text a {
  color: #6f869a;
  text-decoration: none;
  font-weight: 600;
}

.developer-credit-text a:hover {
  text-decoration: underline;
}

/* ================= BOTONES FLOTANTES ================= */
.floating-audio-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-card-white);
  border: 1.5px solid var(--c-btn-pill);
  color: var(--c-btn-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.floating-audio-btn:hover {
  transform: scale(1.08);
  background: var(--c-btn-pill);
  color: #ffffff;
}

.floating-audio-btn.playing {
  background: var(--c-btn-pill);
  color: #ffffff;
}

.audio-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 3px;
}

.floating-audio-btn.playing .audio-bars {
  display: flex;
}

.floating-audio-btn.playing i {
  display: none;
}

.audio-bars span {
  width: 2px;
  background: #ffffff;
  border-radius: 2px;
  animation: soundBar 1s ease-in-out infinite alternate;
}

.audio-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.audio-bars span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.audio-bars span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes soundBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

.floating-rsvp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* ================= MODAL RSVP PERSONALIZADO ================= */
.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 44, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.custom-modal.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #798e9f;
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-wa-icon {
  font-size: 2.2rem;
  color: #25d366;
  margin-bottom: 6px;
}

.modal-header h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--c-text-navy);
  font-weight: 700;
}

.modal-header p {
  font-size: 0.72rem;
  color: #63778a;
  margin-top: 2px;
}

.modal-form .form-group {
  margin-bottom: 14px;
  text-align: left;
}

.modal-form label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #3b4e60;
  margin-bottom: 5px;
}

.modal-form input,
.modal-form select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #c9d8e5;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #1a2a38;
}

.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--c-btn-pill);
  box-shadow: 0 0 0 3px rgba(124, 148, 171, 0.2);
}

.radio-toggle-row {
  display: flex;
  gap: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #354759 !important;
  cursor: pointer;
}

.btn-modal-submit {
  width: 100%;
  margin-top: 10px;
  background: #25d366 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.btn-modal-submit:hover {
  background: #1eb855 !important;
}

/* ================= MODAL LIGHTBOX ================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 28, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.2rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ================= TOAST ALERT ================= */
.toast-alert {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #233446;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
  z-index: 4000;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 520px) {
  .invitation-viewport-wrapper {
    padding: 16px 8px 40px;
  }

  .card-inner-padding {
    padding: 0 18px 20px;
  }

  .card-floral-corner {
    width: 140px;
  }

  .ref-verse-block {
    padding-top: 50px;
  }

  .names-with-florals {
    padding: 0 5px;
    min-height: 125px;
  }

  .calligraphy-name {
    font-size: 2.9rem;
  }

  .name-groom {
    margin-right: 14px;
  }

  .name-bride {
    margin-left: 14px;
  }

  .floral-flank-l {
    left: 4px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 80px;
  }

  .floral-flank-r {
    right: 4px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 80px;
  }

  .mono-letter {
    font-size: 2.7rem;
  }

  .date-day-num {
    font-size: 2.4rem;
  }

  .btn-ref-pill {
    padding: 10px 22px;
    font-size: 0.68rem;
  }
}
