/* ==========================================================================
   AGUSTINA & FRAN - ULTRA-LUXURY WEDDING LANDING PAGE STYLES
   Aesthetic: Haute Couture, Velvet Olive, Soft Rose-Coral, Metallic Gold & Champagne
   Typography: Cormorant Garamond, Great Vibes & Plus Jakarta Sans
   ========================================================================== */

:root {
  /* Olive Green Palette */
  --olive-950: #151E11;
  --olive-900: #232E1B;
  --olive-800: #334327;
  --olive-700: #465B36;
  --olive-600: #5A7247;
  --olive-500: #718C5B;
  --olive-400: #8FA87B;
  --olive-300: #B2C6A3;
  --olive-200: #D5E1CC;
  --olive-100: #EAF1E4;
  --olive-50:  #F5F8F2;

  /* Salmon / Coral / Rose Gold Palette */
  --salmon-950: #5C2016;
  --salmon-900: #883325;
  --salmon-800: #B34836;
  --salmon-700: #CE5A47;
  --salmon-600: #DF6E5B;
  --salmon-500: #EB8574;
  --salmon-400: #F3A496;
  --salmon-300: #F8C3BA;
  --salmon-200: #FDDFDA;
  --salmon-100: #FEF0ED;
  --salmon-50:  #FFF9F8;

  /* Gold & Champagne Metallic Accents */
  --gold-900: #684B1A;
  --gold-800: #8B6524;
  --gold-700: #AC8033;
  --gold-600: #C79A46;
  --gold-500: #D8AC58;
  --gold-400: #E6C275;
  --gold-300: #F0D79D;
  --gold-200: #F7E8C5;
  --gold-100: #FDF7EA;
  --gold-50:  #FFFDF8;

  /* Backgrounds & Base Neutrals */
  --bg-main: #FAF8F5;
  --bg-alt: #F2EFE8;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --text-dark: #1A2417;
  --text-body: #344230;
  --text-muted: #62725E;
  --border-light: rgba(90, 114, 71, 0.18);
  --border-gold: rgba(216, 172, 88, 0.38);
  --border-salmon: rgba(235, 133, 116, 0.28);
  --border-olive: rgba(90, 114, 71, 0.32);
  --border-olive-strong: rgba(70, 91, 54, 0.55);

  /* Premium Luxury Gradients */
  --grad-gold: linear-gradient(135deg, #B28E46 0%, #ECDDB9 32%, #C5A059 68%, #ECDDB9 100%);
  --grad-gold-foil: linear-gradient(120deg, #A87928 0%, #D8AC58 25%, #FFF0BA 50%, #C79A46 75%, #8B6524 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(230, 194, 117, 0.2) 0%, rgba(240, 215, 157, 0.05) 100%);
  --grad-salmon: linear-gradient(135deg, #F3A496 0%, #DF6E5B 50%, #B34836 100%);
  --grad-salmon-subtle: linear-gradient(180deg, #FFF9F8 0%, #FEF0ED 50%, #FDDFDA 100%);
  --grad-salmon-glow: linear-gradient(135deg, #EB8574, #DF6E5B);
  --grad-olive: linear-gradient(135deg, #5A7247 0%, #334327 100%);
  --grad-olive-silk: linear-gradient(135deg, #465B36 0%, #2A3821 50%, #151E11 100%);
  --grad-olive-gold: linear-gradient(135deg, #334327 0%, #465B36 40%, #C79A46 80%, #E6C275 100%);
  --grad-olive-subtle: linear-gradient(180deg, #F5F8F2 0%, #EAF1E4 50%, #D5E1CC 100%);
  --grad-olive-card: linear-gradient(145deg, rgba(245, 248, 242, 0.95) 0%, rgba(234, 241, 228, 0.88) 100%);
  --grad-velvet-dark: linear-gradient(145deg, #182214 0%, #26351E 50%, #12190E 100%);
  --grad-pearl-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 242, 0.9) 100%);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(35, 46, 27, 0.05);
  --shadow-md: 0 10px 30px rgba(35, 46, 27, 0.09);
  --shadow-lg: 0 20px 45px rgba(35, 46, 27, 0.13);
  --shadow-glow-gold: 0 10px 30px rgba(216, 172, 88, 0.3);
  --shadow-glow-salmon: 0 10px 30px rgba(223, 110, 91, 0.35);
  --shadow-glow-olive: 0 10px 30px rgba(51, 67, 39, 0.28);
  --shadow-inner-glass: inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 1px rgba(0, 0, 0, 0.03);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(var(--salmon-200) 0.85px, transparent 0.85px),
    radial-gradient(var(--olive-300) 0.85px, var(--bg-main) 0.85px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
}

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

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

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

.page-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

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

/* ==========================================================================
   AMBIENT GLOW ORBS & ATMOSPHERE
   ========================================================================== */
.ambient-glow-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  animation: orb-float 18s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(243, 164, 150, 0.4) 0%, rgba(254, 240, 237, 0) 70%);
  top: 4%;
  left: -100px;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 194, 117, 0.35) 0%, rgba(253, 247, 234, 0) 70%);
  top: 28%;
  right: -120px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.ambient-orb-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(143, 168, 123, 0.45) 0%, rgba(234, 241, 228, 0) 70%);
  top: 55%;
  left: -80px;
  animation-duration: 25s;
  animation-delay: -10s;
}

.ambient-orb-4 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(113, 140, 91, 0.35) 0%, rgba(234, 241, 228, 0) 70%);
  bottom: 5%;
  right: -90px;
  animation-duration: 20s;
  animation-delay: -3s;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 35px) scale(0.95); }
}

/* ==========================================================================
   METALLIC & LUXURY TEXT UTILITIES
   ========================================================================== */
