/* ==========================================================================
   LUXURY PASSPORT & BOARDING PASS WEDDING INVITATION — STYLES
   Inspired by & upgraded from webgency.tilda.ws/lisabilly
   ========================================================================== */

:root {
  --bg-ivory: #f8f3e8;
  --bg-cream: #fcf6eb;
  --bg-sand: #f3ede5;
  --bg-white: #ffffff;
  --gold-primary: #c59b27;
  --gold-light: #e2c15a;
  --gold-dark: #9a7416;
  --gold-accent: #d3a837;
  --gold-soft: rgba(211, 168, 55, 0.14);
  --text-dark: #2c2620;
  --text-body: #4a4238;
  --text-muted: #7a6f61;
  --border-gold: rgba(197, 155, 39, 0.35);
  --shadow-soft: 0 14px 40px rgba(44, 38, 32, 0.08);
  --shadow-card: 0 20px 55px rgba(44, 38, 32, 0.12);
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   TOP FLOATING TOOLBAR (Language Switcher + Guest Link Generator)
   ========================================================================== */
.top-floating-bar {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  background: var(--gold-accent);
  color: #fff;
  border-color: var(--gold-accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   BOARDING PASS MARQUEE TICKER
   ========================================================================== */
.boarding-marquee {
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-gold);
  padding: 9px 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
  text-transform: lowercase;
  padding: 0 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.marquee-item::after {
  content: "✈";
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.7;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO & 3D OPENING DOORS SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-ivory) 0%, #ffffff 55%, var(--bg-ivory) 100%);
  padding: 0 0 70px;
  overflow: hidden;
}

.doors-stage-wrapper {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  min-height: 760px;
  perspective: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero-underneath {
  width: 100%;
  max-width: 480px;
  margin: 24px auto 0;
  padding: 0 18px;
  text-align: center;
  z-index: 2;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-arch-frame {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  border-radius: 210px 210px 24px 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 22px 50px rgba(44, 38, 32, 0.18), 0 0 0 1px var(--border-gold);
  aspect-ratio: 3 / 4.1;
  background: var(--bg-sand);
}

.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 3s ease;
}

.doors-opened .hero-arch-frame img {
  transform: scale(1);
}

.hero-arch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.02) 50%, rgba(28,22,15,0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 20px;
  color: #fff;
}

.hero-arch-Pre {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.hero-arch-names {
  font-family: var(--font-script);
  font-size: 3.4rem;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.hero-arch-date {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  margin-top: 6px;
  color: rgba(255,255,255,0.92);
}

/* 3D Doors Container */
.doors-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 760px;
  z-index: 15;
  pointer-events: auto;
  perspective: 1500px;
  display: flex;
  justify-content: center;
  transition: pointer-events 0s 2.2s;
}

.doors-opened .doors-overlay {
  pointer-events: none;
}

.door-panel {
  width: 50%;
  height: 100%;
  position: relative;
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.8s ease 0.6s;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.door-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.18));
}

.left-door {
  transform-origin: left center;
  transform: rotateY(0deg);
}

.right-door {
  transform-origin: right center;
  transform: rotateY(0deg);
}

.doors-opened .left-door {
  transform: rotateY(-108deg);
  opacity: 0.12;
}

.doors-opened .right-door {
  transform: rotateY(108deg);
  opacity: 0.12;
}

.discover-btn-wrap {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.doors-opened .discover-btn-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.9);
}

.discover-btn {
  position: relative;
  background: linear-gradient(135deg, #d8b144 0%, #b68b23 100%);
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(182, 139, 35, 0.45), 0 0 0 6px rgba(216, 177, 68, 0.2);
  animation: pulseGold 2.4s infinite ease-in-out;
  white-space: nowrap;
}

.discover-btn:hover {
  transform: scale(1.04);
  background: linear-gradient(135deg, #e2be55 0%, #c59b27 100%);
}

.discover-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(182, 139, 35, 0.45), 0 0 0 4px rgba(216, 177, 68, 0.18);
  }
  50% {
    box-shadow: 0 14px 36px rgba(182, 139, 35, 0.65), 0 0 0 11px rgba(216, 177, 68, 0.05);
  }
}

.replay-doors-btn {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--gold-dark);
  text-decoration: underline;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.doors-opened .replay-doors-btn {
  opacity: 0.85;
}

/* ==========================================================================
   WELCOME LETTER & BOARDING PASS STUB IN HERO
   ========================================================================== */
.welcome-letter-card {
  max-width: 680px;
  margin: 36px auto 0;
  padding: 42px 32px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
}

.welcome-letter-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(197, 155, 39, 0.28);
  border-radius: 18px;
  pointer-events: none;
}

