/* ==========================================================================
   DESTINATION LOVE — ELISABETH & MARCUS (05.05.27 | CASA KARMA, MEXICO)
   Palette: Sage Green (#9bb7a1), Warm Sand (#f2e9df), Charcoal (#4a4a4a)
   ========================================================================== */

:root {
  --sage: #9bb7a1;
  --sage-dark: #7a9981;
  --sage-light: #e5efe7;
  --sand: #f2e9df;
  --sand-soft: #f8f4ef;
  --sand-border: #dfd1c1;
  --charcoal: #4a4a4a;
  --charcoal-dark: #313131;
  --muted: #646464;
  --white: #ffffff;
  --gold: #c69f68;
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', monospace;
  --shadow-soft: 0 14px 36px rgba(74, 74, 74, 0.08);
  --shadow-card: 0 18px 46px rgba(74, 74, 74, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  color: var(--charcoal);
  background-color: var(--sand-soft);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   1. FLOATING TOP UTILITY BAR (BILINGUAL + GUEST LINK GENERATOR)
   ========================================================================== */
.utility-bar {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 9500;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.util-btn {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  color: var(--charcoal-dark);
  border: 1.5px solid var(--sage);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.util-btn:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. CIRCULAR FLORAL WELCOME POPUP OVERLAY + AUDIO CONTROL
   ========================================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 20, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 18px;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.popup-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-circular-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-width: 310px;
  aspect-ratio: 1.22;
  background: url('assets/welcome_frame.png') no-repeat center center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatWelcome 4.5s ease-in-out infinite;
}

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

.welcome-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 66px;
}

.welcome-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.welcome-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 2.55rem);
  color: var(--charcoal-dark);
  line-height: 1.15;
  margin-bottom: 6px;
}

.welcome-guest {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 4px;
}

.welcome-text {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2.5vw, 1.02rem);
  line-height: 1.4;
  color: var(--charcoal-dark);
  max-width: 240px;
  margin-bottom: 14px;
}

.welcome-btn {
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(155, 183, 161, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.welcome-btn:hover {
  background: var(--sage-dark);
  transform: scale(1.04);
}

/* Floating Audio Button */
.audio-control {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: var(--sage);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9500;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(74, 74, 74, 0.22);
  transition: transform 0.25s ease, background 0.25s ease;
}

.audio-control:hover {
  background: var(--sage-dark);
  transform: scale(1.07);
}

.audio-control svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

/* ==========================================================================
   3. MAIN PAGE CONTAINER & PERSONALIZED GUEST BANNER
   ========================================================================== */
.page-shell {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 60px rgba(74, 74, 74, 0.08);
  overflow: hidden;
}

.guest-banner {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.guest-banner strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-block {
  padding: 56px 24px;
  position: relative;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.section-sub {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--muted);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   4. HERO BOARDING PASS SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
  padding: 68px 20px 48px;
  text-align: center;
  position: relative;
}

.boarding-ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-dark);
  opacity: 0.8;
  margin-bottom: 22px;
}

.hero-boarding-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  border: 1.5px solid var(--sand-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.hero-ticket-top {
  background: var(--sage);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-ticket-archWrap {
  position: relative;
  padding: 28px 24px 12px;
}

.hero-arch-illustration {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 18px;
  border-radius: 16px;
}

.hero-invited-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-couple-names {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7vw, 4.1rem);
  color: var(--charcoal-dark);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-married-line {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  color: var(--charcoal-dark);
  padding: 9px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid var(--sand-border);
  margin-bottom: 18px;
}

.hero-flight-route {
  position: relative;
  margin: 10px auto 18px;
  max-width: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.hero-route-line {
  flex: 1;
  border-top: 2.5px dashed var(--sage);
  margin: 0 12px;
  position: relative;
}

.hero-plane-icon {
  width: 38px;
  height: auto;
  animation: flyPulse 3.5s ease-in-out infinite;
}

@keyframes flyPulse {
  0%, 100% { transform: translateX(-6px) translateY(0) rotate(5deg); }
  50% { transform: translateX(6px) translateY(-4px) rotate(10deg); }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--charcoal);
  max-width: 400px;
  margin: 0 auto 22px;
  padding: 0 12px;
}

.hero-ticket-stub {
  background: var(--sand);
  border-top: 2px dashed var(--sage);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--charcoal);
}

/* ==========================================================================
   5. PASSPORT TO MARRIAGE SECTION
   ========================================================================== */
.passport-section {
  background: var(--white);
  padding: 48px 20px;
}

.passport-book {
  max-width: 540px;
  margin: 0 auto;
  background: var(--sand);
  border-radius: 24px;
  border: 2px solid var(--sand-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.passport-top-page {
  padding: 28px 26px 22px;
  border-bottom: 2px dashed rgba(74, 74, 74, 0.22);
  position: relative;
}

.passport-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.passport-title-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--charcoal);
}

.passport-monogram {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sage-dark);
  background: var(--white);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--sage);
}