.text-gold-gradient {
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-salmon-gradient {
  background: var(--grad-salmon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-olive-gradient {
  background: linear-gradient(135deg, var(--olive-600) 0%, var(--olive-800) 50%, var(--olive-950) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   SECTION TITLES & LUXURY DIVIDERS
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title-wrap {
  margin-bottom: 3.25rem;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-800);
  background: rgba(70, 91, 54, 0.09);
  border: 1px solid rgba(143, 168, 123, 0.35);
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 10px rgba(35, 46, 27, 0.05);
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--grad-gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.2rem);
  font-weight: 400;
  color: var(--olive-950);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.25rem auto 0;
  max-width: 280px;
}

.title-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive-300), var(--gold-400), transparent);
}

.title-divider .symbol {
  color: var(--gold-600);
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(216, 172, 88, 0.4);
}

.title-divider .symbol-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  filter: drop-shadow(0 2px 8px rgba(216, 172, 88, 0.4));
  transition: transform var(--transition-fast);
}

.title-divider .symbol-svg:hover {
  transform: scale(1.2) rotate(8deg);
}

/* ==========================================================================
   AESTHETIC & CLAYMORPHIC 3D ICONS SYSTEM
   ========================================================================== */
.aesthetic-3d-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.aesthetic-3d-icon:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(216, 172, 88, 0.45));
}

.gift-3d svg {
  animation: float-gentle 4s ease-in-out infinite alternate;
}

.camera-3d svg {
  animation: float-gentle 4.5s ease-in-out infinite alternate 0.5s;
}

@keyframes float-gentle {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(1.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.aesthetic-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.gallery-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gallery-pill svg,
.gallery-filter-btn svg {
  flex-shrink: 0;
}

.section-description {
  margin-top: 1.15rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ==========================================================================
   BUTTONS WITH SHIMMER SWEEP & GLOW
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

/* Light Shimmer sweep effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: none;
}

.btn:hover::after {
  left: 130%;
  transition: left 0.85s ease-in-out;
}

.btn-sm {
  padding: 0.65rem 1.35rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 1.15rem 2.6rem;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

.btn-salmon {
  background: var(--grad-salmon-glow);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(223, 110, 91, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-salmon:hover {
  background: linear-gradient(135deg, #DF6E5B, #B34836);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-salmon);
}

.btn-olive {
  background: var(--grad-olive-silk);
  color: #FFF8EB;
  box-shadow: 0 6px 20px rgba(35, 46, 27, 0.28);
  border: 1px solid rgba(216, 172, 88, 0.35);
}

.btn-olive:hover {
  background: linear-gradient(135deg, #334327 0%, #182214 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(35, 46, 27, 0.4), 0 0 16px rgba(216, 172, 88, 0.25);
  border-color: var(--gold-400);
}

.btn-outline-olive {
  border: 1.5px solid var(--olive-600);
  color: var(--olive-900);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-olive:hover {
  background: var(--olive-800);
  color: #FFFFFF;
  border-color: var(--olive-800);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(51, 67, 39, 0.25);
}

.btn-outline-gold {
  border: 1.5px solid var(--gold-500);
  color: var(--gold-800);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-gold:hover {
  background: var(--grad-gold-foil);
  color: var(--olive-950);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-gold);
}

.btn-glow {
  animation: pulse-glow-luxury 3s infinite ease-in-out;
}

@keyframes pulse-glow-luxury {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(223, 110, 91, 0.35);
  }
  50% {
    box-shadow: 0 8px 32px rgba(223, 110, 91, 0.65), 0 0 15px rgba(235, 133, 116, 0.4);
  }
}

/* ==========================================================================
   FLOATING AUDIO WIDGET (LUXURY GOLDEN PILL & VINYL DISK)
   ========================================================================== */
.audio-widget {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  transition: transform var(--transition-base);
}

.music-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.15rem 0.65rem 0.95rem;
  background: rgba(245, 248, 242, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--olive-300);
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(35, 46, 27, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: var(--olive-950);
  transition: all var(--transition-base);
}

.music-toggle-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 14px 36px rgba(51, 67, 39, 0.25), 0 0 15px rgba(216, 172, 88, 0.25);
  border-color: var(--gold-500);
}

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.music-bars .bar {
  width: 3.5px;
  height: 4px;
  background: var(--grad-gold-foil);
  border-radius: 3px;
  transition: height 0.2s ease;
}

.music-bars.is-playing .bar {
  animation: equalize-luxury 1.1s infinite alternate ease-in-out;
}

.music-bars.is-playing .bar:nth-child(1) { animation-delay: 0.1s; }
.music-bars.is-playing .bar:nth-child(2) { animation-delay: 0.4s; }
.music-bars.is-playing .bar:nth-child(3) { animation-delay: 0.2s; }
.music-bars.is-playing .bar:nth-child(4) { animation-delay: 0.5s; }

@keyframes equalize-luxury {
  0% { height: 4px; }
  50% { height: 18px; }
  100% { height: 8px; }
}

.music-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.song-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--olive-950);
}

.song-artist {
  font-size: 0.7rem;
  color: var(--gold-700);
  font-weight: 600;
}

.music-icon-state {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--salmon-600);
  margin-left: 2px;
}

/* Music Welcome Toast */
.music-welcome-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 0.75rem 1rem 0.75rem 1.4rem;
  box-shadow: 0 16px 40px rgba(35, 46, 27, 0.15), 0 0 20px rgba(216, 172, 88, 0.2);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--olive-950);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 92vw;
}

.music-welcome-toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toast-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-toast-primary {
  background: var(--grad-salmon-glow);
  color: #FFFFFF;
  border-radius: 30px;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(223, 110, 91, 0.35);
  transition: transform var(--transition-fast);
}

