/* ============================================
   Wael & Noura — Marrakech Guide
   ============================================ */

:root {
  --foreground:    #8b2d1e;
  --sage:          #c47a6a;
  --sage-dark:     #8b2d1e;
  --sage-light:    #d4916a;
  --gold:          #b8623e;
  --cream:         #faf7f5;
  --blue:          #dfe4eb;
  --border:        #d4916a;
  --font-display:  "Cormorant Garamond", serif;
  --font-body:     "Lora", serif;
  --font-script:   "Great Vibes", cursive;
  --transition:    all .4s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light only; scroll-padding-top: 60px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 0.956rem;
  color: var(--foreground);
  background-color: var(--blue);
  background-image: url('./assets/background.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
.hidden { display: none !important; }

/* ============================
   GATE: PASSWORD + LOADER
   ============================ */
#gate-screen {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  background: var(--blue);
  background-image: url('./assets/background.webp');
  background-size: cover; background-position: center;
  transition: opacity 0.6s ease;
}
#gate-screen.done { opacity: 0; pointer-events: none; }
.loader-logo {
  width: 100px; height: auto;
  animation: loaderPulse 2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* Password */
#gate-password { text-align: center; }
.gate-label {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--foreground); margin-bottom: 1rem;
}
.gate-input {
  display: block; margin: 0 auto 0.75rem;
  width: 200px; padding: 0.6rem 1rem;
  font-family: var(--font-body); font-size: 1rem;
  text-align: center; color: var(--foreground);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border); border-radius: 8px;
  outline: none;
}
.gate-input:focus { border-color: #2d5a3d; box-shadow: 0 0 0 3px rgba(45,90,61,0.15); }
.gate-btn { margin-top: 0.5rem; }
.gate-error {
  font-family: var(--font-body); font-size: 0.85rem;
  color: #c0392b; margin-top: 0.75rem; min-height: 1.2em;
}

/* Loader bar */
.loader-bar-track {
  width: 200px; height: 3px;
  background: rgba(196,122,106,0.2);
  border-radius: 3px; overflow: hidden;
}
.loader-bar-fill {
  width: 0%; height: 100%;
  background: #2d5a3d;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.loader-percent {
  font-family: var(--font-display); font-size: 0.9rem;
  color: var(--sage); letter-spacing: 0.1em;
}
.loader-note {
  font-family: var(--font-body); font-size: 0.75rem;
  color: var(--sage); opacity: 0.6; font-style: italic;
  transition: opacity 0.3s ease;
}

/* ============================
   MUSIC TOGGLE
   ============================ */
#music-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(196,122,106,0.3);
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
#music-toggle:hover {
  background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.music-icon { width: 20px; height: 20px; color: var(--sage-dark); }

/* ============================
   INTRO OVERLAY
   ============================ */
#curtain-frame {
  position: fixed; inset: 0; z-index: 100;
  background: var(--blue); cursor: pointer;
  transition: opacity 0.6s ease;
}
#curtain-frame.white-fade { background: #fff; }
#curtain-frame.white-fade #curtain-video { opacity: 0; transition: opacity 0.8s ease; }
#curtain-frame.flash { background: #fff; }
#curtain-frame.fade-out { opacity: 0; pointer-events: none; }
#curtain-frame.gone { display: none; }
#curtain-video { width: 100%; height: 100%; object-fit: cover; }
#curtain-prompt {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  z-index: 101; pointer-events: none;
  transition: opacity 0.6s ease;
}
#curtain-prompt.fade-crest {
  opacity: 0;
}
#curtain-prompt.hidden-prompt { display: none; }

.curtain-wn {
  width: 120px; height: auto;
}
@media (min-width: 768px) {
  .curtain-wn { width: 160px; }
}

.curtain-prompt-text {
  font-family: var(--font-script); font-size: 2rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  animation: promptPulse 2s ease-in-out infinite;
}
@keyframes promptPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* ============================
   NAVIGATION
   ============================ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 122, 106, 0.1);
}
.nav-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem;
}
.nav-brand { font-family: "Pinyon Script", cursive; font-size: 1.6rem; font-weight: 400; color: var(--sage-dark); letter-spacing: -0.05em; text-transform: none; -webkit-text-stroke: 0.5px currentColor; }
#nav-links { display: flex; gap: 1.5rem; }
#nav-links li a {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  color: var(--foreground); transition: color 0.3s;
}
#nav-links li a:hover { color: var(--gold); }
#nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
#nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--foreground); }
@media (max-width: 640px) {
  #nav-hamburger { display: flex; }
  #nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.98);
    padding: 1rem 1.5rem; gap: 0.8rem;
    border-bottom: 1px solid rgba(196, 122, 106, 0.1);
  }
  #nav-links.open { display: flex; }
}