.passport-visual-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.passport-couple-wrap {
  position: relative;
  background: var(--white);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-soft);
}

.passport-couple-img {
  width: 100%;
  border-radius: 10px;
}

.passport-stamp-img {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 96px;
  transform: rotate(-12deg);
  pointer-events: none;
}

.passport-compass-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.compass-wheel {
  position: relative;
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: spinSlow 28s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.passport-globe-decor {
  width: 110px;
  opacity: 0.9;
}

.passport-bottom-page {
  background: #f7f1e9;
  padding: 24px 26px 20px;
}

.passport-meta-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--sand-border);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  text-align: center;
}

.passport-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.passport-field.full {
  grid-column: 1 / -1;
}

.p-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
}

.p-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-dark);
}

.passport-mrz {
  background: var(--white);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--sand-border);
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.1vw, 0.76rem);
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--charcoal-dark);
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   6. TAKEOFF IN (COUNTDOWN & CALENDAR)
   ========================================================================== */
.countdown-section {
  background: var(--sage);
  color: var(--white);
  text-align: center;
  padding: 52px 20px;
}

.countdown-section .section-heading {
  color: var(--white);
  margin-bottom: 24px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.count-box {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  padding: 18px 10px;
}

.count-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.count-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

.calendar-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cal-btn {
  background: var(--white);
  color: var(--charcoal-dark);
  border: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cal-btn:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

/* ==========================================================================
   7. EVENT TIMELINE (FLIGHT PATH TIMELINE)
   ========================================================================== */
.timeline-section {
  background: var(--white);
  padding: 60px 20px;
}

.timeline-wrapper {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 13px;
  border-left: 3px dashed var(--sage);
}

.timeline-plane-badge {
  position: absolute;
  left: -4px;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--sand);
  border: 2px solid var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-plane-badge img {
  width: 22px;
}

.timeline-item {
  position: relative;
  background: var(--sand-soft);
  border: 1px solid var(--sand-border);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--sage);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--sage);
}

.timeline-time {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--sage);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.timeline-info {
  flex: 1;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-dark);
}

.timeline-icon {
  font-size: 1.35rem;
}

/* ==========================================================================
   8. WEDDING VENUE (CASA KARMA, PUERTO VALLARTA, MX)
   ========================================================================== */
.venue-section {
  background: var(--sand);
  padding: 60px 20px;
  text-align: center;
}

.venue-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 26px;
  padding: 32px 24px;
  border: 1.5px solid var(--sand-border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.venue-photo-frame {
  position: relative;
  max-width: 340px;
  margin: 0 auto 22px;
}

.venue-main-img {
  width: 100%;
  border-radius: 170px 170px 20px 20px;
  border: 4px solid var(--sand);
  box-shadow: var(--shadow-soft);
}

.venue-floral-accent {
  position: absolute;
  bottom: -16px;
  right: -12px;
  width: 110px;
  pointer-events: none;
}

.venue-name {
  font-family: var(--font-script);
  font-size: 2.7rem;
  color: var(--charcoal-dark);
  font-weight: 400;
  margin-bottom: 4px;
}

.venue-address {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

/* ==========================================================================
   9. DRESS CODE & 10-PHOTO GALLERY + 5 PASTEL SWATCHES
   ========================================================================== */
.dress-section {
  background: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.dress-divider-img {
  max-width: 240px;
  margin: 0 auto 18px;
}

.swatches-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px auto 28px;
  flex-wrap: wrap;
}

.swatch-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-right: 6px;
}

.color-swatch {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--sand-border);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.color-swatch:hover {
  transform: scale(1.12);
}

.dress-guidelines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: left;
}

