/* ══════════════════════════════════════════════════════════════════
   MadlaKop Wedding — mzsvatba.cz Brand Identity
   Centre Court meets Prague luxury wedding
   Typography: Playfair Display · Cormorant Garamond · Libre Baskerville
   ══════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  /* mzsvatba brand palette */
  --green:        #1A4D2E;   /* Centre Court dark green */
  --green-mid:    #2E7D4F;   /* Grass season — buttons, accents */
  --green-soft:   #E8F2EC;   /* Morning lawn — backgrounds */
  --purple:       #6B2D8B;   /* Royal Wimbledon purple */
  --purple-soft:  #F3EDF7;   /* Lavender wash */
  --purple-light: #9B59B6;   /* Purple gradient end */

  /* Wedding accent */
  --gold:         #B8960C;    /* Warm wedding gold */
  --gold-soft:    #E8D48A;   /* Champagne */
  --gold-light:   var(--gold-soft);
  --green-light:  var(--green-mid);

  /* Surfaces */
  --white:        #FFFFFF;
  --ivory:        #FFFDF8;    /* Pure near-white */
  --cream:        #FAF6EE;    /* Wimbledon cream */
  --cream-dark:   #F0E8D8;    /* Aged parchment */
  --border:       #D4C9B8;    /* Warm cream border */
  --off-white:    var(--ivory);

  /* Text */
  --charcoal:     #1C2418;    /* Near black with green tint */
  --warm-grey:    #6B6860;    /* Secondary text */
  --text:         var(--charcoal);
  --text-muted:   var(--warm-grey);

  /* UI */
  --border-green: rgba(26, 77, 46, 0.20);
  --radius:       10px;
  --radius-sm:    6px;
  --shadow:       0 2px 16px rgba(26, 77, 46, 0.08);
  --shadow-lg:    0 8px 40px rgba(26, 77, 46, 0.12);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  user-select: none;
  cursor: default;
}
/* Only inputs allow selection/copy */
input, textarea, select, [contenteditable="true"] {
  user-select: text;
  cursor: text;
}
img, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Scroll reveal: fade in on first view */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Wimbledon Stripe ─────────────────────────────────────────────────────
   The iconic equal-width green+purple dual stripe — trademarked since 2016.
   ──────────────────────────────────────────────────────────────────────── */
.wbl-stripe {
  display: flex;
  height: 7px;
  width: 100%;
}
.wbl-stripe::before {
  content: '';
  flex: 1;
  background: var(--green);
}
.wbl-stripe::after {
  content: '';
  flex: 1;
  background: var(--purple);
}

/* Thin variant used as section separators */
.wbl-stripe--thin {
  height: 4px;
}

/* ── Top Bar ──────────────────────────────────────────────────────────────
   Sticky Wimbledon-style top band with the signature stripe.
   ──────────────────────────────────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

/* ── Language Toggle ─────────────────────────────────────────────────────── */
.lang-toggle {
  position: fixed;
  top: 0.6rem;
  right: 1.25rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.15rem 0.2rem;
  transition: color 0.2s;
}
.lang-btn.active { color: #fff; }
.lang-sep { color: rgba(255, 255, 255, 0.25); font-size: 0.65rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Hero content above overlay */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero background photo — zoom on scroll (JS sets --hero-bg-scale) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-couple.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(var(--hero-bg-scale, 1));
  transition: transform 0.08s ease-out;
}

/* Na mobilu centrovat mezi postavy (více vpravo) */
@media (max-width: 768px) {
  .hero-bg-image {
    background-position: 65% center;
  }
}

/* Transparent green overlay — photo shows through. Opacity animates on scroll (JS) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 77, 46, 0.65);
  z-index: 1;
  pointer-events: none;
  opacity: var(--hero-overlay-opacity, 1);
  transition: opacity 0.08s ease-out;
}

/* Wimbledon grass — subtle alternating light/dark vertical stripes */
.grass-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.04) 0px,
      rgba(0, 0, 0, 0.04) 28px,
      transparent 28px,
      transparent 56px
    );
  z-index: 2;
  pointer-events: none;
}

/* Purple gradient stripe at bottom (brand) */
.net-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light), var(--purple));
  z-index: 3;
}

/* Court line accents */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 80%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

/* Crest circle */
.hero-crest {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
}
.hero-crest::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-crest-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
}