.btn-toast-primary:hover {
  transform: scale(1.04);
}

.btn-toast-secondary {
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.btn-toast-secondary:hover {
  color: var(--salmon-700);
}

/* ==========================================================================
   HERO SECTION (HAUTE COUTURE EDITORIAL & MONOGRAM CREST)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #F8FAF5 0%, #FAF6F1 45%, var(--bg-alt) 100%);
  overflow: hidden;
}

/* Canvas Sparkles layer */
.hero-sparkles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Swaying botanical olive branches */
.hero-deco {
  position: absolute;
  top: 8%;
  width: 170px;
  height: 340px;
  color: var(--olive-600);
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(51, 67, 39, 0.2));
}

.deco-left {
  left: -15px;
  animation: branch-sway-left 8s ease-in-out infinite alternate;
}

.deco-right {
  right: -15px;
  animation: branch-sway-right 9s ease-in-out infinite alternate;
}

@keyframes branch-sway-left {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(4deg) translateY(-8px); }
}

@keyframes branch-sway-right {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(-4deg) translateY(-8px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* Monogram Crest SVG */
.hero-monogram-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-monogram {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 4px 12px rgba(216, 172, 88, 0.45));
  animation: pulse-monogram 4s infinite ease-in-out;
}

@keyframes pulse-monogram {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 12px rgba(216, 172, 88, 0.45)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 6px 18px rgba(216, 172, 88, 0.7)); }
}

.hero-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
  background: rgba(245, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.35rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--olive-300);
  box-shadow: 0 4px 14px rgba(35, 46, 27, 0.06);
}

.hero-header-badge .badge-line {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--olive-400), var(--gold-400));
}

.hero-header-badge .badge-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--olive-800);
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 10vw, 5.6rem);
  font-weight: 400;
  color: var(--olive-950);
  line-height: 1.02;
  margin-bottom: 1.35rem;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 20px rgba(35, 46, 27, 0.06);
}

.hero-names .name-amp {
  font-family: var(--font-serif);
  font-size: 0.95em;
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  margin: 0 0.15em;
  vertical-align: baseline;
  display: inline-block;
  font-style: italic;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
  position: relative;
}

/* Main Luxury Photo Frame */
.hero-photo-wrapper {
  margin: 0 auto 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  perspective: 1200px;
}

/* Ambient halo behind photo */
.hero-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 54px;
  background: radial-gradient(circle, rgba(230, 194, 117, 0.45) 0%, rgba(143, 168, 123, 0.35) 45%, rgba(243, 164, 150, 0.25) 75%, transparent 90%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.photo-frame {
  position: relative;
  z-index: 1;
  border-radius: 42px;
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(135deg, #E6C275 0%, #FFFFFF 25%, #DF6E5B 50%, #718C5B 75%, #C79A46 100%);
  box-shadow: 0 22px 55px rgba(35, 46, 27, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.photo-frame::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 48%,
    rgba(255, 240, 186, 0.55) 52%,
    transparent 65%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.photo-frame.is-revealed::after,
.photo-frame:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.photo-frame:hover {
  box-shadow: 0 28px 65px rgba(216, 172, 88, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  max-height: 440px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 34px;
  display: block;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.photo-frame:hover img {
  transform: scale(1.035);
}

.photo-badge {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(245, 248, 242, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.55rem 1.6rem;
  border-radius: 40px;
  border: 1.5px solid var(--olive-300);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--olive-950);
  box-shadow: 0 8px 22px rgba(35, 46, 27, 0.14);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: floatSubtle 4s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.photo-badge::before {
  content: '✦';
  color: var(--gold-500);
  font-size: 0.75rem;
}

.photo-badge::after {
  content: '✦';
  color: var(--gold-500);
  font-size: 0.75rem;
}

.hero-date-box {
  margin-bottom: 2.25rem;
}

.hero-date-highlight {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--olive-950);
  margin-bottom: 0.25rem;
}

.hero-location-sub {
  font-size: 1rem;
  color: var(--olive-700);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.scroll-down-indicator {
  margin-top: 1rem;
}

.scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.scroll-link:hover {
  color: var(--olive-800);
}

.scroll-link svg {
  animation: bounce-luxury 2.2s infinite;
  color: var(--gold-600);
}

@keyframes bounce-luxury {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(7px); }
  60% { transform: translateY(3px); }
}

/* ==========================================================================
   COUNTDOWN SECTION (FROSTED GLASS & GOLD METALLIC CARD)
   ========================================================================== */
.countdown-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--olive-50) 100%);
  border-top: 1px solid var(--border-olive);
  border-bottom: 1px solid var(--border-olive);
  padding: 5rem 0;
  position: relative;
  box-shadow: 0 10px 40px rgba(35, 46, 27, 0.04);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 640px;
}

.countdown-card {
  flex: 1;
  background: linear-gradient(145deg, #FFFFFF 0%, rgba(245, 248, 242, 0.95) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 20px;
  padding: 1.5rem 0.65rem;
  box-shadow: 0 8px 24px rgba(35, 46, 27, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.countdown-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: 0 14px 36px rgba(51, 67, 39, 0.18), 0 0 15px rgba(216, 172, 88, 0.2);
}

.count-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.count-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--olive-800);
  margin-top: 0.5rem;
}

.countdown-separator {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-400);
  animation: colon-pulse 2s infinite ease-in-out;
}

@keyframes colon-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(216, 172, 88, 0.6); }
}

.calendar-action-wrap {
  position: relative;
  display: inline-block;
  margin-top: 1.25rem;
}

