/* ===== ცვლადები ===== */
:root {
  --color-bg: #fdf9f5;
  --color-cream: #f5ede2;
  --color-blush: #e8c8b8;
  --color-rose: #c98a7a;
  --color-sage: #9caf95;
  --color-text: #3a322c;
  --color-muted: #8a7e72;
  --color-line: #e8dccd;
  --color-white: #ffffff;
  --color-shadow: rgba(58, 50, 44, 0.08);

  --font-serif: "Cormorant Garamond", "Noto Serif Georgian", serif;
  --font-sans: "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1140px;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== ტიპოგრაფია ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif), "Noto Serif Georgian", serif;
  font-weight: 400;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--color-rose);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-rose);
  margin: 1.5rem auto 0;
}

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 720px; }
.section { padding: 6rem 0; text-align: center; }

/* ===== ნავიგაცია ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(253, 249, 245, 0);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--color-shadow);
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-rose);
  letter-spacing: 0.05em;
}
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__list a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-rose);
  transition: width var(--transition);
}
.nav__list a:hover { color: var(--color-rose); }
.nav__list a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Music Toggle ===== */
.music-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-rose);
  border: 1px solid var(--color-line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.4s ease;
  opacity: 0;
  transform: scale(0.8);
}
.music-toggle.is-visible {
  opacity: 1;
  transform: scale(1);
}
.music-toggle:hover {
  background: var(--color-rose);
  color: white;
  transform: scale(1.05);
}
.music-toggle__icon { display: none; }
.music-toggle:not(.is-muted) .music-toggle__icon--on { display: block; }
.music-toggle.is-muted .music-toggle__icon--off { display: block; }

@media (max-width: 600px) {
  .music-toggle {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ===== VIDEO INTRO ===== */
.video-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #faf3e8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.video-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.video-active {
  overflow: hidden;
}
.video-intro__player {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.video-intro__bg,
.video-intro__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px);
  transform: scale(1.15);
  z-index: 0;
}
.video-intro__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.4s ease;
  z-index: 2;
  animation: pulsePlay 2s ease-in-out infinite;
}
.video-intro__play:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-intro.is-playing .video-intro__play {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.video-intro__skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
  z-index: 2;
}
.video-intro__skip:hover {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes pulsePlay {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

/* ===== ENVELOPE INTRO ===== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a1f1a 0%, #4a3527 50%, #2a1f1a 100%);
  perspective: 1500px;
  transition: opacity 0.8s ease 1.4s, visibility 0.8s ease 1.4s;
  padding: 1rem;
}
.envelope-overlay.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.envelope-active {
  overflow: hidden;
}

.envelope {
  position: relative;
  width: min(420px, 90vw);
  height: min(280px, 60vw);
  transform-style: preserve-3d;
  transition: transform 1s ease 0.6s;
}
.envelope-overlay.is-open .envelope {
  transform: translateY(120vh) rotate(2deg);
}

/* უკანა ფურცელი (envelope-ის სხეული) */
.envelope__back {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fafaf7 0%, #ede8df 100%);
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 30px rgba(0,0,0,0.05);
}

/* წერილი — შიდა ნაწილი */
.envelope__letter {
  position: absolute;
  inset: 8% 6%;
  background: #faf3e8;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s, opacity 0.5s ease 0.4s;
  z-index: 1;
  opacity: 0;
}
.envelope-overlay.is-open .envelope__letter {
  transform: translateY(-60%);
  opacity: 1;
  z-index: 5;
}
.envelope__letter-inner {
  font-family: var(--font-serif), "Noto Serif Georgian", serif;
  color: #4a3527;
}
.envelope__small {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: #8a7e72;
  margin-bottom: 0.5rem;
}
.envelope__names {
  font-family: var(--font-serif), "Noto Serif Georgian", serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 400;
  color: #c98a7a;
  margin: 0.3rem 0;
}
.envelope__line {
  width: 50px;
  height: 1px;
  background: #c98a7a;
  margin: 0.6rem auto;
}
.envelope__date {
  font-family: var(--font-serif), "Noto Serif Georgian", serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

/* წინა ფურცელი — envelope ის ფრონტ ნაწილი */
.envelope__front {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0ebe1 100%);
  border-radius: 4px;
  z-index: 4;
  clip-path: polygon(0 50%, 50% 100%, 100% 50%, 100% 100%, 0 100%);
  box-shadow: inset 0 -5px 20px rgba(0,0,0,0.06);
}

/* Flap (გადასახდელი ნაწილი ზევით) */
.envelope__flap {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, #f8f4ec 0%, #ffffff 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 6;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.envelope-overlay.is-open .envelope__flap {
  transform: rotateX(-180deg);
  z-index: 2;
}

/* ბეჭედი (gold seal) */
.envelope__seal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff5d4 0%, #f4d77a 18%, #d4a72a 50%, #a87d12 85%, #6e4f08 100%);
  color: #4a3608;
  font-family: var(--font-serif), serif;
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.45),
    inset 0 -4px 12px rgba(110, 79, 8, 0.5),
    inset 0 4px 12px rgba(255, 245, 212, 0.6),
    inset 0 0 0 2px rgba(212, 167, 42, 0.6);
  z-index: 10;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, opacity 0.3s ease 0.2s;
  animation: pulseSeal 2.2s ease-in-out infinite;
}
.envelope__seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(74, 54, 8, 0.4);
  pointer-events: none;
}
.envelope__seal:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.envelope__seal-inner {
  font-style: italic;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(255,255,255,0.4), 0 -1px 1px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: baseline;
  position: relative;
  z-index: 1;
}
.envelope__seal-amp {
  font-size: 0.7em;
  margin: 0 0.1em;
  color: #6e4f08;
}
.envelope-overlay.is-open .envelope__seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
  animation: none;
}