.guideline-card {
  background: var(--sand-soft);
  border: 1px solid var(--sand-border);
  border-radius: 18px;
  padding: 20px;
}

.guideline-card h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.guideline-card p {
  font-size: 1.05rem;
  color: var(--charcoal);
}

/* 10-Photo Slider / Grid */
.dress-carousel-wrap {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.dress-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 16px;
  overflow-x: auto;
  padding: 10px 6px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.dress-slide {
  scroll-snap-align: center;
  background: var(--sand-soft);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
}

.dress-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dress-slide:hover img {
  transform: scale(1.05);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.carousel-btn {
  background: var(--sand);
  border: 1px solid var(--sage);
  color: var(--charcoal-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--sage);
  color: var(--white);
}

/* ==========================================================================
   10. ORGANISATIONAL ASPECTS SECTION
   ========================================================================== */
.org-section {
  background: var(--sand-soft);
  padding: 60px 20px;
  text-align: center;
}

.org-cards-stack {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.org-visual-card {
  background: var(--white);
  border-radius: 20px;
  padding: 14px;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.org-visual-card:hover {
  transform: translateY(-3px);
}

.org-visual-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.org-text-caption {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--sand-border);
  font-size: 0.98rem;
  color: var(--charcoal);
}

.org-flight-svg-wrap {
  max-width: 440px;
  margin: 18px auto 0;
  position: relative;
}

/* ==========================================================================
   11. GIFTS / MCHANGO SECTION
   ========================================================================== */
.gifts-section {
  background: var(--white);
  padding: 56px 20px;
  text-align: center;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 660px;
  margin: 0 auto;
}

.gift-card {
  background: var(--sand-soft);
  border: 1.5px solid var(--sand-border);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}

.gift-provider {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

.gift-number {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 4px;
}

.gift-holder {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.copy-btn {
  background: var(--sage);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: var(--sage-dark);
}

/* ==========================================================================
   12. YOUR TICKET TO LOVE — BOARDING PASS RSVP & QR VIP PASS
   ========================================================================== */
.rsvp-section {
  background: var(--sand);
  padding: 60px 20px;
}

.rsvp-boarding-container {
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 26px;
  border: 2px solid var(--sand-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.rsvp-couple-banner {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

.rsvp-header-band {
  background: var(--sage);
  color: var(--white);
  padding: 18px 24px;
  text-align: center;
}

.rsvp-header-band h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
}

.rsvp-header-band p {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.rsvp-form {
  padding: 28px 24px;
}

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

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-dark);
  margin-bottom: 7px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #c9c9c9;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--charcoal-dark);
  background: var(--sand-soft);
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--sand-border);
  border-radius: 12px;
  background: var(--sand-soft);
  cursor: pointer;
  font-size: 1.02rem;
}

.radio-option input {
  accent-color: var(--sage-dark);
  width: 18px;
  height: 18px;
}

.submit-rsvp-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(155, 183, 161, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-rsvp-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

/* Generated VIP Boarding Pass QR Ticket */
.vip-ticket-box {
  margin: 0 24px 28px;
  background: var(--sand-soft);
  border: 2px dashed var(--sage);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  display: none;
}

.vip-ticket-box.is-visible {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.vip-qr-img {
  width: 165px;
  height: 165px;
  margin: 14px auto;
  padding: 10px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--sand-border);
}

.vip-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ==========================================================================
   13. THE DESTINATION (MAP) & FOOTER
   ========================================================================== */
.map-section {
  background: var(--white);
  padding: 56px 20px;
  text-align: center;
}

.map-frame-wrap {
  max-width: 560px;
  margin: 0 auto 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--sand-border);
  box-shadow: var(--shadow-soft);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
}

.footer-section {
  background: var(--sand);
  padding: 56px 20px 80px;
  text-align: center;
}

.footer-hope {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--charcoal-dark);
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-floral-img {
  max-width: 220px;
  margin: 0 auto;
}

/* ==========================================================================
   14. ORGANIZER GUEST LINK GENERATOR MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9800;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  background: var(--white);
  max-width: 440px;
  width: 100%;
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .passport-visual-row {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .welcome-content {
    padding: 20px 44px;
  }
}

@media print {
  .utility-bar, .audio-control, .popup-overlay {
    display: none !important;
  }
}