.greeting-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.hrsvp-greeting-target {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 8px;
  transition: opacity 0.35s ease;
}

.celebrating-subtitle {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.letter-Highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.letter-paragraphs p {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.letter-signoff {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-gold);
}

.signoff-names {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--gold-dark);
  line-height: 1.1;
}

.signoff-hashtag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 6px;
}

.mini-boarding-stub {
  max-width: 480px;
  margin: 34px auto 0;
  position: relative;
  padding: 0 16px;
}

.mini-stub-card {
  position: relative;
  background: var(--bg-ivory);
  border-radius: 18px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.mini-stub-card::after {
  content: "";
  position: absolute;
  right: 92px;
  top: -10px;
  bottom: -10px;
  border-right: 2px dashed var(--border-gold);
}

.stub-left {
  text-align: left;
}

.stub-airline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stub-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.stub-code {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stub-plane {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.stub-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stub-right {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stub-barcode {
  width: 58px;
  opacity: 0.82;
}

/* ==========================================================================
   COUNTDOWN TIMER SECTION ("Countdown to Takeoff")
   ========================================================================== */
.countdown-section {
  background: #ffffff;
  padding: 64px 20px;
  text-align: center;
  border-top: 1px solid rgba(197, 155, 39, 0.18);
  border-bottom: 1px solid rgba(197, 155, 39, 0.18);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  color: var(--gold-primary);
  margin-bottom: 28px;
}

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

.countdown-box {
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 20px 10px;
  box-shadow: 0 8px 24px rgba(44, 38, 32, 0.05);
  position: relative;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.05;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   PASSPORT TO MARRIAGE SECTION
   ========================================================================== */
.passport-section {
  background: var(--bg-cream);
  padding: 80px 16px;
  position: relative;
  overflow: hidden;
}

.passport-spread {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-sand);
  border-radius: 26px;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.passport-top-page {
  padding: 40px 28px 34px;
  background: linear-gradient(180deg, #fcf6eb 0%, #f3ede5 100%);
  border-bottom: 2px dashed rgba(197, 155, 39, 0.45);
  text-align: center;
  position: relative;
}

.passport-top-title {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5.5vw, 3.3rem);
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.passport-emblem-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 18px 0;
}

.passport-globe {
  width: 110px;
  height: 110px;
  object-fit: contain;
  opacity: 0.9;
}

.passport-compass-wrap {
  position: relative;
  width: 115px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-compass {
  width: 95px;
  height: 95px;
  object-fit: contain;
  animation: slowSpin 40s linear infinite;
}

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

.passport-stamp-img {
  width: 175px;
  margin: 10px auto 0;
  transform: rotate(-6deg);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
}

.passport-bio-page {
  padding: 32px 26px 24px;
  background: #fdf9f2;
  position: relative;
}

.passport-bio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.passport-bio-grid {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 20px;
  align-items: center;
}

.passport-photo-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12), 0 0 0 1px var(--border-gold);
  aspect-ratio: 3 / 4;
}

.passport-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.passport-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  text-align: left;
}

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

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

.pf-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 2px;
}

.passport-mrz {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(197, 155, 39, 0.28);
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.1vw, 0.8rem);
  letter-spacing: 0.08em;
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
  opacity: 0.85;
}

/* ==========================================================================
   BOARDING PASS ITINERARY SECTION
   ========================================================================== */
.itinerary-section {
  background: #ffffff;
  padding: 84px 20px;
  position: relative;
}

.itinerary-container {
  max-width: 680px;
  margin: 0 auto;
}

.timeline-wrapper {
  position: relative;
  margin-top: 48px;
  padding-left: 36px;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--gold-accent) 0px,
    var(--gold-accent) 8px,
    transparent 8px,
    transparent 16px
  );
}

.timeline-item {
  position: relative;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(44, 38, 32, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(197, 155, 39, 0.14);
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 26px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-accent);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px var(--gold-accent);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-dark);
}

.timeline-time {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--gold-accent);
  padding: 4px 12px;
  border-radius: 99px;
}