.calendar-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-olive);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(35, 46, 27, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 0.6rem;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 50;
}

.calendar-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.calendar-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive-950);
  border-radius: 12px;
  width: 100%;
  text-align: left;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.calendar-option:hover {
  background: var(--olive-100);
  color: var(--olive-900);
}

/* ==========================================================================
   MINIMALIST & ELEGANT EDITORIAL TIMELINE
   ========================================================================== */
.timeline-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--olive-50) 50%, var(--bg-main) 100%);
  position: relative;
}

.minimal-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  position: relative;
}

.step-marker-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-marker-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--olive-300);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(51, 67, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-step:hover .step-marker-ring {
  transform: scale(1.08);
  border-color: var(--olive-500);
  box-shadow: 0 6px 20px rgba(51, 67, 39, 0.25);
}

.step-marker-ring.ring-highlight {
  border-color: var(--salmon-400);
  background: linear-gradient(135deg, #FFFFFF, var(--salmon-50));
  box-shadow: 0 4px 16px rgba(223, 110, 91, 0.25);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--olive-800);
  letter-spacing: 0.04em;
}

.ring-highlight .step-num {
  color: var(--salmon-800);
}

.step-line-stem {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--olive-400), var(--gold-400), var(--salmon-300), var(--olive-400));
  opacity: 0.55;
  margin: 6px 0;
}

.timeline-step-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-olive);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 24px rgba(35, 46, 27, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.timeline-step:hover .timeline-step-card {
  transform: translateX(4px);
  box-shadow: 0 12px 35px rgba(51, 67, 39, 0.15);
  border-color: var(--olive-500);
}

.timeline-step-card.card-highlight {
  border-color: rgba(235, 133, 116, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 246, 0.92) 100%);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.step-time-box {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.step-time {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.step-time-unit {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--olive-700);
}

.step-tag-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-900);
  background: var(--olive-100);
  border: 1px solid var(--olive-300);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
}

.step-tag-category.tag-highlight {
  color: var(--salmon-900);
  background: var(--salmon-50);
  border-color: var(--border-salmon);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.step-location-info {
  margin-bottom: 1.15rem;
}

.step-venue-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive-800);
  margin-bottom: 0.2rem;
}

.step-address {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.step-address svg {
  color: var(--olive-600);
  flex-shrink: 0;
}

.step-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-step-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-step-map {
  background: var(--grad-salmon-glow);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(223, 110, 91, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-step-map:hover {
  background: linear-gradient(135deg, #DF6E5B, #B34836);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 110, 91, 0.35);
}

.btn-step-copy {
  background: var(--olive-50);
  color: var(--olive-900);
  border: 1px solid var(--olive-300);
  box-shadow: var(--shadow-sm);
}

.btn-step-copy:hover {
  background: var(--olive-800);
  color: #FFFFFF;
  border-color: var(--olive-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 46, 27, 0.15);
}

.step-celebration-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: var(--olive-100);
  border: 1px solid var(--olive-300);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--olive-950);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   DRESS CODE SECTION (IMPERIAL VELVET & GOLD)
   ========================================================================== */
.dresscode-section {
  padding: 4rem 0 6rem;
}

.dresscode-card {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--olive-50) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 32px;
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(35, 46, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

.dresscode-deco-top {
  color: var(--gold-500);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  margin-bottom: 0.65rem;
  text-shadow: 0 0 10px rgba(216, 172, 88, 0.4);
}

.dresscode-title {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 2.75rem;
}

.dresscode-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.dress-item {
  flex: 1;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dress-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--olive-300);
  color: var(--olive-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 6px 20px rgba(51, 67, 39, 0.08);
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.dress-item:hover .dress-icon-wrap {
  transform: scale(1.1);
  border-color: var(--olive-600);
  color: var(--olive-900);
  background: var(--olive-100);
  box-shadow: 0 10px 25px rgba(51, 67, 39, 0.2);
}

.dress-label {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 0.35rem;
}

.dress-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dresscode-divider-vert {
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--olive-300), transparent);
}

.dresscode-note {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, var(--olive-50) 0%, #FFFFFF 50%, var(--salmon-50) 100%);
  border: 1px solid var(--border-olive);
  padding: 0.95rem 1.6rem;
  border-radius: 30px;
  max-width: 540px;
  box-shadow: 0 4px 14px rgba(35, 46, 27, 0.05);
}

.dresscode-note p {
  font-size: 0.88rem;
  color: var(--olive-950);
  text-align: left;
  line-height: 1.45;
}

.dresscode-note .note-icon {
  font-size: 1.1rem;
  color: var(--gold-600);
  flex-shrink: 0;
}

/* ==========================================================================
   RSVP SECTION (LUXURY TABS & POLISHED FORMS)
   ========================================================================== */
.rsvp-section {
  background-color: var(--bg-alt);
}

.rsvp-card-wrapper {
  background: #FFFFFF;
  border-radius: 32px;
  border: 1.5px solid var(--border-olive);
  box-shadow: 0 20px 55px rgba(35, 46, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 3rem 2.4rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Guest Modality Tabs */
.guest-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: var(--olive-50);
  padding: 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--olive-200);
  margin-bottom: 2.25rem;
}

.tab-btn {
  padding: 1rem 0.85rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-base);
  color: var(--text-muted);
}

.tab-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(70, 91, 54, 0.12);
  color: var(--olive-800);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}

.tab-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--olive-950);
}

.tab-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.tab-btn.active {
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(35, 46, 27, 0.1);
  color: var(--olive-950);
}

.tab-btn.active#tabCovered .tab-badge {
  background: var(--grad-olive-silk);
  color: #FFF8EB;
}

.tab-btn.active#tabCovered .tab-text {
  color: var(--olive-900);
}