.hero-pre {
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 10vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.4rem;
}
.hero-title .heart {
  display: inline-flex;
  align-items: center;
  margin: 0 0.05em;
  vertical-align: -0.15em; /* maličko dolů, aby lícovalo s textem */
}
.hero-title .heart svg {
  width: 0.82em;  /* o ~18% užší */
  height: 1em;
  fill: #E8D48A; /* gold-soft: same on desktop and mobile (no emoji override) */
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  opacity: 0.90;
  color: var(--gold-soft);
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-stripe-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.hero-stripe-divider::before,
.hero-stripe-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
}
.hero-stripe-divider::before { background: var(--green-mid); }
.hero-stripe-divider::after  { background: var(--purple); }
.hero-stripe-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-event {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
  opacity: 0.95;
  margin-bottom: 0.4rem;
}
.hero-date {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}
.hero-location {
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 0.9rem 2.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
/* Light background: green gradient CTA (brand) */
.section .btn-primary,
.section-green .btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(26, 77, 46, 0.3);
}
.section .btn-primary:hover,
.section-green .btn-primary:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green));
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 77, 46, 0.35);
}
/* Dark background: gold CTA (brand) */
.hero .btn-primary,
.section-dark .btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.hero .btn-primary:hover,
.section-dark .btn-primary:hover {
  background: var(--gold-soft);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.btn-outline {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  margin-top: 1.5rem;
  cursor: pointer;
  border: 2px solid transparent;
}
/* Light background: green outline (brand) */
.section .btn-outline,
.section-green .btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.section .btn-outline:hover,
.section-green .btn-outline:hover {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
/* Dark background: gold outline (brand) */
.section-dark .btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border-color: rgba(255, 255, 255, 0.3);
}
.section-dark .btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 5.5rem 2rem; }
.section-dark {
  background: var(--green);
  color: #fff;
}
.section-green {
  background: var(--cream-dark);
}
.container {
  max-width: 1080px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-top: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.section .section-title h2,
.section-green .section-title h2 {
  color: #000;
}
.section-dark .section-title h2 {
  color: #fff;
}
.section-sub {
  margin-top: 0.6rem;
  color: var(--warm-grey);
  font-size: 14px;
  font-weight: 400;
  font-family: 'Libre Baskerville', serif;
  line-height: 1.75;
}
.section-dark .section-sub { color: rgba(255, 255, 255, 0.6); }

/* Wimbledon-style badge */
.badge {
  display: inline-block;
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 4px;
}
/* Light background: green badge (brand) */
.badge,
.section .badge,
.section-green .badge,
.col-text .badge {
  border: 1.5px solid var(--green);
  background: var(--green);
  color: var(--cream);
}
/* Dark background: gold badge (brand) */
.section-dark .badge {
  border: 1.5px solid var(--gold-soft);
  background: var(--gold-soft);
  color: var(--green);
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.info-program-note {
  text-align: center;
  color: var(--warm-grey);
  font-size: 14px;
  line-height: 1.75;
  max-width: 560px;
  margin: 2rem auto 0;
  font-family: 'Libre Baskerville', serif;
}
.info-cta {
  text-align: center;
  margin-top: 1.5rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:nth-child(2) { border-top-color: var(--purple); }
.card:nth-child(3) { border-top-color: var(--gold); }
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 0.75rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1.1;
}
.card:nth-child(2) h3 { color: var(--purple); }
.card:nth-child(3) h3 { color: var(--gold); }
.card p {
  color: var(--charcoal);
  line-height: 1.75;
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
}

/* ── Dress Code ──────────────────────────────────────────────────────────── */
.dresscode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.dresscode-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
  position: relative;
}
.dresscode-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(to right, var(--green-mid), var(--purple));
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.dresscode-item:hover { background: rgba(255, 255, 255, 0.09); }
.dresscode-item:hover::after { opacity: 1; }
.dresscode-visual {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.dc-icon { font-size: 2.5rem; line-height: 1; }
.dresscode-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 0.5rem;
  color: var(--gold-soft);
  font-weight: 700;
  line-height: 1.1;
}
.dresscode-item p { font-size: 14px; opacity: 0.85; line-height: 1.75; font-family: 'Libre Baskerville', serif; }
.dresscode-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.95;
}
.dresscode-visual--logo {
  height: 72px;
  max-width: 170px;
  margin-left: auto;
  margin-right: auto;
}
.dresscode-visual--logo .dresscode-logo {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.dresscode-spacer {
  height: 0.1rem;
  margin-bottom: 0.5rem;
}
.dresscode-note {
  text-align: center;
  font-style: italic;
  font-weight: 300;
  opacity: 0.7;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-family: 'Cormorant Garamond', serif;
}

/* ── Two Col ─────────────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.col-text .badge { margin-bottom: 1rem; display: inline-block; }
.col-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
  line-height: 1.1;
}
.col-text p {
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
}
.trophy-box {
  background: var(--green);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--cream);
  box-shadow: 0 20px 60px rgba(26, 77, 46, 0.25);
  position: relative;
  overflow: hidden;
}
.trophy-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 50%;
  height: 4px;
  background: var(--green-mid);
}
.trophy-box::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; right: 0;
  height: 4px;
  background: var(--purple);
}
.trophy-inner p {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.90;
  line-height: 1.5;
}

/* ── Map ─────────────────────────────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-green);
  position: relative;
}
.map-nav-area {
  padding: 1rem 1.5rem;
  background: var(--white);
  text-align: center;
}
.map-nav-btn {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}
.nav-apps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-apps a {
  font-size: 10px;
  font-family: 'Libre Baskerville', serif;
  color: var(--text-muted);
  opacity: 0.7;
}
.nav-apps a:hover {
  opacity: 1;
  color: var(--green);
}
.section-green .nav-apps a {
  color: var(--text-muted);
}
.section-green .nav-apps a:hover {
  color: var(--green);
}
.section-green .nav-apps {
  border-top-color: var(--border);
}

/* Na mobilu: Navigate zobrazí výběr (Google Maps, Waze, Apple Maps) */
@media (max-width: 768px) {
  .nav-apps--map {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .nav-apps--map.is-open {
    display: flex;
  }
  .nav-apps--map a {
    font-size: 14px;
    padding: 0.6rem 1rem;
    background: var(--green-soft);
    border-radius: var(--radius-sm);
    color: var(--green);
    font-weight: 600;
  }
  .nav-apps--map a:hover {
    background: var(--green);
    color: var(--cream);
  }
}

/* ── RSVP Form ───────────────────────────────────────────────────────────── */
.form-wrap {
  max-width: 580px;
}
.rsvp-form {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(26, 77, 46, 0.1);
  margin-top: 0.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--green);
  font-family: 'Libre Baskerville', serif;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--cream);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
}
.radio-label input { width: auto; accent-color: var(--green); }
.people-count-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.people-count-item {
  flex: 1;
  min-width: 0;
}
.people-count-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.35rem;
  font-family: 'Libre Baskerville', serif;
}
.people-count-item input,
.people-count-item select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
  background: var(--cream);
  color: var(--text);
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}
.people-count-item select {
  min-height: 43px;
}
.attendee-name-item {
  margin-bottom: 0.75rem;
}
.attendee-name-item:last-child {
  margin-bottom: 0;
}
.attendee-name-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.35rem;
  font-family: 'Libre Baskerville', serif;
}
.attendee-name-item input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Libre Baskerville', serif;
}
@media (max-width: 480px) {
  .people-count-row {
    flex-direction: column;
  }
}
.field-note {
  font-size: 12px;
  color: var(--warm-grey);
  margin-top: 0.5rem;
  font-style: italic;
  font-family: 'Libre Baskerville', serif;
}
.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 14px;
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(26, 77, 46, 0.25);
}
.submit-btn:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green));
  color: var(--cream);
}