.timeline-desc {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* ==========================================================================
   WEDDING VENUE & ORGANIZATIONAL DETAILS
   ========================================================================== */
.venue-section {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, #ffffff 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.venue-card {
  max-width: 640px;
  margin: 0 auto 48px;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid var(--border-gold);
  padding: 40px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.venue-illustration-wrap {
  position: relative;
  max-width: 340px;
  margin: 20px auto 24px;
}

.venue-illust {
  width: 100%;
  border-radius: 16px;
}

.venue-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.venue-address {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 22px;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d8b144 0%, #b68b23 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(182, 139, 35, 0.32);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(182, 139, 35, 0.45);
}

.org-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.org-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.org-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.org-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.org-card p {
  font-size: 1.04rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.gift-account-box {
  background: var(--bg-ivory);
  border: 1px dashed var(--gold-primary);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 16px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.gift-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.copy-mini-btn {
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: all 0.2s;
}

.copy-mini-btn:hover {
  background: var(--gold-accent);
  color: #fff;
}

/* ==========================================================================
   CELEBRATION WEEKEND SECTION
   ========================================================================== */
.weekend-section {
  background: var(--bg-ivory);
  padding: 84px 20px;
}

.weekend-intro {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}

.weekend-hero-photo {
  max-width: 440px;
  margin: 24px auto;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-card);
}

.weekend-cards-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.weekend-day-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.weekend-day-img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.weekend-day-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.weekend-day-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.weekend-day-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.weekend-day-text {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   YOUR TICKET TO LOVE — RSVP & INTERACTIVE QR BOARDING PASS
   ========================================================================== */
.rsvp-section {
  background: #ffffff;
  padding: 84px 20px;
}

.rsvp-wrapper {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.rsvp-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 5px solid var(--bg-ivory);
}

.rsvp-photo-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.rsvp-photo-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 30px 22px 22px;
  background: linear-gradient(to top, rgba(25, 20, 14, 0.85), transparent);
  color: #fff;
  text-align: center;
}

.rsvp-photo-caption h3 {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--gold-light);
}

.rsvp-form-card {
  background: var(--bg-ivory);
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
}

.rsvp-deadline {
  display: inline-block;
  background: var(--gold-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.rsvp-note {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(197, 155, 39, 0.45);
  background: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.18);
}

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

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.02rem;
}

.radio-option input {
  accent-color: var(--gold-primary);
  width: 17px;
  height: 17px;
}

.generated-ticket-box {
  display: none;
  margin-top: 24px;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.5s ease;
}

.generated-ticket-box.active {
  display: block;
}

.gt-header {
  background: linear-gradient(135deg, #c59b27, #9a7416);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gt-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.gt-qr-img {
  width: 112px;
  height: 112px;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
}

.gt-footer {
  background: var(--bg-ivory);
  padding: 12px 20px;
  border-top: 1px dashed var(--border-gold);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

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

/* ==========================================================================
   QUESTIONS & ANSWERS ACCORDION SECTION
   ========================================================================== */
.faq-section {
  background: var(--bg-sand);
  padding: 84px 20px;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item.open {
  box-shadow: 0 10px 28px rgba(44, 38, 32, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 1.06rem;
  color: var(--text-body);
  border-top: 1px solid rgba(197, 155, 39, 0.14);
  padding-top: 14px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
  background: #ffffff;
  padding: 72px 20px 90px;
  text-align: center;
  border-top: 1px solid var(--border-gold);
}

.footer-floral {
  width: 190px;
  margin: 0 auto 20px;
}

.footer-hope {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--gold-dark);
  line-height: 1.1;
}

/* ==========================================================================
   FLOATING AUDIO BUTTON & GUEST LINK GENERATOR MODAL
   ========================================================================== */
.floating-audio-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d3a837, #9a7416);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  box-shadow: 0 8px 25px rgba(154, 116, 22, 0.45);
  border: 2px solid #ffffff;
  transition: transform 0.25s ease, opacity 0.3s ease;
}

.floating-audio-btn:hover {
  transform: scale(1.08);
}

.floating-audio-btn.playing {
  animation: pulseAudio 2s infinite;
}

@keyframes pulseAudio {
  0%, 100% { box-shadow: 0 8px 25px rgba(154, 116, 22, 0.45), 0 0 0 0 rgba(211, 168, 55, 0.4); }
  50% { box-shadow: 0 8px 25px rgba(154, 116, 22, 0.45), 0 0 0 12px rgba(211, 168, 55, 0); }
}

.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 20, 14, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.custom-modal-box {
  background: #ffffff;
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: left;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-ivory);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .doors-stage-wrapper {
    min-height: 620px;
  }
  .doors-overlay {
    height: 620px;
  }
  .passport-bio-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .passport-photo-box {
    max-width: 165px;
    margin: 0 auto;
  }
  .passport-fields {
    text-align: left;
  }
  .rsvp-wrapper {
    grid-template-columns: 1fr;
  }
  .rsvp-photo-card img {
    height: 360px;
  }
  .countdown-grid {
    gap: 8px;
  }
  .countdown-box {
    padding: 14px 6px;
  }
  .welcome-letter-card {
    padding: 32px 20px;
    margin-inline: 12px;
  }
}