.tab-btn.active#tabPaid .tab-badge {
  background: var(--grad-salmon-glow);
  color: #FFFFFF;
}

.tab-btn.active#tabPaid .tab-text {
  color: var(--salmon-800);
}

/* Paid Info Banner */
.paid-info-banner {
  background: linear-gradient(135deg, var(--salmon-50) 0%, #FFFFFF 100%);
  border: 1.5px solid var(--salmon-300);
  border-radius: 20px;
  padding: 1.6rem;
  margin-bottom: 2.25rem;
  animation: fadeIn 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.paid-banner-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.paid-icon {
  font-size: 2rem;
}

.paid-banner-header h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--salmon-950);
  line-height: 1.2;
}

.paid-banner-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.card-calculator {
  background: #FFFFFF;
  border: 1px solid var(--border-salmon);
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.ticket-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--olive-300);
  border-radius: 35px;
  overflow: hidden;
  background: #FFFFFF;
}

.stepper-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--olive-900);
  background: transparent;
  transition: background-color var(--transition-fast);
}

.stepper-btn:hover {
  background: var(--olive-100);
  color: var(--olive-950);
}

.ticket-stepper input {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--olive-950);
}

.calc-total-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.calc-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.calc-amount {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--salmon-800);
}

.quick-bank-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border-salmon);
  width: 100%;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: #FFFFFF;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border-salmon);
  box-shadow: 0 2px 8px rgba(35, 46, 27, 0.04);
  flex-wrap: wrap;
}

.bank-info-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.bank-label {
  color: var(--text-muted);
  font-weight: 500;
}

.bank-val {
  font-weight: 700;
  color: var(--olive-950);
  letter-spacing: 0.01em;
}

.bank-row .btn-copy-chip {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--olive-950);
  border: 1px solid var(--gold-600);
  box-shadow: 0 2px 8px rgba(216, 172, 88, 0.3);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.bank-row .btn-copy-chip:hover {
  background: linear-gradient(135deg, #FFE89E, var(--gold-400));
  box-shadow: 0 4px 14px rgba(216, 172, 88, 0.5);
  transform: translateY(-1px);
}

/* Forms Base */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin-bottom: 1.35rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 0.5rem;
}

.form-label-bold {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-950);
}

.req {
  color: var(--salmon-600);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.88rem 1.15rem;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--olive-600);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(90, 114, 71, 0.18);
}

/* Attendance Radio Group */
.attendance-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1.5px solid var(--border-olive);
  border-radius: 16px;
  background: var(--bg-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--olive-400);
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--salmon-500);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}

.radio-card input:checked ~ .radio-custom {
  border-color: var(--salmon-500);
}

.radio-card input:checked ~ .radio-custom::after {
  opacity: 1;
  transform: scale(1);
}

.radio-card:hover {
  border-color: var(--olive-500);
  background: var(--olive-50);
}

.radio-card:has(input:checked) {
  border-color: var(--salmon-400);
  background: var(--salmon-50);
  box-shadow: var(--shadow-sm);
}

.radio-content {
  display: flex;
  flex-direction: column;
}

.radio-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--olive-950);
}

.radio-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Guest Quantity Selector Box */
.guest-quantity-box {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--olive-50) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 16px rgba(35, 46, 27, 0.05);
}

.guest-quantity-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 280px;
}

.guest-qty-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(216, 172, 88, 0.16);
  border: 1.5px solid rgba(216, 172, 88, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guest-qty-stepper-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.guest-qty-counter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--olive-900);
}

/* Dynamic Guest Cards */
.guests-fields-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.guest-card-dynamic {
  background: #FFFFFF;
  border: 1.5px solid var(--border-olive);
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 6px 20px rgba(35, 46, 27, 0.05);
  position: relative;
  transition: all var(--transition-fast);
  animation: fadeIn 0.35s ease-out;
}

.guest-card-dynamic:hover {
  border-color: var(--gold-400);
  box-shadow: 0 10px 28px rgba(35, 46, 27, 0.1);
}

.guest-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-olive);
}

.guest-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--olive-100);
  border: 1px solid var(--olive-300);
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--olive-950);
  letter-spacing: 0.02em;
}

.single-guest-card {
  margin-bottom: 1.5rem;
}

/* Kids Menu Box */
.kids-menu-box {
  background: var(--olive-50);
  border: 1.5px solid var(--olive-200);
  border-radius: 18px;
  padding: 1.35rem;
  margin-bottom: 1.35rem;
}

.kids-menu-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kids-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kids-icon {
  font-size: 1.5rem;
}

.kids-select-wrap {
  min-width: 240px;
}

.kids-count-row {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--border-olive);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kids-count-row input {
  max-width: 110px;
}

.form-submit-wrap {
  margin-top: 2.25rem;
  text-align: center;
}

.submit-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* ==========================================================================
   GIFTS SECTION & LUXURY BLACK/EMERALD VELVET BANK CARD
   ========================================================================== */
.gifts-section {
  background: #FFFFFF;
}

.gifts-card {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--olive-50) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 32px;
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(35, 46, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

.gifts-icon-top {
  margin-bottom: 0.65rem;
}

.gift-box-icon {
  font-size: 2.6rem;
  filter: drop-shadow(0 4px 10px rgba(216, 172, 88, 0.35));
}

.gifts-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 1.1rem;
}