/* ============================
   MAIN CONTENT
   ============================ */
#main-content {
  position: relative; z-index: 10; width: 100%;
}
#main-content.reveal { animation: contentReveal 1s ease forwards; }
@keyframes contentReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   HERO CREST
   Flags above, WN overlaid on wreath/ribbon
   ============================ */
.section-hero {
  padding-top: 70px;
  display: flex; flex-direction: column; align-items: center;
}
@media (max-width: 640px) {
  .section-hero { padding-top: 60px; }
}
.hero-video {
  width: 90%; max-width: 500px;
  display: block;
}

/* ============================
   SECTIONS
   ============================ */
.section { padding: 2rem 1.5rem; }
.section-inner { max-width: 650px; margin: 0 auto; padding: 0 1rem; }
.section-title {
  font-family: var(--font-script); font-size: 2.8rem;
  color: #2d5a3d; text-align: center; margin-bottom: 0.5rem;
}
.section-subtitle {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--sage); text-align: center; margin-bottom: 1.5rem;
}

/* ============================
   INVITATION
   ============================ */
.invitation-content { text-align: center; }
.section-illustration {
  display: block; margin: 0 auto 1.5rem; opacity: 0.85;
  object-fit: contain;
}
.section-illustration.small { width: 140px; }
.section-illustration.medium { width: 180px; }
.section-illustration.large { width: 180px; max-height: 180px; }
@media (max-width: 640px) {
  .section-illustration.large { width: 110px; max-height: 110px; }
}
.invitation-hosts {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  color: var(--sage); margin-bottom: 1rem; line-height: 1.8;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.invitation-request {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--foreground); margin-bottom: 1.5rem; line-height: 1.8;
}
.invitation-dresscode {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--sage-dark); margin-bottom: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.couple-names-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0;
  width: 100vw; margin-left: calc(-50vw + 50%);
  overflow: hidden;
}
.palm-tree {
  position: absolute; top: 0; height: 100%; width: auto;
  pointer-events: none;
}
.palm-left { left: 0; transform: translateX(-30%); }
.palm-right { right: 0; transform: translateX(30%) scaleX(-1); }
.couple-names-center {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2; text-align: center;
  padding: 0 clamp(40px, 10vw, 160px);
}
@media (max-width: 768px) {
  .palm-left { transform: translateX(-38%); }
  .palm-right { transform: translateX(38%) scaleX(-1); }
}
@media (max-width: 480px) {
  .palm-left { transform: translateX(-45%); }
  .palm-right { transform: translateX(45%) scaleX(-1); }
}
.couple-names {
  display: flex; align-items: baseline; justify-content: center;
  gap: 0.75rem; margin-bottom: 0.5rem;
}
.name-script {
  font-family: var(--font-script); font-size: 3.5rem; color: #2d5a3d;
}
.name-ampersand {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--sage);
}
.invitation-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; margin-bottom: 0.5rem;
}
.divider-line { width: 50px; height: 1px; background: var(--sage); }
.divider-diamond { color: var(--sage); font-size: 0.9rem; }
.invitation-date {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500;
  color: var(--sage-dark); margin-bottom: 0.3rem;
}
.invitation-detail {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--sage); margin-bottom: 0.3rem;
}

/* ============================
   COUNTDOWN
   ============================ */
.countdown-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem; margin-top: 1.5rem; max-width: 350px; margin-left: auto; margin-right: auto;
}
@media (min-width: 1024px) {
  .countdown-grid { grid-template-columns: repeat(4, 1fr); max-width: none; }
}
.countdown-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.2rem 0.5rem;
  background: rgba(255,255,255,0.6); border: 1px solid rgba(196,122,106,0.15);
  border-radius: 12px;
}
.countdown-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 300;
  color: var(--sage-dark); line-height: 1;
}
.countdown-label {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sage); margin-top: 0.4rem;
}