@keyframes pulseSeal {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 -4px 12px rgba(110, 79, 8, 0.5), inset 0 4px 12px rgba(255, 245, 212, 0.6), inset 0 0 0 2px rgba(212, 167, 42, 0.6), 0 0 0 0 rgba(212, 167, 42, 0.55); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 -4px 12px rgba(110, 79, 8, 0.5), inset 0 4px 12px rgba(255, 245, 212, 0.6), inset 0 0 0 2px rgba(212, 167, 42, 0.6), 0 0 0 18px rgba(212, 167, 42, 0); }
}

.envelope__hint {
  margin-top: 2.5rem;
  color: #d4b89c;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-family: var(--font-serif), serif;
  font-style: italic;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.envelope-overlay.is-open .envelope__hint {
  opacity: 0;
}

/* ===== Dev Panel (დროებითი) ===== */
.dev-panel {
  position: fixed;
  top: 80px;
  right: 1rem;
  z-index: 999;
  font-family: var(--font-sans);
  font-size: 14px;
}
.dev-panel__toggle {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  background: var(--color-rose);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  cursor: pointer;
  border: none;
}
.dev-panel__body {
  display: none;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  min-width: 280px;
  margin-top: 50px;
  color: var(--color-text);
}
.dev-panel.is-open .dev-panel__body { display: block; }
.dev-panel__title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-rose);
}
.dev-panel label {
  display: block;
  margin-bottom: 1rem;
  font-size: 13px;
}
.dev-panel input[type="range"] {
  width: 100%;
  margin-top: 0.4rem;
}
.dev-panel__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.dev-panel__row button {
  flex: 1;
  padding: 0.6rem;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.dev-panel__row button:hover { background: var(--color-blush); }
.dev-panel__output {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #f5f5f5;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
  white-space: pre-wrap;
  display: none;
}
.dev-panel__output.show { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  background: #1a1612;
  color: var(--color-white);
  padding: 2rem 2rem 3rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.65);
  transform: scale(1.15);
}
.hero__slide-photo {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 769px) {
  .hero__slide-photo {
    background-size: auto 102%;
    background-position: center 40%;
  }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeUp 1.4s ease both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.hero__names {
  font-family: var(--font-serif), "Noto Serif Georgian", serif;
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero__amp {
  font-style: italic;
  color: var(--color-blush);
  font-size: 0.7em;
  font-weight: 300;
}
.hero__date {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.hero__place {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 3rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--color-white);
  animation: bounce 2s infinite;
  z-index: 2;
}

/* ===== Countdown ===== */
.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.countdown__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}
.countdown__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--color-rose);
  color: var(--color-white);
}
.btn--primary:hover {
  background: transparent;
  border-color: var(--color-white);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--color-rose);
  color: var(--color-rose);
  margin-top: 1rem;
  font-size: 0.75rem;
}
.btn--outline:hover {
  background: var(--color-rose);
  color: var(--color-white);
}
.btn--full { width: 100%; margin-top: 1rem; }

/* ===== Story ===== */
.section--story { background: var(--color-cream); }
.story {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.story__text p { margin-bottom: 1.5rem; }
.story__signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-rose);
  margin-top: 2rem;
}

/* ===== Details ===== */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.detail-card {
  padding: 3rem 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px var(--color-shadow);
}
.detail-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.detail-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.detail-card__time {
  color: var(--color-rose);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.detail-card__place {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.detail-card__address {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== Schedule / Timeline ===== */
.section--schedule { background: var(--color-cream); }
.timeline {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  text-align: left;
  padding-left: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--color-line);
}
.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.25rem 0;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 1.75rem;
  width: 9px; height: 9px;
  background: var(--color-rose);
  border-radius: 50%;
}
.timeline__time {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-rose);
  width: 70px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 500;
  padding-top: 0.25rem;
}
.timeline__body { padding-left: 2rem; }
.timeline__body h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.timeline__body p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery__item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__empty {
  grid-column: 1 / -1;
  padding: 4rem 2rem;
  font-style: italic;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 2rem;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== RSVP ===== */
.section--rsvp {
  background: var(--color-cream);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 138, 122, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(156, 175, 149, 0.08) 0%, transparent 50%);
}
.rsvp__intro {
  margin-bottom: 3rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}
.rsvp-form {
  text-align: left;
  background: var(--color-white);
  padding: 3rem;
  border: 1px solid var(--color-line);
  box-shadow: 0 5px 30px var(--color-shadow);
}
.form-row { margin-bottom: 1.5rem; }
.form-row label,
.form-row__label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-rose);
}
.form-radio {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form-radio label {
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0;
}
.form-radio input[type="radio"] {
  width: auto;
  accent-color: var(--color-rose);
}
.form-success {
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
  background: var(--color-sage);
  color: white;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: var(--color-cream);
  text-align: center;
  padding: 4rem 1.5rem;
}
.footer__names {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.footer__date {
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: var(--color-blush);
}
.footer__quote {
  font-family: var(--font-serif);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.8;
  font-size: 1.05rem;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__toggle { display: flex; }
  .nav__list {
    position: fixed;
    top: 0; right: 0;
    width: 75%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -5px 0 30px var(--color-shadow);
  }
  .nav__list.open { transform: translateX(0); }

  .section { padding: 4rem 0; }
  .countdown { gap: 0.75rem; }
  .countdown__item { min-width: 60px; padding: 0.75rem 0.5rem; }
  .countdown__num { font-size: 1.75rem; }

  .timeline::before { left: 70px; }
  .timeline__item::before { left: 66px; }
  .timeline__time { width: 50px; font-size: 1rem; }
  .timeline__body { padding-left: 1.5rem; }

  .rsvp-form { padding: 2rem 1.5rem; }
}