.gifts-intro {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Luxury Velvet & Gold Foil Bank Card */
.bank-details-card {
  background: var(--grad-velvet-dark);
  color: #FFFFFF;
  border: 1.5px solid rgba(216, 172, 88, 0.45);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  text-align: left;
  box-shadow: 0 20px 50px rgba(18, 25, 14, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

/* Metallic reflection across bank card */
.bank-details-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(216, 172, 88, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.bank-card-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(216, 172, 88, 0.25);
  position: relative;
  z-index: 1;
}

.bank-brand {
  font-size: 1rem;
  font-weight: 700;
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bank-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #F0D79D 0%, #D8AC58 50%, #8B6524 100%);
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.bank-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.bank-field {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}

.field-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.code-font {
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.08em;
}

.field-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.highlight-field {
  background: rgba(216, 172, 88, 0.12);
  border: 1px solid rgba(216, 172, 88, 0.35);
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
}

.alias-val {
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.btn-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-copy-chip svg {
  flex-shrink: 0;
}

.btn-copy-chip:hover {
  background: var(--gold-500);
  color: var(--olive-950);
  border-color: var(--gold-500);
  box-shadow: 0 4px 14px rgba(216, 172, 88, 0.45);
  transform: translateY(-1px);
}

.btn-copy-gold {
  background: var(--grad-gold-foil);
  color: var(--olive-950);
  border: 1px solid var(--gold-400);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(216, 172, 88, 0.4);
}

.btn-copy-gold:hover {
  background: linear-gradient(135deg, #FFE89E, #C79A46);
  box-shadow: 0 5px 18px rgba(216, 172, 88, 0.65);
  transform: translateY(-1px);
}

.bank-footnote {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(216, 172, 88, 0.25);
  font-size: 0.84rem;
  color: var(--gold-200);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   MEMORIES & UPLOAD SECTION
   ========================================================================== */
.memories-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
}

.memories-card {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--olive-50) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 32px;
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(35, 46, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.memories-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-100), var(--gold-100));
  color: var(--olive-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 24px rgba(51, 67, 39, 0.15);
}

.memories-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: 0.85rem;
}

.memories-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.memories-actions {
  margin-bottom: 1.15rem;
}

.memories-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STORY & EDITORIAL ROMANCE SECTION
   ========================================================================== */
.story-section {
  background: #FFFFFF;
  padding: 6.5rem 0 5.5rem;
  border-top: 1px solid var(--border-olive);
  border-bottom: 1px solid var(--border-olive);
  position: relative;
  overflow: hidden;
}

.story-card {
  background: linear-gradient(145deg, #FFFFFF 0%, rgba(245, 248, 242, 0.7) 60%, rgba(253, 240, 237, 0.4) 100%);
  border: 1.5px solid var(--border-olive);
  border-radius: 40px;
  padding: 4.2rem 3.5rem 3.2rem;
  max-width: 1120px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(35, 46, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 4.2rem;
  align-items: center;
}

/* --- Multi-Photo Romance Collage --- */
.story-collage-wrap {
  position: relative;
  perspective: 1200px;
  padding: 1.5rem 1.2rem 1.5rem 0.5rem;
}

.story-glow-backdrop {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 70%;
  background: radial-gradient(circle, rgba(216, 172, 88, 0.22) 0%, rgba(223, 110, 91, 0.15) 50%, transparent 75%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.story-photo-frame {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(35, 46, 27, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  padding: 7px;
  background: linear-gradient(135deg, var(--gold-400) 0%, #FFFFFF 25%, var(--olive-500) 60%, var(--salmon-400) 100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
  transform-style: preserve-3d;
  z-index: 2;
}

.story-photo-frame::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 48%,
    rgba(255, 240, 186, 0.55) 52%,
    transparent 65%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.story-photo-frame.is-revealed::after,
.story-photo-frame:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.story-photo-frame:hover {
  box-shadow: 0 30px 65px rgba(51, 67, 39, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  transform: translateY(-4px);
}

.story-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 28px;
  display: block;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.story-card:hover .story-img {
  transform: scale(1.03);
}

.story-badge {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(245, 248, 242, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.55rem 1.6rem;
  border-radius: 30px;
  border: 1.5px solid var(--olive-300);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-950);
  box-shadow: 0 8px 24px rgba(35, 46, 27, 0.16);
  z-index: 4;
  animation: floatSubtle 4s ease-in-out infinite 0.6s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-sparkle {
  animation: rotateSparkle 8s linear infinite;
}

/* --- Floating Polaroids --- */
.story-polaroid {
  position: absolute;
  background: #FFFFFF;
  padding: 8px 8px 14px 8px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(35, 46, 27, 0.18), 0 0 0 1px rgba(216, 172, 88, 0.2);
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  user-select: none;
}

.story-polaroid:hover {
  transform: scale(1.1) rotate(0deg) !important;
  z-index: 10 !important;
  box-shadow: 0 24px 50px rgba(35, 46, 27, 0.28), 0 0 0 2px var(--gold-400);
}

.polaroid-top {
  top: -12px;
  right: -24px;
  width: 175px;
  transform: rotate(-6deg);
  z-index: 4;
}

.polaroid-bottom {
  bottom: 8px;
  left: -24px;
  width: 185px;
  transform: rotate(5.5deg);
  z-index: 4;
}

.polaroid-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: var(--olive-100);
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.story-polaroid:hover .polaroid-img-wrap img {
  transform: scale(1.06);
}

.polaroid-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(21, 30, 17, 0.82);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(216, 172, 88, 0.4);
}

.polaroid-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--olive-950);
  text-align: center;
  margin-top: 7px;
  letter-spacing: 0.01em;
}

.polaroid-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.polaroid-stamp {
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* --- Floating Wax Seal Stamp --- */
.story-wax-stamp {
  position: absolute;
  bottom: -18px;
  right: 12px;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(35, 46, 27, 0.22));
  animation: floatSubtle 5s ease-in-out infinite;
  pointer-events: none;
}

/* --- Story Content Column --- */
.story-content {
  display: flex;
  flex-direction: column;
}

.story-header-pill {
  margin-bottom: 0.2rem;
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  color: var(--olive-950);
  margin-top: 0.35rem;
  line-height: 1.15;
}

.story-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.story-divider .line {
  height: 1px;
  width: 50px;
  background: var(--grad-gold);
}

.story-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

/* --- Journey Milestones Row --- */
.story-milestones-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.25rem 0 1.5rem;
}

.milestone-chip {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-olive);
  border-radius: 18px;
  padding: 0.95rem 0.85rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(35, 46, 27, 0.04);
}

.milestone-chip:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  border-color: var(--gold-400);
  box-shadow: 0 10px 24px rgba(35, 46, 27, 0.1);
}

.milestone-icon-wrap {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.milestone-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--olive-950);
  margin-bottom: 0.2rem;
}

.milestone-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* --- Romantic Quote Card --- */
.story-quote {
  margin-top: 0.8rem;
  padding: 1.35rem 1.65rem 1.35rem 2rem;
  background: #FFFFFF;
  border: 1px solid var(--border-olive);
  border-left: 4px solid var(--olive-600);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 8px 24px rgba(35, 46, 27, 0.05);
  position: relative;
}

.quote-sparkle-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  opacity: 0.7;
}

.story-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--olive-950);
  line-height: 1.5;
  margin-bottom: 0.45rem;
}

.story-signature {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--olive-800);
  text-transform: uppercase;
}

/* ==========================================================================
   STORY GALLERY INVITATION TEASER CARD
   ========================================================================== */
.story-gallery-teaser-card {
  margin-top: 3.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 242, 0.95) 100%);
  border: 1.5px solid var(--gold-300);
  border-radius: 26px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 14px 40px rgba(35, 46, 27, 0.08), 0 0 20px rgba(216, 172, 88, 0.12);
  transition: all 0.35s ease;
}

