@import url("./assets/css2.css");

:root {
  --background: #efdfd5;
  --foreground: #587042;

  --cream: #efdfd5;
  --sage: #a9b494;
  --sage-dark: #587042;
  --sage-light: #a9b494;
  --muted-fg: #a9b494;
  --border: #a9b494;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Lora", serif;
  --font-script: "Great Vibes", cursive;

  --shadow-soft:
    0 2px 15px -3px rgba(88, 112, 66, 0.08),
    0 4px 6px -2px rgba(88, 112, 66, 0.04);

  --shadow-elegant:
    0 10px 40px -10px rgba(88, 112, 66, 0.12),
    0 4px 15px -3px rgba(88, 112, 66, 0.06);

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
============================================ */

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

html {
  scroll-behavior: smooth;
  color-scheme: light only;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body);
  font-size: 0.956rem;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

/* ============================================
   Button Loader
============================================ */

.btn-loader {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   ENVELOPE
============================================ */

.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  width: 100%;
  height: 100vh;

  background: var(--background);
  cursor: pointer;
  overflow: hidden;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity 0.8s ease-in-out;
}

.envelope-overlay.fading {
  opacity: 0;
  pointer-events: none;
}

.envelope-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.envelope-click-area {
  position: absolute;
  inset: 0;
  z-index: 2;

  width: 100%;
  height: 100%;

  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}

#intro-prompt {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: visible;

  animation: fadeInPrompt 1.5s ease 0.5s both;
}

.intro-prompt-tap {
  font-family: var(--font-body);
  font-size: 0.956rem;
  font-weight: 400;
  color: var(--muted-fg);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

#intro-prompt.prompt-hidden {
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: none !important;
}

@keyframes fadeInPrompt {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================
   SCROLL REVEAL
============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 900;
  height: 56px;

  background: rgba(239, 223, 213, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(169, 180, 148, 0.75);
}

.nav-container {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sage-dark);
  text-decoration: none;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a,
.nav-links a:link,
.nav-links a:visited,
.nav-links a:active {
  position: relative;

  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--muted-fg);
  text-decoration: none;
  white-space: nowrap;

  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  display: block;

  width: 0;
  height: 1px;

  margin-top: 3px;

  background: var(--sage-dark);

  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ============================================
   MUSIC BUTTON
============================================ */

.music-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid rgba(169, 180, 148, 0.75);
  border-radius: 50%;

  background: var(--cream);
  color: transparent;

  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0;
  line-height: 1;

  box-shadow: var(--shadow-soft);

  transition:
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.music-btn::before {
  content: "♪";
  font-family: "Times New Roman", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--sage-dark);
  transform: translateY(-1px);
}

.music-btn::after {
  content: "";
  position: absolute;

  width: 2px;
  height: 27px;

  border-radius: 999px;
  background: var(--sage-dark);

  transform: rotate(-35deg);
  opacity: 1;

  transition: opacity 0.25s ease;
}

.music-btn.playing::after {
  opacity: 0;
}

.music-btn:hover {
  background: rgba(169, 180, 148, 0.18);
  transform: translateY(-1px);
}

/* ============================================
   HERO SECTION
============================================ */

.hero-section {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: calc(100vh - 56px);
  margin-top: 56px;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 10vh 1.5rem 5rem;

  overflow: hidden;
  background: var(--sage-dark);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  text-align: center;

  animation: heroFadeIn 1.2s ease forwards;
}

.main-title {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.1;

  color: var(--sage-light);

  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(0, 0, 0, 0.08);

  margin-bottom: 0.75rem;

  white-space: nowrap;
}

.main-title span {
  display: inline;
  font-size: clamp(4rem, 8vw, 6rem);
}

.wedding-date {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 300;

  letter-spacing: 0.35em;
  text-transform: uppercase;

  color: var(--sage-dark);

  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* ============================================
   INVITATION SECTION
============================================ */

.invitation-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 6rem 1.5rem;
}

.invitation-content {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;

  text-align: center;
  color: var(--sage-dark);
}

.divider {
  font-family: var(--font-display);
  color: var(--sage-dark);
  font-size: 1.4rem;
  line-height: 1;

  margin: 1.1rem 0;

  opacity: 0.9;
}

.parents-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;

  letter-spacing: 0.05em;
  line-height: 1.7;

  color: var(--sage-dark);

  margin: 0.5rem 0;
}

.invite-text {
  font-family: var(--font-body);
  font-size: 0.956rem;
  font-style: italic;

  color: var(--muted-fg);

  line-height: 1.8;

  margin: 1.5rem 0;
}

.couple-names {
  margin: 2rem 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  flex-wrap: wrap;

  font-weight: 400;
}

.couple-names span:not(.ampersand) {
  font-family: var(--font-script);
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 1;

  color: var(--sage-dark);
}

.couple-names .ampersand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;

  color: var(--sage-dark);

  margin: 0 0.5rem;
}

.date-details {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;

  letter-spacing: 0.06em;
  line-height: 1.6;

  color: var(--sage-dark);

  margin: 1.5rem 0 1rem;
}

.ceremony-details,
.reception-details {
  font-family: var(--font-body);
  font-size: 0.956rem;

  color: var(--muted-fg);

  line-height: 1.75;

  margin: 1rem 0;
}

.venue-name {
  display: inline-block;

  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;

  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-top: 0.4rem;
}

.venue-location {
  display: inline-block;

  font-family: var(--font-body);
  font-size: 0.956rem;
  font-style: italic;

  color: var(--muted-fg);
}