/* ============================
   TIMELINE / SCHEDULE
   ============================ */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 380px;
  margin: 0 auto;
  width: fit-content;
}
.timeline::before {
  content: ''; position: absolute;
  left: calc(18px); top: 1.2rem; bottom: 1.2rem;
  width: 1px; background: var(--sage);
}
.timeline-item {
  position: relative;
  display: flex; flex-direction: row; align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-icon {
  position: absolute;
  left: -3rem; top: 0;
  z-index: 1;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); border: 1px solid rgba(196,122,106,0.2);
  border-radius: 50%;
}
.timeline-icon svg {
  width: 18px; height: 18px; color: var(--sage-dark);
}
.timeline-content h4 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--sage-dark); margin-bottom: 0.2rem;
}
.timeline-content p {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--sage);
}

/* ============================
   STAY CARDS (Hotels, Hair & Makeup)
   ============================ */
.card-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  margin-top: 1.5rem;
}
.stay-card {
  position: relative;
  width: calc(50% - 0.5rem);
  border-radius: 14px;
  overflow: hidden;
  cursor: default;
  aspect-ratio: 3 / 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.stay-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}
.stay-card-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.stay-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.stay-card-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2; padding: 0.8rem;
  text-align: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: #fff; letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (min-width: 640px) {
  .stay-card { width: calc(33.33% - 0.6rem); }
  .stay-card-name { font-size: 1.15rem; }
}
@media (min-width: 900px) {
  .stay-card-name { font-size: 1.2rem; padding: 1rem; }
}

/* ============================
   ACCORDION (Restaurants)
   ============================ */
/* Restaurant groups */
.resto-group { text-align: center; margin-bottom: 2rem; }
.resto-group:last-child { margin-bottom: 0; }
.resto-category {
  font-family: var(--font-script); font-size: 1.8rem;
  color: var(--sage-dark); margin-bottom: 1rem;
}
.resto-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
}
.resto-tag {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
  color: var(--foreground);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196, 122, 106, 0.2);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  transition: var(--transition);
}
.resto-tag:hover {
  background: rgba(255,255,255,0.95);
  border-color: var(--sage);
  box-shadow: 0 2px 8px rgba(139,45,30,0.08);
  transform: translateY(-1px);
}