.story-gallery-teaser-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 20px 50px rgba(35, 46, 27, 0.14), 0 0 25px rgba(216, 172, 88, 0.2);
  transform: translateY(-2px);
}

.teaser-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

/* Overlapping Photo Stack */
.teaser-photo-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.teaser-photo-stack:hover {
  transform: scale(1.05);
}

.stack-img-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(35, 46, 27, 0.2);
  margin-left: -14px;
  position: relative;
  transition: transform 0.3s ease;
  background: var(--olive-100);
}

.stack-img-wrap:first-child {
  margin-left: 0;
}

.stack-img-wrap:hover {
  transform: translateY(-4px) scale(1.15);
  z-index: 5;
}

.stack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stack-badge-count {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border: 2.5px solid #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(216, 172, 88, 0.4);
  margin-left: -14px;
  z-index: 4;
}

.teaser-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.teaser-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--olive-950);
  line-height: 1.2;
}

.teaser-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.btn-gallery-invite {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(223, 110, 91, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gallery-invite:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(223, 110, 91, 0.45);
}

.arrow-bounce {
  animation: bounceDown 2s infinite ease-in-out;
}

/* ==========================================================================
   GALLERY INTEGRATION & MASONRY GRID
   ========================================================================== */
.story-gallery-wrap {
  margin-top: 2rem;
  padding-top: 1rem;
}

.gallery-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.75rem 0 3.25rem;
}

.gallery-filter-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-olive);
  color: var(--olive-900);
  padding: 0.7rem 1.5rem;
  border-radius: 35px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
  border-color: var(--olive-600);
  background: var(--olive-50);
  color: var(--olive-950);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(51, 67, 39, 0.15);
}

.gallery-filter-btn.active {
  background: var(--grad-olive-silk);
  border-color: var(--gold-400);
  color: #FFF8EB;
  box-shadow: 0 8px 24px rgba(35, 46, 27, 0.3);
}

.gallery-slider-container {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 3.5rem; /* Space for arrows */
}

.gallery-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.gallery-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.gallery-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: center;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 8px 25px rgba(35, 46, 27, 0.08);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--border-olive);
}

.gallery-card.gallery-card-wide {
  flex: 0 0 calc(50% - 0.75rem);
  max-width: 500px;
}

@media (max-width: 900px) {
  .gallery-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .gallery-card.gallery-card-wide {
    flex: 0 0 calc(75% - 0.75rem);
  }
}

@media (max-width: 600px) {
  .gallery-slider-container {
    padding: 0 1rem;
  }
  .gallery-slider {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .gallery-card {
    flex: 0 0 85%;
    max-width: 100%;
  }
  .gallery-card.gallery-card-wide {
    flex: 0 0 85%;
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-900);
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--grad-olive-silk);
  color: #FFF;
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

@media (max-width: 768px) {
  .slider-arrow { display: none; }
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(51, 67, 39, 0.2);
  border-color: var(--gold-400);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
}

.gallery-card-wide .gallery-thumb-wrap {
  height: 340px;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.09);
  filter: brightness(0.85);
}

.gallery-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.gallery-pill {
  background: rgba(245, 248, 242, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--olive-950);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--olive-300);
}

.gallery-hover-action {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 30, 17, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 3;
}

.gallery-card:hover .gallery-hover-action {
  opacity: 1;
  transform: translateY(0);
}

.zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.gallery-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.gallery-card-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   CINEMATIC LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 12, 0.92);
  backdrop-filter: blur(20px);
  animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--salmon-600);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--grad-salmon-glow);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(223, 110, 91, 0.4);
}

.lightbox-prev { left: -28px; }
.lightbox-next { right: -28px; }

.lightbox-image-box {
  background: #151E11;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 172, 88, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background-color: #0E140C;
}