.invitation-rings {
  width: 92px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.parents-join {
  display: inline-block;
  margin: 0.55rem 0 0.35rem;

  font-family: var(--font-body);
  font-size: 0.98rem;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.6;

  color: var(--muted-fg);
}

/* ============================================
   SHARED SECTION TITLES
============================================ */

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.956rem;
  font-style: italic;
  color: var(--muted-fg);

  margin-bottom: 3rem;
}

/* ============================================
   COUNTDOWN
============================================ */

.countdown-section {
  position: relative;
  z-index: 2;

  min-height: 80vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 6rem 1.5rem;

  text-align: center;
}

.countdown-icon {
  width: 190px;
  height: auto;

  margin: 0 auto 3rem;

  opacity: 0.95;
}

.timer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;

  width: 100%;
  max-width: 600px;

  margin: 2rem auto 0;
}

.time-box {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;

  padding: 1.5rem 0.5rem;

  text-align: center;

  box-shadow: var(--shadow-soft);
}

.time-number {
  display: block;

  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;

  color: var(--sage-dark);
}

.time-label {
  display: block;

  font-family: var(--font-body);
  font-size: 0.85rem;

  text-transform: uppercase;
  letter-spacing: 0.15em;

  color: var(--muted-fg);

  margin-top: 0.5rem;
}

/* ============================================
   IMAGE
============================================ */

.image-break {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: 520px;

  background: var(--background);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5rem 1.5rem;

  overflow: hidden;
}

.image-break .image-container {
  width: 100%;
  height: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.image-break .full-width-img {
  width: 340px;
  max-width: 72vw;
  height: auto;

  object-fit: contain;
  object-position: center center;

  display: block;
}

/* ============================================
   LOCATION
============================================ */

.location-section {
  position: relative;
  z-index: 2;

  min-height: 80vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 6rem 1.5rem;

  text-align: center;
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;

  width: 100%;
  max-width: 900px;

  margin-top: 2.5rem;
}

.venue-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;

  padding: 2rem 1.5rem;

  text-align: center;

  box-shadow: var(--shadow-elegant);
}

.venue-type,
.category-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-bottom: 0.8rem;
}

.venue-card .venue-name {
  margin-top: 0;
}

.venue-city,
.contact-note,
.registry-text,
.rsvp-subtitle,
.rsvp-deadline {
  font-family: var(--font-body);
  font-size: 0.956rem;
  color: var(--muted-fg);
}

.btn-map {
  display: inline-block;

  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding: 0.75rem 2rem;
  margin-top: 1.25rem;

  border-radius: 8px;
  border: 1px solid var(--sage-dark);

  background: transparent;
  color: var(--sage-dark);

  cursor: pointer;

  transition: var(--transition);
}

.btn-map:hover {
  background: var(--sage-dark);
  color: var(--cream);
}

.venue-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;

  color: var(--sage-dark);

  margin-bottom: 1.4rem;
}

.venue-type-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;

  color: var(--muted-fg);

  margin-bottom: 0.45rem;
}

.map-frame {
  width: 100%;
  height: 250px;

  margin: 1.8rem auto 1.5rem;

  border-radius: 8px;
  overflow: hidden;

  background: rgba(169, 180, 148, 0.15);
}

.map-frame iframe {
  width: 100%;
  height: 100%;

  border: 0;
  display: block;
}

/* ============================================
   SCHEDULE
============================================ */

.schedule-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 4.5rem 1.5rem 6rem;

  text-align: center;
}

.schedule-section .section-title {
  margin-bottom: 0.75rem;
}

.schedule-section .section-subtitle {
  margin-bottom: 5rem;
}

.timeline-container {
  position: relative;

  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 4.2rem;
}

.timeline-container::before {
  content: "";

  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 230px;

  width: 2px;

  background: rgba(88, 112, 66, 0.35);
}

.timeline-item {
  position: relative;

  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 5.5rem;

  align-items: start;

  margin: 0;

  text-align: left;
}

.timeline-item::before {
  content: "";

  position: absolute;
  top: 0.25rem;
  left: 220px;

  width: 22px;
  height: 22px;

  border-radius: 50%;
  border: 3px solid rgba(88, 112, 66, 0.45);

  background: var(--background);

  z-index: 2;
}

.timeline-item::after {
  content: "";

  position: absolute;
  top: 0.68rem;
  left: 227px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--sage-dark);

  opacity: 0.75;

  z-index: 3;
}

.time-block {
  text-align: right;
  padding-top: 0.1rem;
}

.time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;

  letter-spacing: 0.08em;

  color: var(--muted-fg);
}

.event-info {
  padding-left: 0;
}

.timeline-icon {
  width: 86px;
  height: auto;

  margin: -1.2rem 0 1.1rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-bottom: 0.45rem;
}

.event-location {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;

  color: var(--muted-fg);

  line-height: 1.5;
}

/* ============================================
   TRAVEL & STAY
============================================ */

.travel-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 6rem 1.5rem 7rem;

  text-align: center;
}

.travel-section .section-title {
  margin-bottom: 0.65rem;
}

.travel-section .section-subtitle {
  margin-bottom: 4.5rem;
}

.travel-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.travel-block {
  width: 100%;
  margin-bottom: 3.8rem;
}

.travel-small-title {
  position: relative;

  display: inline-block;

  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-bottom: 1.8rem;
}

.travel-small-title::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -0.75rem;

  width: 52px;
  height: 1px;

  background: var(--sage-dark);

  transform: translateX(-50%);
  opacity: 0.75;
}