/* Venue list (vertical) */
.venue-list {
  display: flex; flex-direction: column; gap: 0.5rem;
  max-width: 400px; margin: 1rem auto 0;
}
.venue-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.1rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196,122,106,0.15);
  border-radius: 10px;
  text-decoration: none; color: var(--foreground);
  transition: var(--transition);
}
.venue-item:hover {
  background: rgba(255,255,255,0.95);
  border-color: var(--sage);
  box-shadow: 0 2px 8px rgba(139,45,30,0.08);
  transform: translateY(-1px);
}
.venue-name {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
}
.venue-badge {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 600;
  color: #fff; background: #2d5a3d;
  padding: 0.3rem 0.7rem; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
}
.venue-badge:hover {
  background: #3a7a4f; box-shadow: 0 2px 8px rgba(45,90,61,0.25);
}
.venue-highlight {
  border-color: rgba(45,90,61,0.3);
  background: rgba(45,90,61,0.05);
}
.venue-split {
  padding: 0; overflow: hidden; display: flex;
}
.venue-split-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0.7rem 1rem;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; transition: var(--transition);
}
.venue-split-left {
  color: var(--foreground); background: rgba(255,255,255,0.7);
}
.venue-split-left:hover { background: rgba(255,255,255,0.95); }
.venue-split-right {
  color: #fff; background: #2d5a3d;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.venue-split-right:hover { background: #3a7a4f; }
.venue-row {
  display: flex; gap: 0.5rem;
}
.venue-row .venue-item { flex: 1; }
.venue-preferred {
  background: #2d5a3d; border-color: #2d5a3d;
}
.venue-preferred .venue-name {
  color: #fff; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.venue-preferred:hover {
  background: #3a7a4f; border-color: #3a7a4f;
}

/* ============================
   VISUAL / DECORATIVE
   ============================ */
.section-visual {
  position: relative;
  display: flex; justify-content: center;
  padding: 1rem 0;
}
.visual-media {
  width: 50%; max-width: 280px;
  display: block;
}
@media (max-width: 640px) {
  .visual-media { width: 60%; }
}

/* ============================
   RSVP — matches isaac-and-corine
   ============================ */
.rsvp-form, .rsvp-confirm, .rsvp-already-submitted, .rsvp-success {
  max-width: 500px; margin: 0 auto;
}

/* RSVP step transitions */
.rsvp-step-enter {
  animation: rsvpFadeIn 0.5s ease forwards;
}
@keyframes rsvpFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rsvp-step-exit {
  animation: rsvpFadeOut 0.3s ease forwards;
}
@keyframes rsvpFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
.rsvp-phone a {
  color: var(--sage-dark); text-decoration: underline;
  text-decoration-color: rgba(196,122,106,0.3);
}
.rsvp-instruction {
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 1.2rem; color: var(--sage-dark); text-align: center;
}
.rsvp-error { color: #2d5a3d; font-size: 0.9rem; margin-top: 0.8rem; text-align: center; }
.rsvp-btn-wrap { text-align: center; margin-top: 1.5rem; }

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: 1rem;
  font-weight: 500; letter-spacing: 0.05em; color: var(--sage-dark); margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.rsvp-plus-one-input input[type="text"] {
  width: 100%; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 0.956rem;
  color: var(--foreground); background: var(--cream);
  border: 1px solid var(--border); border-radius: 8px;
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.rsvp-plus-one-input input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(196, 122, 106, 0.15);
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.75rem 2rem;
  border-radius: 8px; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background: #2d5a3d; color: #fff; }
.btn-primary:hover { background: #3a7a4f; }
.btn-venue {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 0.55rem 1.5rem; margin: 0.5rem 0;
  color: #4a7a9b; background: transparent;
  border: 1px solid rgba(120,170,210,0.35); border-radius: 100px;
  text-decoration: none; transition: var(--transition);
  line-height: 1.35;
}
.btn-venue:hover {
  background: rgba(220,238,248,0.3);
  border-color: rgba(100,160,210,0.5);
  box-shadow: 0 2px 10px rgba(80,140,190,0.15);
  transform: translateY(-1px);
  color: #3a6a88;
}
.btn-venue-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-venue-text { display: flex; flex-direction: column; text-align: left; }

/* Guest card */
.rsvp-guest-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem 1rem;
  text-align: center; margin-bottom: 1rem;
  box-shadow: 0 4px 16px -4px rgba(139,45,30,.1);
}
.rsvp-guest-card-inner {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.rsvp-card-name {
  font-family: var(--font-script); font-size: 2rem;
  color: var(--sage-dark); line-height: 1.2;
}
.ornament { color: var(--sage-light); font-size: 1.2rem; }

/* Event sections */
.rsvp-event-section {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem;
  margin-bottom: 0.75rem;
}
.rsvp-event-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 500;
  color: var(--gold); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.1em; text-align: center;
}
.rsvp-event-row { margin-bottom: 1rem; }
.rsvp-event-name {
  font-family: var(--font-body); font-size: 0.95rem;
  margin-bottom: 0.5rem; color: var(--foreground); text-align: center;
}
.rsvp-plus-one-input { margin-bottom: 0.75rem; }

/* Radio — matches isaac-and-corine grid style */
.radio-group {
  display: flex; justify-content: center; gap: 0.75rem;
}
.radio-label {
  display: inline-flex; align-items: center;
  gap: 0.3rem; cursor: pointer;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  color: var(--foreground); background: #fff;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.45rem 0.9rem; text-align: center;
  transition: var(--transition);
}
.radio-label:hover { border-color: var(--sage-light); background: var(--cream); }
.radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-label .radio-icon { font-size: 0.9rem; line-height: 1; }
.radio-label.selected {
  border-color: #4a8c3f; background: rgba(74, 140, 63, 0.08);
  color: #3d7a33; box-shadow: 0 0 0 3px rgba(74, 140, 63, 0.15);
  transform: scale(1.02);
}
.radio-group-inline {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.radio-group-inline .radio-label {
  padding: 0.6rem 0.4rem; font-size: 0.75rem;
  border-radius: 8px; gap: 0.25rem; background: #fff;
}
.radio-group-inline .radio-label .radio-icon { font-size: 1.1rem; }

/* Back */
.rsvp-back-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; font-family: var(--font-body);
  font-size: 0.9rem; color: var(--sage); cursor: pointer;
  margin-bottom: 1rem; padding: 0.3rem 0;
}
.rsvp-back-btn:hover { color: var(--sage-dark); }
.rsvp-success { text-align: center; padding: 2rem 0; }
.rsvp-confetti { width: 200px; margin: 0 auto 1rem; border-radius: 12px; }

/* ============================
   REGISTRY
   ============================ */
.registry-cards {
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 450px; margin: 1rem auto 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}
.registry-cards.open {
  max-height: 400px; opacity: 1;
}
.registry-card {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(196,122,106,0.15);
  border-radius: 10px; padding: 1rem 1.2rem; text-align: center;
}
.registry-card h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--sage-dark); margin-bottom: 0.4rem;
}
.registry-card p {
  font-family: var(--font-body); font-size: 0.85rem; color: var(--foreground);
  margin-bottom: 0.2rem;
}
.registry-iban {
  font-size: 0.78rem !important; color: var(--sage) !important;
  word-break: break-all;
}

/* ============================
   FOOTER
   ============================ */
.section-footer {
  text-align: center; padding: 2.5rem 2rem 3rem;
}
.footer-content { text-align: center; }
.footer-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 1.5rem;
}
.footer-divider-line { display: block; width: 60px; height: 1px; background: var(--sage-light); }
.footer-divider-heart { color: var(--sage-light); font-size: 1.2rem; }
.footer-names { font-family: var(--font-script); font-size: 2.8rem; color: #2d5a3d; }
.footer-date {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--sage); margin-top: 0.5rem; letter-spacing: 0.1em;
}
.footer-tagline {
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--sage); margin-top: 0.3rem; font-style: italic;
}
.footer-monogram {
  font-family: var(--font-script); font-size: 1.5rem;
  color: var(--sage-light); margin-top: 1.5rem;
}
.footer-credit {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--sage); margin-top: 1.5rem;
}
.footer-credit a {
  color: #7eb8d0; text-decoration: underline;
  text-decoration-color: rgba(126,184,208,0.4);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================
   RESPONSIVE
   ============================ */
@media (min-width: 768px) {
  .section-title { font-size: 3.5rem; }
  .section { padding: 2.5rem 2rem; }
  .section-inner { max-width: 650px; }
  .stay-card { font-size: 1.1rem; padding: 0.9rem 1.8rem; }
  .footer-names { font-size: 3.2rem; }
  .curtain-prompt-text { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 4rem; }
  .section { padding: 3rem 2rem; }
}
/* Small screens */
@media (max-width: 480px) {
  .section-title { font-size: 2.2rem; }
  .name-script { font-size: 2.5rem; }
  .name-ampersand { font-size: 1.4rem; }
  .section { padding: 1.5rem 1rem; }
  .section-inner { padding: 0 0.5rem; }
  .stay-card { width: calc(50% - 0.4rem); }
  .stay-card-name { font-size: 0.9rem; padding: 0.5rem; }
  .countdown-number { font-size: 1.6rem; }
  .countdown-label { font-size: 0.65rem; }
  .countdown-grid { gap: 0.5rem; grid-template-columns: 1fr; max-width: 200px; margin: 1.5rem auto 0; }
  .footer-names { font-size: 2.2rem; }
  .acc-list.two-col { columns: 1; }
}

/* Very small screens (300-400px) */
@media (max-width: 400px) {
  .section-title { font-size: 1.9rem; }
  .name-script { font-size: 2rem; }
  .crest-bell { width: 75%; margin-bottom: -5rem; }
  .radio-label { padding: 0.8rem 0.4rem; font-size: 0.85rem; }
  .radio-label .radio-icon { font-size: 1.1rem; }
  .stay-card { width: 100%; }
  .card-grid { gap: 0.5rem; }
  .countdown-number { font-size: 1.3rem; }
  .countdown-card { padding: 0.8rem 0.3rem; }
  .nav-brand { font-size: 1.2rem; }
  .footer-names { font-size: 1.8rem; }
  .section-illustration.small { width: 100px; }
  .section-illustration.medium { width: 130px; }
  .invitation-request { font-size: 0.9rem; }
}