.lightbox-caption-box {
  background: #151E11;
  padding: 1.4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lightbox-counter {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.lightbox-caption {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   IMPERIAL FOOTER
   ========================================================================== */
.footer-section {
  background: linear-gradient(180deg, var(--olive-950) 0%, #0E140C 100%);
  color: #FFFFFF;
  padding: 5rem 1.5rem 3.5rem;
  position: relative;
  border-top: 1px solid var(--border-gold);
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  background: var(--grad-gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.footer-date {
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  color: var(--gold-300);
  margin-bottom: 1.6rem;
}

.footer-divider {
  margin-bottom: 1.6rem;
  font-size: 1.3rem;
  color: var(--salmon-400);
}

.footer-thanks {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
}

.footer-back-to-top {
  display: flex;
  justify-content: center;
}

.btn-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-top:hover {
  background: var(--grad-olive-gold);
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(35, 46, 27, 0.4);
}

/* ==========================================================================
   MODAL BACKDROP & SUCCESS CONFIRMATION
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 30, 17, 0.7);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid var(--border-gold);
  padding: 2.75rem 2.2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(35, 46, 27, 0.25);
  animation: scaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-icon-header {
  font-size: 3.2rem;
  margin-bottom: 1.1rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--olive-950);
  margin-bottom: 0.85rem;
}

.modal-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.55;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast-item {
  background: var(--olive-950);
  color: #FFFFFF;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastIn 0.35s ease, toastOut 0.35s ease 2.5s forwards;
  pointer-events: auto;
}

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

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

/* ==========================================================================
   REVEAL & DYNAMIC SCROLL ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-zoom-in { opacity: 0; transform: scale(0.94); animation: zoomIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  to { opacity: 1; transform: scale(1); }
}

/* Luxury Scroll Reveal System */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(2px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.95s ease;
  will-change: opacity, transform, filter;
}

[data-reveal="photo-zoom"] {
  opacity: 0;
  transform: translateY(40px) scale(0.93);
  filter: blur(4px);
}

[data-reveal="fade-left"] {
  opacity: 0;
  transform: translateX(-35px);
}

[data-reveal="fade-right"] {
  opacity: 0;
  transform: translateX(35px);
}

/* Revealed State */
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* ==========================================================================
   AESTHETIC TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(21, 30, 17, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid rgba(216, 172, 88, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(216, 172, 88, 0.15);
  pointer-events: auto;
  animation: toastEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast-item.hide {
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

.toast-svg-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(216, 172, 88, 0.3));
}

@keyframes toastEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-card {
    padding: 2.8rem 1.6rem 2.2rem;
    border-radius: 28px;
  }

  .story-collage-wrap {
    padding: 1.5rem 1rem 2rem;
    max-width: 480px;
    margin: 0 auto;
  }

  .polaroid-top {
    width: 140px;
    right: -10px;
    top: -10px;
  }

  .polaroid-bottom {
    width: 145px;
    left: -10px;
    bottom: -6px;
  }

  .story-wax-stamp {
    bottom: -15px;
    right: 5px;
    transform: scale(0.85);
  }

  .story-img {
    aspect-ratio: 4 / 4.6;
    max-height: 440px;
    object-position: center 10%;
  }

  .story-gallery-teaser-card {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem 1.4rem;
    gap: 1.4rem;
    margin-top: 2.6rem;
  }

  .teaser-left {
    flex-direction: column;
    gap: 1.1rem;
  }

  .btn-gallery-invite {
    width: 100%;
    justify-content: center;
  }

  .gallery-card.gallery-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 580px) {
  .story-milestones-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .milestone-chip {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .milestone-icon-wrap {
    margin-bottom: 0;
  }

  .polaroid-top {
    width: 115px;
    right: -6px;
    padding: 6px 6px 10px;
  }

  .polaroid-bottom {
    width: 120px;
    left: -6px;
    padding: 6px 6px 10px;
  }

  .polaroid-caption {
    font-size: 0.7rem;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-names {
    font-size: 3.5rem;
  }

  .hero-photo-wrapper {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .photo-frame {
    border-radius: 32px;
    padding: 6px;
  }

  .photo-frame img {
    aspect-ratio: 4 / 3.2;
    max-height: 380px;
    object-position: center 16%;
    border-radius: 26px;
  }

  .story-photo-frame {
    border-radius: 28px;
    padding: 6px;
  }

  .story-img {
    aspect-ratio: 4 / 4.6;
    max-height: 400px;
    object-position: center 10%;
    border-radius: 22px;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-card {
    padding: 1.1rem 0.35rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .countdown-separator {
    font-size: 1.6rem;
  }

  .timeline-step {
    grid-template-columns: 42px 1fr;
    gap: 1rem;
  }

  .step-marker-ring {
    width: 40px;
    height: 40px;
  }

  .step-num {
    font-size: 0.86rem;
  }

  .timeline-step-card {
    padding: 1.4rem 1.25rem;
    border-radius: 18px;
  }

  .step-time {
    font-size: 1.8rem;
  }

  .step-title {
    font-size: 1.35rem;
  }

  .step-venue-name {
    font-size: 0.98rem;
  }

  .step-address {
    font-size: 0.85rem;
  }

  .btn-step-action {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .attendance-radio-group {
    grid-template-columns: 1fr;
  }

  .guest-type-tabs {
    grid-template-columns: 1fr;
  }

  .dresscode-icons-row {
    flex-direction: column;
    gap: 1.75rem;
  }

  .dresscode-divider-vert {
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  }

  .kids-menu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .kids-select-wrap {
    width: 100%;
  }

  .audio-widget {
    top: auto;
    bottom: 1.35rem;
    right: 1.35rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: -45px; right: 10px; }
}