.hotel-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 0.85rem;

  margin: 0 auto 1.5rem;
}

.hotel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0.85rem 1.35rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 6px;

  font-family: var(--font-body);
  font-size: 0.92rem;

  letter-spacing: 0.06em;

  color: var(--sage-dark);
  background: transparent;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.hotel-pill:hover {
  background: rgba(169, 180, 148, 0.14);
  border-color: rgba(88, 112, 66, 0.65);
}

.contact-note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;

  color: var(--muted-fg);

  margin-top: 1rem;
}

.restaurants-block {
  margin-top: 1rem;
  margin-bottom: 0;
}

.accordion-list {
  width: 100%;
  max-width: 720px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1rem 1.25rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 6px;

  background: transparent;
  color: var(--sage-dark);

  font-family: var(--font-body);
  font-size: 0.95rem;

  letter-spacing: 0.06em;
  text-align: left;

  cursor: pointer;

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.accordion-item:hover {
  background: rgba(169, 180, 148, 0.12);
  border-color: rgba(88, 112, 66, 0.65);
}

.accordion-arrow {
  font-size: 1rem;
  color: var(--muted-fg);
}

/* ============================================
   DISCOVER
============================================ */

.discover-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 5.5rem 1.5rem 7rem;

  text-align: center;
}

.discover-section .section-title {
  margin-bottom: 0.75rem;
}

.discover-section .section-subtitle {
  margin-bottom: 1.6rem;
}

.discover-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 270px;

  padding: 0.85rem 2.2rem;
  margin-bottom: 4.2rem;

  border-radius: 6px;
  border: 1px solid var(--sage-dark);

  background: var(--sage-dark);
  color: var(--cream);

  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.discover-main-btn:hover {
  background: #425a31;
  border-color: #425a31;
  color: var(--cream);
  transform: translateY(-1px);
}

.good-to-know {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
}

.discover-small-title {
  position: relative;

  display: inline-block;

  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--sage-dark);

  margin-bottom: 3rem;
}

.discover-small-title::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -0.75rem;

  width: 52px;
  height: 1px;

  background: var(--sage-dark);

  transform: translateX(-50%);
  opacity: 0.75;
}

.tips-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tip-card {
  min-height: 250px;

  padding: 2rem 1rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 8px;

  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.tip-icon {
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1rem;

  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;

  color: var(--sage-dark);
}

.tip-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;

  color: var(--sage-dark);

  margin-bottom: 0.45rem;
}

.tip-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;

  color: var(--muted-fg);

  line-height: 1.7;
}

.tip-icon-cash {
  font-size: 2.1rem;
  font-weight: 600;
}

.tip-icon-water,
.tip-icon-transport,
.tip-icon-makeup {
  font-size: 1.9rem;
}

/* ============================================
   GIFTS
============================================ */

.gifts-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 6rem 1.5rem 4rem;

  text-align: center;
}

.gifts-section .divider.icon-star {
  margin-bottom: 2rem;
}

.gifts-section .section-title {
  margin-bottom: 1rem;
}

.registry-text {
  width: 100%;
  max-width: 780px;

  margin: 0 auto 4rem;

  font-family: var(--font-body);
  font-size: 0.96rem;
  font-style: italic;

  color: var(--muted-fg);

  line-height: 1.8;
}

.registry-card {
  width: 100%;
  max-width: 880px;
  min-height: 275px;

  margin: 0 auto 2rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 10px;

  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 3rem 1.5rem;

  box-shadow: var(--shadow-elegant);
}

.registry-icon {
  width: 42px;
  height: 42px;

  margin-bottom: 1.6rem;

  color: var(--sage-dark);
}

.registry-icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  display: block;
}

.registry-card-title {
  margin-bottom: 2rem;

  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;

  letter-spacing: 0.04em;

  color: var(--sage-dark);
}

.registry-btn {
  min-width: 185px;

  padding: 0.75rem 2rem;

  border: 1px solid var(--sage-dark);
  border-radius: 6px;

  background: transparent;
  color: var(--sage-dark);

  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.registry-btn:hover {
  background: var(--sage-dark);
  color: var(--cream);
  transform: translateY(-1px);
}

/* Bank account details */
.registry-card.opened,
.registry-card:has(.registry-details) {
  max-width: 880px;
  padding: 3rem 1.6rem 3.2rem;
}

.registry-details {
  width: 100%;
  margin-top: 1.4rem;
  animation: fadeInUp 0.5s ease forwards;
}

.registry-accounts-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.registry-account-box {
  position: relative;

  min-height: 225px;
  padding: 2.1rem 1.1rem 1.2rem;

  border: 1px solid rgba(88, 112, 66, 0.55);
  border-radius: 8px;

  background: #f8f4ef;
}

.registry-account-box h4 {
  position: absolute;
  top: -16px;
  left: 50%;

  min-width: 190px;
  padding: 0.45rem 1.1rem;

  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--cream);

  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.17em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;

  transform: translateX(-50%);
}

.registry-account-table {
  width: 100%;
}

.registry-details-row {
  min-height: 34px;
  padding: 0.35rem 0;

  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 0.75rem;
  align-items: center;

  border-bottom: 1px solid rgba(88, 112, 66, 0.26);
}

.registry-details-row:last-child {
  border-bottom: none;
}

.registry-details-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;

  color: rgba(88, 112, 66, 0.68);

  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: left;
}