/* ── Success: Invitation card ────────────────────────────────────────────── */
.hidden { display: none !important; }
.invitation-card {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(26, 77, 46, 0.2);
  border: 1px solid var(--border);
}
.invitation-card__ribbon {
  background: var(--purple);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.invitation-card__body {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}
.invitation-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(107, 45, 139, 0.15));
}
.invitation-card__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.invitation-card__initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}
.invitation-card__heart {
  font-size: 1.25rem;
  color: var(--gold);
}
.invitation-card__names {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.25rem;
  line-height: 1.1;
}
.invitation-card__sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--warm-grey);
  margin: 0 0 1.25rem;
  letter-spacing: 0.03em;
}
.invitation-card__divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.25rem;
}
.invitation-card__date {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 0.25rem;
}
.invitation-card__year {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}
.invitation-card__location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--warm-grey);
  margin: 0 0 1.25rem;
}
.invitation-card__msg {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--green);
  margin: 0 0 1rem;
}
.invitation-card__btn {
  display: inline-block;
  margin-top: 0.5rem;
}
.invitation-card__footer {
  height: 6px;
  background: linear-gradient(90deg, var(--green-mid), var(--green));
}

/* ── Error ───────────────────────────────────────────────────────────────── */
.rsvp-error {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  background: #fff5f5;
  border: 1.5px solid #ffc5c5;
  color: #b00020;
  font-size: 14px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 3.5rem 2rem 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo-stripe {
  display: flex;
  gap: 3px;
  align-items: center;
}
.footer-logo-stripe span {
  display: block;
  width: 3px;
  height: 24px;
  border-radius: 2px;
}
.footer-logo-stripe span:first-child  { background: var(--green-mid); }
.footer-logo-stripe span:last-child   { background: var(--purple); }
.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.footer-title span { color: var(--gold-soft); }
.footer-date { font-family: 'Libre Baskerville', serif; font-size: 12px; letter-spacing: 0.14em; margin-bottom: 1rem; opacity: 0.6; }
.footer-note { font-family: 'Libre Baskerville', serif; font-size: 12px; font-style: italic; opacity: 0.5; }
.footer-divider {
  margin: 1.75rem auto 1.75rem;
  width: 80px;
  height: 4px;
  display: flex;
  overflow: hidden;
  border-radius: 2px;
}
.footer-divider::before { content: ''; flex: 1; background: var(--green-mid); }
.footer-divider::after  { content: ''; flex: 1; background: var(--purple); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .rsvp-form { padding: 1.75rem 1.25rem; }
  .section { padding: 3.5rem 1.25rem; }
  .cards { grid-template-columns: 1fr; }
  .dresscode-grid { grid-template-columns: 1fr; }
  .hero-crest { width: 110px; height: 110px; }
  .lang-toggle { top: 0.5rem; right: 0.75rem; }
}