.registry-details-value {
  font-family: var(--font-body);
  font-size: 0.88rem;

  color: var(--sage-dark);

  line-height: 1.55;
  text-align: right;
  word-break: normal;
}

/* ============================================
   RSVP
============================================ */

.rsvp-section {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  background: var(--background);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 7rem 1.5rem 6rem;

  text-align: center;
}

.rsvp-section .section-title {
  margin-bottom: 0.65rem;
}

.rsvp-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;

  color: var(--muted-fg);

  margin-bottom: 3.3rem;
}

.rsvp-deadline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;

  letter-spacing: 0.14em;

  color: var(--muted-fg);

  margin-bottom: 3.2rem;
}

.rsvp-form-container {
  width: 100%;
  max-width: 620px;

  margin: 0 auto;
}

.rsvp-form {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  text-align: left;
}

.rsvp-form-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;

  letter-spacing: 0.06em;

  color: var(--sage-dark);

  text-align: center;

  margin-bottom: 2.6rem;
}

.form-label {
  display: block;

  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;

  letter-spacing: 0.12em;

  color: var(--sage-dark);

  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  height: 46px;

  padding: 0 1rem;

  font-family: var(--font-body);
  font-size: 0.95rem;

  color: var(--foreground);
  background: transparent;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 6px;

  outline: none;

  margin-bottom: 2rem;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-input::placeholder {
  color: rgba(88, 112, 66, 0.55);
}

.form-input:focus {
  border-color: rgba(88, 112, 66, 0.75);
  box-shadow: 0 0 0 3px rgba(169, 180, 148, 0.18);
}

.btn-submit {
  width: 100%;
  height: 52px;

  border: 1px solid var(--sage-dark);
  border-radius: 6px;

  background: var(--sage-dark);
  color: var(--cream);

  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-submit:hover {
  background: #425a31;
  border-color: #425a31;
  color: var(--cream);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
============================================ */

.site-footer {
  position: relative;
  z-index: 2;

  min-height: 500px;

  background-color: var(--sage-dark);
  color: var(--cream);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 5rem 1.5rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: url("assets/ball-dance.webp");
  background-repeat: no-repeat;
  background-size: 620px auto;
  background-position: center 50%;

  opacity: 0.34;

  z-index: 0;
  pointer-events: none;
}

.site-footer::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(88, 112, 66, 0.58);

  z-index: 1;
  pointer-events: none;
}

.footer-divider,
.footer-content,
.footer-names,
.footer-date,
.footer-tagline,
.footer-logo {
  position: relative;
  z-index: 2;
}

.footer-divider {
  width: 240px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  margin-bottom: 2.4rem;

  color: rgba(239, 223, 213, 0.58);
}

.footer-divider span:not(.footer-heart) {
  width: 92px;
  height: 1px;

  background: rgba(239, 223, 213, 0.42);
}

.footer-heart {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(4.4rem, 8vw, 6.8rem);
  font-weight: 400;
  line-height: 1;

  color: #fff;

  margin-bottom: 1.25rem;
}

.footer-date {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;

  letter-spacing: 0.38em;
  text-transform: uppercase;

  color: rgba(239, 223, 213, 0.72);

  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;

  color: rgba(239, 223, 213, 0.7);

  margin-bottom: 2rem;
}

.footer-logo {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(239, 223, 213, 0.28);
  border-radius: 50%;

  font-family: var(--font-script);
  font-size: 1.55rem;
  line-height: 1;

  color: rgba(239, 223, 213, 0.5);
}

/* ============================================
   RESPONSIVE - ENVELOPE
============================================ */

@media (max-width: 768px) {
  #intro-prompt {
    bottom: 8%;
  }

  .intro-prompt-tap {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  #intro-prompt {
    bottom: 7%;
  }

  .intro-prompt-tap {
    font-size: 0.85rem;
    letter-spacing: 0.09em;
  }
}

/* ============================================
   RESPONSIVE - NAVIGATION
============================================ */

@media (max-width: 960px) {
  .navbar {
    position: sticky;
    top: 0;

    height: auto;
    min-height: 56px;
  }

  .nav-container {
    min-height: 56px;
    height: auto;

    padding: 0.75rem 1.25rem;

    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .nav-links {
    width: 100%;
    order: 3;
  }

  .nav-links ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .nav-links a {
    font-size: 0.76rem;
  }

  .hero-section {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 120px;
  }

  .nav-container {
    padding: 0.65rem 1rem;
  }

  .logo a {
    font-size: 1.45rem;
  }

  .nav-links ul {
    gap: 0.55rem 0.8rem;
  }

  .nav-links a {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }
}

/* ============================================
   RESPONSIVE - MUSIC BUTTON
============================================ */

@media (max-width: 520px) {
  .music-btn {
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }

  .music-btn::before {
    font-size: 2rem;
  }
}

/* ============================================
   RESPONSIVE - HERO SECTION
============================================ */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 8vh;
    padding-bottom: 4rem;
  }

  .main-title span {
    font-size: clamp(3.4rem, 13vw, 4.4rem);
  }

  .wedding-date {
    font-size: 1.15rem;
    letter-spacing: 0.25em;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: calc(100vh - 56px);
    min-height: calc(100svh - 56px);
    margin-top: 0;
    padding: 7vh 1rem 3.5rem;
  }

  .main-title span {
    font-size: 3.2rem;
  }

  .wedding-date {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }
}

/* ============================================
   RESPONSIVE - INVITATION SECTION
============================================ */

@media (max-width: 768px) {
  .invitation-section {
    padding: 4rem 1.25rem;
  }

  .couple-names span:not(.ampersand) {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }
}

@media (max-width: 480px) {
  .parents-text {
    font-size: 1rem;
  }

  .couple-names {
    gap: 0.35rem;
  }

  .couple-names span:not(.ampersand) {
    font-size: 3rem;
  }

  .couple-names .ampersand {
    font-size: 1.8rem;
    margin: 0 0.25rem;
  }
}

/* ============================================
   RESPONSIVE - SHARED SECTION TITLES
============================================ */

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }
}

/* ============================================
   RESPONSIVE - COUNTDOWN
============================================ */

@media (max-width: 768px) {
  .countdown-section {
    padding: 4rem 1.25rem;
  }

  .countdown-icon {
    width: 155px;
    margin-bottom: 2.8rem;
  }

  .timer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .countdown-icon {
    width: 125px;
    margin-bottom: 2.4rem;
  }
}

/* ============================================
   RESPONSIVE - IMAGE
============================================ */

@media (max-width: 768px) {
  .image-break {
    min-height: 430px;
    padding: 4rem 1.25rem;
  }

  .image-break .full-width-img {
    width: 300px;
    max-width: 75vw;
  }
}

@media (max-width: 480px) {
  .image-break {
    min-height: 360px;
    padding: 3.5rem 1rem;
  }

  .image-break .full-width-img {
    width: 240px;
    max-width: 78vw;
  }
}

/* ============================================
   RESPONSIVE - LOCATION
============================================ */

@media (max-width: 768px) {
  .location-section {
    padding: 4rem 1.25rem;
  }

  .venues-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - SCHEDULE
============================================ */

@media (max-width: 768px) {
  .schedule-section {
    padding: 4rem 1.25rem 5rem;
  }

  .schedule-section .section-subtitle {
    margin-bottom: 4rem;
  }

  .timeline-container {
    max-width: 520px;
    gap: 3.5rem;
  }

  .timeline-container::before {
    left: 120px;
  }

  .timeline-item {
    grid-template-columns: 90px 1fr;
    column-gap: 4rem;
  }

  .timeline-item::before {
    left: 110px;
  }

  .timeline-item::after {
    left: 117px;
  }

  .time {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }

  .event-title {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  .event-location {
    font-size: 1rem;
  }

  .timeline-icon {
    width: 70px;
  }
}

@media (max-width: 480px) {
  .schedule-section {
    padding: 3.5rem 1rem 4.5rem;
  }

  .schedule-section .section-subtitle {
    margin-bottom: 3.2rem;
  }

  .timeline-container {
    gap: 3rem;
  }

  .timeline-container::before {
    left: 82px;
  }

  .timeline-item {
    grid-template-columns: 65px 1fr;
    column-gap: 3rem;
  }

  .timeline-item::before {
    left: 72px;

    width: 20px;
    height: 20px;
  }

  .timeline-item::after {
    left: 79px;
    top: 0.65rem;

    width: 7px;
    height: 7px;
  }

  .time {
    font-size: 0.95rem;
  }

  .event-title {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .event-location {
    font-size: 0.9rem;
  }

    .map-frame {
    height: 220px;
  }

  .timeline-icon {
    width: 62px;
  }
}

/* ============================================
   RESPONSIVE - TRAVEL & STAY
============================================ */

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

  .travel-section .section-subtitle {
    margin-bottom: 3.5rem;
  }

  .travel-content {
    max-width: 620px;
  }

  .hotel-pills {
    gap: 0.7rem;
  }

  .hotel-pill {
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.86rem;
  }

  .accordion-list {
    max-width: 100%;
  }

  .accordion-item {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 480px) {
  .travel-section {
    padding: 4rem 1rem 5rem;
  }

  .travel-small-title {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .hotel-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-pill {
    width: 100%;
  }

  .contact-note {
    font-size: 0.86rem;
  }

  .accordion-item {
    font-size: 0.84rem;
    letter-spacing: 0.04em;
  }
}

/* ============================================
   RESPONSIVE - DISCOVER
============================================ */

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

  .discover-main-btn {
    min-width: 240px;
    margin-bottom: 3.5rem;
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tip-card {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .discover-section {
    padding: 4rem 1rem 5rem;
  }

  .discover-main-btn {
    width: 100%;
    min-width: 0;
    font-size: 0.85rem;
  }

  .discover-small-title {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .tip-card {
    min-height: auto;
    padding: 1.8rem 1rem;
  }
}

/* ============================================
   RESPONSIVE - GIFTS
============================================ */

@media (max-width: 768px) {
  .gifts-section {
    padding: 5rem 1.25rem 4rem;
  }

  .registry-text {
    margin-bottom: 3rem;
  }

  .registry-card {
    max-width: 100%;
    min-height: 250px;
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .gifts-section {
    padding: 4rem 1rem 3.5rem;
  }

  .registry-text {
    font-size: 0.88rem;
  }

  .registry-card {
    min-height: 230px;
    padding: 2.25rem 1rem;
  }

  .registry-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .registry-accounts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .registry-account-box {
    padding: 2.1rem 1rem 1.2rem;
  }

  .registry-details-row {
    grid-template-columns: 1fr 1.2fr;
    gap: 0.55rem;
  }

  .registry-details-label,
  .registry-details-value {
    font-size: 0.78rem;
  }
}

/* ============================================
   RESPONSIVE - RSVP
============================================ */

@media (max-width: 768px) {
  .rsvp-section {
    padding: 5.5rem 1.25rem 5rem;
  }

  .rsvp-subtitle {
    margin-bottom: 2.8rem;
  }

  .rsvp-deadline {
    margin-bottom: 2.8rem;
  }

  .rsvp-form-container {
    max-width: 620px;
  }
}

@media (max-width: 480px) {
  .rsvp-section {
    padding: 4.5rem 1rem 4rem;
  }

  .rsvp-deadline {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .rsvp-form-title {
    margin-bottom: 2rem;
  }

  .form-label {
    font-size: 0.82rem;
  }

  .form-input {
    height: 44px;
    font-size: 0.86rem;
  }

  .btn-submit {
    height: 50px;
    font-size: 0.8rem;
  }
}

/* ============================================
   RESPONSIVE - FOOTER
============================================ */

@media (max-width: 768px) {
  .site-footer {
    min-height: 460px;
    padding: 4.5rem 1.25rem;
  }

   .site-footer::before {
    background-size: 500px auto;
    background-position: center 50%;
    opacity: 0.32;
  }

  .site-footer::after {
    background: rgba(88, 112, 66, 0.65);
  }

  .footer-divider {
    margin-bottom: 2rem;
  }

  .footer-names {
    font-size: clamp(3.4rem, 11vw, 4.4rem);
  }
}

@media (max-width: 480px) {
  .site-footer {
    min-height: 430px;
    padding: 4rem 1rem;
  }

  .site-footer::before {
   background-size: 390px auto;
   background-position: center 50%;
   opacity: 0.3;
}

  .site-footer::after {
    background: rgba(88, 112, 66, 0.68);
  }

  .footer-divider {
    width: 140px;
    gap: 0.8rem;
  }

  .footer-divider span:not(.footer-heart) {
    width: 48px;
  }

  .footer-names {
    font-size: 3.2rem;
  }

  .footer-date {
    font-size: 0.78rem;
    letter-spacing: 0.25em;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-logo {
    width: 62px;
    height: 62px;
    font-size: 1.35rem;
  }
}

/* ======================= */
/*      RSVP FLOW          */
/* ======================= */

.rsvp-section {
  background: var(--background);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.rsvp-form-container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.rsvp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 2.5rem auto 2rem;
  border: none;
  background: transparent;
  color: var(--muted-fg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.rsvp-back-btn:hover {
  color: var(--sage-dark);
}

.rsvp-guest-card {
  width: min(760px, 100%);
  min-height: 330px;
  margin: 0 auto 3.5rem;
  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(88, 112, 66, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--sage-dark);
  background: rgba(239, 223, 213, 0.35);
}

.rsvp-guest-card h3 {
  margin: 2rem 0;
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
}

.rsvp-heart {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--sage-dark);
}

.rsvp-star {
  font-size: 2.4rem;
  color: var(--sage-dark);
}

.rsvp-already {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.rsvp-already h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--sage-dark);
  margin-bottom: 1.2rem;
}

.rsvp-already p {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.7;
  color: var(--muted-fg);
  max-width: 680px;
  margin: 0 auto;
}

.rsvp-note-card,
.rsvp-event-card {
  width: min(820px, 100%);
  margin: 0 auto 3rem;
  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 16px;
  background: rgba(239, 223, 213, 0.32);
  color: var(--sage-dark);
}

.rsvp-note-card {
  padding: 3rem 2rem;
}

.rsvp-note-card p {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0.8rem auto;
}

.rsvp-note-card strong {
  font-weight: 600;
  color: var(--sage-dark);
}

.rsvp-star-small {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: var(--sage-dark);
}

.rsvp-event-card {
  padding: 3rem 2.4rem;
}

.rsvp-event-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--sage-dark);
  margin-bottom: 0.6rem;
}

.rsvp-event-card > p {
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--muted-fg);
  margin-bottom: 0.7rem;
}

.rsvp-event-card em {
  display: block;
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}

.rsvp-event-options {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 2rem;
}

.rsvp-event-name,
.rsvp-choice-btn {
  min-height: 88px;
  border: 2px solid rgba(88, 112, 66, 0.45);
  border-radius: 10px;
  background: transparent;
  color: var(--sage-dark);
}

.rsvp-event-name {
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: left;
}

.rsvp-choice-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.rsvp-choice-btn span {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.rsvp-choice-btn:hover,
.rsvp-choice-btn.selected {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--cream);
}

.rsvp-confirm-btn {
  width: min(820px, 100%);
  margin-top: 1rem;
}

.rsvp-inline-msg {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .rsvp-section {
    padding: 3rem 1rem 4rem;
  }

  .rsvp-guest-card {
    min-height: 260px;
    margin-bottom: 2.5rem;
  }

  .rsvp-event-card {
    padding: 2.4rem 1.2rem;
  }

  .rsvp-event-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rsvp-event-name,
  .rsvp-choice-btn {
    min-height: 76px;
  }

  .rsvp-event-name {
    justify-content: center;
    text-align: center;
  }
}

/* ======================= */
/*   RSVP INVITATION VIEW  */
/* ======================= */

.rsvp-form-container {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.rsvp-back-btn {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 2.5rem 0 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(88, 112, 66, 0.65);
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.rsvp-back-btn:hover {
  color: var(--sage-dark);
}

.rsvp-guest-card {
  width: 100%;
  min-height: 500px;
  margin: 0 auto 3.2rem;
  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 22px 60px rgba(88, 112, 66, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--sage-dark);
}

.rsvp-heart {
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 1;
  margin-bottom: 2.3rem;
}

.rsvp-guest-card h3 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(4.2rem, 9vw, 6.5rem);
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
}

.rsvp-star {
  margin-top: 2.8rem;
  font-size: 2.7rem;
  color: var(--sage-dark);
}

.rsvp-note-card {
  width: 100%;
  margin: 0 auto 3.2rem;
  padding: 4.5rem 2rem;
  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 16px;
  background: transparent;
  color: var(--sage-dark);
  text-align: center;
}

.rsvp-star-small {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--sage-dark);
}

.rsvp-note-card p {
  max-width: 760px;
  margin: 0.7rem auto;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--sage-dark);
}

.rsvp-note-card strong {
  font-weight: 600;
  color: var(--sage-dark);
}

.rsvp-event-card {
  width: 100%;
  margin: 0 auto 3.2rem;
  padding: 3.2rem 2.7rem 3.7rem;
  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 16px;
  background: transparent;
  color: var(--sage-dark);
  text-align: center;
}

.rsvp-event-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--sage-dark);
}

.rsvp-event-card > p {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: 0.05em;
  color: rgba(88, 112, 66, 0.65);
}

.rsvp-event-card em {
  display: block;
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: rgba(88, 112, 66, 0.65);
}

.rsvp-event-options {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.rsvp-event-name,
.rsvp-choice-btn {
  min-height: 105px;
  border: 2px solid rgba(88, 112, 66, 0.45);
  border-radius: 10px;
  background: transparent;
  color: var(--sage-dark);
}

.rsvp-event-name {
  display: flex;
  align-items: center;
  padding: 0 1.7rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.rsvp-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: 0.25s ease;
}

.rsvp-choice-btn span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.rsvp-choice-btn:hover,
.rsvp-choice-btn.selected {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--cream);
}

.rsvp-confirm-btn {
  width: 100%;
  margin-top: 0.8rem;
  min-height: 82px;
  border-radius: 10px;
  background: var(--sage-dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rsvp-confirm-btn:hover {
  background: #405c32;
}

/* RSVP checkbox layout */
.rsvp-checkbox-grid {
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.2rem;
}

.rsvp-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rsvp-plus-one-title {
  margin-bottom: 0.15rem;

  font-family: var(--font-display);
  font-size: 1.1rem;

  color: var(--sage-dark);
}

.rsvp-check-option {
  min-height: 48px;
  padding: 0.7rem 0.8rem;

  border: 2px solid rgba(88, 112, 66, 0.45);
  border-radius: 10px;

  background: transparent;
  color: var(--sage-dark);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  font-family: var(--font-body);
  font-size: 0.9rem;

  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.rsvp-check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rsvp-check-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.rsvp-check-option:hover,
.rsvp-check-option.selected {
  background: var(--sage-dark);
  color: var(--cream);
  border-color: var(--sage-dark);
}

.rsvp-plus-one-group .rsvp-check-option {
  border-color: rgba(88, 112, 66, 0.32);
}

@media (max-width: 760px) {
  .rsvp-form-container {
    width: min(100%, calc(100% - 1.4rem));
  }

  .rsvp-back-btn {
    margin-left: 0.4rem;
    font-size: 1rem;
  }

  .rsvp-guest-card {
    min-height: 330px;
  }

  .rsvp-heart {
    font-size: 3rem;
    margin-bottom: 1.8rem;
  }

  .rsvp-guest-card h3 {
    font-size: clamp(3.3rem, 14vw, 4.6rem);
  }

  .rsvp-note-card {
    padding: 3rem 1.3rem;
  }

  .rsvp-event-card {
    padding: 2.7rem 1.3rem;
  }

  .rsvp-event-options {
    grid-template-columns: 1fr;
  }

  .rsvp-event-name,
  .rsvp-choice-btn {
    min-height: 82px;
  }

  .rsvp-event-name {
    justify-content: center;
    text-align: center;
  }

  .rsvp-confirm-btn {
    min-height: 72px;
    font-size: 1rem;
  }
}



@media (max-width: 760px) {
  .rsvp-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .rsvp-checkbox-group {
    width: 100%;
  }

  .rsvp-check-option {
    min-height: 58px;
  }

  .registry-details-row {
    gap: 0.35rem;
  }
}

/* ============================================
   MAINTENANCE ADDITIONS
   Extra structures used by Travel, Discover,
   Registry, and RSVP screens.
============================================ */

[hidden] {
  display: none !important;
}

/* Travel accordion content */
.accordion-group {
  width: 100%;
}

.accordion-group.open .accordion-arrow,
.accordion-item[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-arrow {
  transition: transform 0.25s ease;
}

.accordion-content {
  width: 100%;
  padding: 1.1rem 1.25rem 1.25rem;
  margin-top: -0.35rem;

  border: 1px solid rgba(88, 112, 66, 0.28);
  border-top: 0;
  border-radius: 0 0 6px 6px;

  background: rgba(248, 244, 239, 0.45);
  color: var(--muted-fg);

  animation: fadeInUp 0.35s ease both;
}

.restaurant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.4rem;

  text-align: left;
}

.restaurant-list li {
  position: relative;

  padding-left: 1rem;

  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted-fg);
}

.restaurant-list li::before {
  content: "•";

  position: absolute;
  left: 0;
  top: 0;

  color: var(--sage-dark);
}

/* Discover full page */
.discover-page {
  position: fixed;
  inset: 0;
  z-index: 1200;

  overflow-y: auto;

  background: var(--background);
  color: var(--sage-dark);
}

.discover-page-hero {
  position: relative;

  min-height: 48vh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  text-align: center;
}

.discover-page-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 0.6;
}

.discover-page-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(88, 112, 66, 0.32);
}

.discover-page-content {
  position: relative;
  z-index: 2;

  padding: 4rem 1.5rem;

  color: var(--cream);
}

.discover-page-content h1 {
  font-family: var(--font-script);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;

  margin-bottom: 1rem;
}

.discover-page-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.discover-destinations-grid {
  width: min(1120px, calc(100% - 3rem));
  margin: 4rem auto 2rem;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.destination-card {
  overflow: hidden;

  border: 1px solid rgba(88, 112, 66, 0.35);
  border-radius: 12px;

  background: #f8f4ef;
  box-shadow: var(--shadow-soft);
}

.destination-card img {
  width: 100%;
  height: 210px;

  object-fit: cover;
}

.destination-card h3 {
  padding: 1.25rem 1.25rem 0.35rem;

  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--sage-dark);
}

.destination-card p {
  padding: 0 1.25rem 1.4rem;

  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;

  color: var(--muted-fg);
}

.back-to-wedding-btn {
  display: block;

  margin: 2rem auto 5rem;
  padding: 0.85rem 2rem;

  border: 1px solid var(--sage-dark);
  border-radius: 6px;

  background: var(--sage-dark);
  color: var(--cream);

  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  cursor: pointer;
}

/* RSVP state screens */
.rsvp-details-screen,
.rsvp-state-screen {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;

  text-align: center;
  animation: fadeInUp 0.45s ease both;
}

.rsvp-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 2rem;
  padding: 0.65rem 1.5rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 999px;

  background: transparent;
  color: var(--sage-dark);

  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;
}

.rsvp-guest-name,
.rsvp-state-screen h3 {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1;

  color: var(--sage-dark);
}

.rsvp-note {
  max-width: 620px;
  margin: 0.9rem auto;

  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.8;

  color: var(--muted-fg);
}

.rsvp-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;

  margin: 2.5rem auto 2rem;
}

.rsvp-event-card {
  padding: 2rem 1.25rem;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 10px;

  background: #f8f4ef;
  box-shadow: var(--shadow-soft);
}

.rsvp-event-card h3 {
  margin-bottom: 0.5rem;

  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--sage-dark);
}

.rsvp-event-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;

  color: var(--muted-fg);
}

.rsvp-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;

  margin-top: 1.35rem;
}

.rsvp-choice-btn {
  min-height: 44px;

  border: 1px solid rgba(88, 112, 66, 0.45);
  border-radius: 6px;

  background: transparent;
  color: var(--sage-dark);

  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;
}

.rsvp-choice-btn.selected,
.rsvp-choice-btn:hover {
  background: var(--sage-dark);
  color: var(--cream);
}

.rsvp-thank-you-img {
  width: 150px;
  margin: 0 auto 1.5rem;
}

.rsvp-small-img {
  width: 95px;
  margin: 1.5rem auto;
}

@media (max-width: 768px) {
  .restaurant-list,
  .rsvp-events,
  .discover-destinations-grid {
    grid-template-columns: 1fr;
  }

  .discover-destinations-grid {
    width: min(620px, calc(100% - 2rem));
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .rsvp-choice-row {
    grid-template-columns: 1fr;
  }

  .destination-card img {
    height: 180px;
  }
}


/* ============================================
   FINAL FIX - RESTAURANT / CUISINE LIST
   Removes the ugly bullets completely.
   Keep this at the very end of the CSS file.
============================================ */

.accordion-content ul,
.accordion-content .restaurant-list,
.restaurant-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.accordion-content .restaurant-list,
.restaurant-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 1.4rem !important;
  row-gap: 0 !important;
  text-align: left !important;
}

.accordion-content ul li,
.accordion-content .restaurant-list li,
.restaurant-list li {
  list-style: none !important;
  position: relative !important;
  padding-left: 0 !important;
  margin-left: 0 !important;

  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: var(--muted-fg) !important;

  border-bottom: 1px solid rgba(88, 112, 66, 0.12) !important;
  padding-bottom: 0.45rem !important;
  margin-bottom: 0.45rem !important;
}

.accordion-content ul li::marker,
.accordion-content .restaurant-list li::marker,
.restaurant-list li::marker {
  content: "" !important;
}

.accordion-content ul li::before,
.accordion-content .restaurant-list li::before,
.restaurant-list li::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 768px) {
  .accordion-content .restaurant-list,
  .restaurant-list {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   FINAL RESTAURANT BULLET FIX
   Keep this at the VERY END of the CSS file.
============================================ */

.restaurant-list {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 1.55rem !important;
  row-gap: 0 !important;
  padding: 0.75rem 1.25rem 1rem !important;
  margin: 0 !important;
  text-align: left !important;
}

.restaurant-list li {
  list-style: none !important;
  position: relative !important;
  padding: 0.35rem 0 0.45rem 1rem !important;
  margin: 0 !important;

  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: var(--muted-fg) !important;

  border-bottom: 1px solid rgba(88, 112, 66, 0.12) !important;
}

.restaurant-list li::marker {
  content: "" !important;
}

.restaurant-list li::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 1.05em !important;

  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;

  background: var(--sage-dark) !important;
  opacity: 0.85 !important;
}

@media (max-width: 768px) {
  .restaurant-list {
    grid-template-columns: 1fr !important;
  }
}
