/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Background palette — beige/warm neutrals */
  --beige-50:  #fefcf8;
  --beige-100: #faf5ec;
  --beige-200: #f2e8d5;
  --beige-300: #e2d0b5;
  --beige-400: #c8ae8a;
  --beige-500: #a88a60;

  /* Accent blues — soft masculine */
  --sky-100:   #e8f1f8;
  --sky-200:   #c5daed;
  --sky-400:   #7aaecf;
  --sky-600:   #4a85b0;

  /* Sage / green */
  --sage-100:  #e4ece0;
  --sage-300:  #a8c0a0;
  --sage-500:  #6a9060;

  /* Gold */
  --gold:      #b8923a;
  --gold-light:#d4b070;
  --gold-pale: #ead898;

  /* Cream cards */
  --cream:     #fffef9;

  /* Text — high contrast on beige */
  --text-900:  #2a1f12;   /* titles */
  --text-700:  #4a3825;   /* body */
  --text-500:  #6e5840;   /* secondary */
  --text-400:  #8e7560;   /* muted */

  --shadow-sm: rgba(80, 55, 20, 0.12);
  --shadow-md: rgba(80, 55, 20, 0.18);
  --card-bg:   rgba(255, 254, 249, 0.94);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 18px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  background: var(--beige-100);
  color: var(--text-700);
  overflow-x: hidden;
}

/* ── FLOATING ELEMENTS ──────────────────────────────────── */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -60px;
  opacity: 0;
  animation: fallPetal linear infinite;
}
@keyframes fallPetal {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.55; }
  92%  { opacity: 0.3; }
  100% { transform: translateY(110vh) rotate(400deg); opacity: 0; }
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem 5.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero_bg.jpg');
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
/* Soft overlay — lighter on left where text lives */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(250,245,236,0.82) 0%,
    rgba(250,245,236,0.70) 50%,
    rgba(250,245,236,0.50) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

/* Overline */
.hero-overline {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.9s ease both;
}

/* Photo of Sergio — enlarged and centered */
.hero-photo-wrap {
  position: relative;
  width: clamp(210px, 48vw, 310px);
  height: clamp(210px, 48vw, 310px);
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.95);
  box-shadow: 0 12px 48px rgba(80,55,20,0.22), 0 0 0 3px var(--gold-pale);
  animation: fadeUp 1s ease 0.1s both;
  flex-shrink: 0;
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* face centered */
  display: block;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  color: var(--text-500);
  text-transform: uppercase;
  animation: fadeUp 0.9s ease 0.25s both;
}
.hero-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.6rem, 7.8vw, 4.8rem);
  color: var(--text-900);
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(80,55,20,0.15);
  animation: fadeUp 1s ease 0.4s both;
}
.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-700);
  margin-top: 0.1rem;
  animation: fadeUp 0.9s ease 0.55s both;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 0.5rem;
  animation: fadeUp 0.9s ease 0.65s both;
}
.hero-divider-line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.hero-divider span { color: var(--gold); font-size: 0.95rem; }

.hero-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.7vw, 1.28rem);
  font-weight: 500;
  color: var(--text-700);
  max-width: 520px;
  line-height: 1.9;
  animation: fadeUp 0.9s ease 0.8s both;
}
.hero-verse cite {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 0.4rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

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

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 1.6rem;
  text-decoration: none;
  animation: arrowBounce 2.2s ease-in-out infinite 2s;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── SHARED SECTION STYLES ──────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 1.5rem;
}
.section-inner { max-width: 860px; margin: 0 auto; }

.section-overline {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--sky-600);
  text-align: center;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  color: var(--text-900);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.8rem;
}
.ornament-line {
  width: 55px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--beige-400));
}
.ornament span { color: var(--gold); font-size: 0.95rem; }

/* ── COUNTDOWN ──────────────────────────────────────────── */
.countdown-section {
  background: linear-gradient(160deg, var(--sky-100) 0%, var(--beige-100) 60%, var(--sage-100) 100%);
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3.5vw, 2rem);
  flex-wrap: wrap;
}
.countdown-card {
  background: var(--card-bg);
  border: 1px solid var(--beige-300);
  border-radius: 20px;
  padding: 1.8rem 2rem 1.5rem;
  min-width: 105px;
  text-align: center;
  box-shadow: 0 6px 28px var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.countdown-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px var(--shadow-md);
  border-color: var(--sky-400);
}
.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8.5vw, 4.5rem);
  font-weight: 600;
  color: var(--text-900);
  line-height: 1;
  display: block;
}
.countdown-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-top: 0.55rem;
  display: block;
}

/* ── SCHEDULE / PLACES (CENTERED CARDS) ─────────────────── */
.schedule-section {
  background: var(--cream);
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
  justify-content: center;
}
.place-card {
  background: var(--card-bg);
  border: 1px solid var(--beige-300);
  border-radius: 24px;
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  box-shadow: 0 8px 32px var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.place-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px var(--shadow-md);
  border-color: var(--sky-400);
}
.place-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.place-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-100), var(--beige-200));
  border: 2px solid var(--sky-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 14px var(--shadow-sm);
}
.place-time {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky-600);
  letter-spacing: 0.08em;
  background: var(--sky-100);
  padding: 0.32rem 1.05rem;
  border-radius: 50px;
  border: 1px solid var(--sky-200);
}
.place-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.place-info {
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.place-venue {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text-700);
  margin-bottom: 0.35rem;
  line-height: 1.45;
}
.place-city {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--text-500);
}
.place-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--sky-600);
  text-decoration: none;
  border: 1.5px solid var(--sky-200);
  padding: 0.62rem 1.4rem;
  border-radius: 50px;
  background: var(--sky-100);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(74,133,176,0.12);
}
.place-btn:hover {
  background: var(--sky-600);
  color: white;
  border-color: var(--sky-600);
  box-shadow: 0 6px 20px rgba(74,133,176,0.3);
  transform: translateY(-2px);
}

/* ── GIFT ───────────────────────────────────────────────── */
.gift-section {
  background: linear-gradient(160deg, var(--beige-200) 0%, var(--sage-100) 60%, var(--sky-100) 100%);
}
.gift-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--beige-300);
  border-radius: 24px;
  padding: 3.4rem 2.8rem;
  text-align: center;
  box-shadow: 0 12px 48px var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 56px var(--shadow-md);
  border-color: var(--gold-pale);
}
.gift-emoji {
  font-size: 3.4rem;
  display: block;
  margin-bottom: 1rem;
  animation: float 3.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.gift-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.gift-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--text-700);
  line-height: 1.85;
}
.gift-highlight {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(184,146,58,0.08);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  border: 1px solid var(--gold-pale);
}

/* ── RSVP ───────────────────────────────────────────────── */
.rsvp-section { background: var(--beige-50); }
.rsvp-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--beige-300);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: 0 16px 60px var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rsvp-card:hover {
  box-shadow: 0 20px 68px var(--shadow-md);
  border-color: var(--sky-200);
}

.rsvp-notice {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  background: rgba(74,133,176,0.08);
  border: 1.5px solid var(--sky-200);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}
.rsvp-notice-icon { font-size: 1.45rem; flex-shrink: 0; }
.rsvp-notice p {
  font-family: 'Lato', sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
  color: var(--text-700);
  line-height: 1.65;
}
.rsvp-notice strong {
  color: var(--text-900);
  font-weight: 700;
}

/* Form */
.form-group { margin-bottom: 1.6rem; }
.form-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-700);
  margin-bottom: 0.55rem;
}

/* Attendance options toggle cards */
.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.attendance-option {
  cursor: pointer;
  display: block;
}
.attendance-option input[type="radio"] {
  display: none;
}
.attendance-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1.8px solid var(--beige-300);
  background: var(--beige-50);
  transition: all 0.3s ease;
  height: 100%;
}
.attendance-option input[type="radio"]:checked + .attendance-btn {
  border-color: var(--sky-600);
  background: rgba(74, 133, 176, 0.08);
  box-shadow: 0 4px 16px rgba(74, 133, 176, 0.15);
  transform: translateY(-2px);
}
.attendance-icon {
  font-size: 1.55rem;
  flex-shrink: 0;
}
.attendance-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.attendance-text strong {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-900);
  line-height: 1.25;
}
.attendance-text small {
  font-family: 'Lato', sans-serif;
  font-size: 0.76rem;
  color: var(--text-500);
  margin-top: 0.15rem;
  line-height: 1.2;
}

/* Companions block collapsible wrapper */
.companions-block {
  overflow: hidden;
  max-height: 900px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}
.companions-block.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 1.5px solid var(--beige-300);
  border-radius: 12px;
  background: var(--beige-50);
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-900);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--sky-400);
  box-shadow: 0 0 0 3px rgba(74,133,176,0.15);
}
.form-input::placeholder { color: var(--beige-400); font-weight: 300; }

.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--sky-600);
  pointer-events: none;
  font-size: 1.1rem;
}

.companions-section {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.companions-section.visible { max-height: 700px; opacity: 1; }

.companions-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 1.1rem;
  padding-top: 0.3rem;
}
.companion-input-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}
.companion-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-100), var(--beige-200));
  border: 1px solid var(--sky-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sky-600);
}

.form-btn {
  width: 100%;
  padding: 1.15rem;
  background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-400) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Lato', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(74,133,176,0.38);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s;
  margin-top: 0.6rem;
}
.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(74,133,176,0.5);
}
.form-btn:active { transform: none; }
.form-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Success */
.rsvp-success {
  display: none;
  text-align: center;
  padding: 2.2rem 1rem;
}
.rsvp-success-icon {
  font-size: 4.2rem;
  display: block;
  margin-bottom: 1rem;
  animation: popIn 0.7s ease both;
}
@keyframes popIn {
  0%   { transform: scale(0.2); opacity: 0; }
  65%  { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.rsvp-success h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: var(--text-900);
  margin-bottom: 0.75rem;
}
.rsvp-success p {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  color: var(--text-700);
  line-height: 1.75;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, var(--beige-200), var(--beige-300));
  padding: 3.8rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
footer p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-500);
  line-height: 1.8;
}
.footer-name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.3rem;
  color: var(--text-900);
  display: block;
  margin-top: 0.4rem;
}
footer small {
  display: block;
  margin-top: 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-500);
  text-transform: none;
  line-height: 1.8;
}
footer small a {
  color: var(--sky-600);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(74, 133, 176, 0.35);
  padding-bottom: 1px;
  transition: all 0.25s ease;
}
footer small a:hover {
  color: var(--text-900);
  border-bottom-color: var(--text-900);
}
footer small .footer-sep {
  margin: 0 0.5rem;
  opacity: 0.45;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ERROR ANIMATION ────────────────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Scale root rem units down for mobile to avoid awkward wrapping */
  html {
    font-size: 15px;
  }
  body {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* ── Hero on Mobile: Reveal Cross & Dove ── */
  .hero {
    padding: 2.8rem 1.2rem 4rem;
    min-height: 100svh;
  }
  .hero-bg {
    /* 73% horizontally centers the golden cross and white dove in portrait mobile */
    background-position: 73% 26%;
  }
  .hero-bg::after {
    /* Softer overlay so the glowing cross, leaves, and dove are clearly visible */
    background: linear-gradient(
      180deg,
      rgba(250, 245, 236, 0.42) 0%,
      rgba(250, 245, 236, 0.58) 40%,
      rgba(250, 245, 236, 0.82) 100%
    );
  }
  .hero-photo-wrap {
    width: 175px;
    height: 175px;
    border-width: 5px;
  }
  .hero-overline {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    margin-bottom: 0.35rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
  }
  .hero-name {
    font-size: clamp(2.1rem, 9.5vw, 2.9rem);
    line-height: 1.15;
  }
  .hero-date {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }
  .hero-verse {
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 320px;
  }
  .hero-verse cite {
    font-size: 0.82rem;
    margin-top: 0.3rem;
  }

  /* ── Section Titles on Mobile ── */
  .section {
    padding: 3.5rem 1.15rem;
  }
  .section-overline {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.4rem;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
  }
  .ornament {
    margin-bottom: 1.8rem;
  }

  /* ── Countdown on Mobile ── */
  .countdown-grid {
    gap: 0.55rem;
  }
  .countdown-card {
    min-width: 72px;
    padding: 0.95rem 0.55rem 0.8rem;
    border-radius: 16px;
  }
  .countdown-number {
    font-size: 2.15rem;
  }
  .countdown-label {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    margin-top: 0.3rem;
  }

  /* ── Places Cards on Mobile ── */
  .places-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 1.35rem;
  }
  .place-card {
    padding: 1.8rem 1.25rem 1.6rem;
    border-radius: 20px;
  }
  .place-badge {
    gap: 0.45rem;
    margin-bottom: 0.8rem;
  }
  .place-icon {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  .place-time {
    font-size: 0.86rem;
    padding: 0.25rem 0.85rem;
  }
  .place-title {
    font-size: 1.38rem;
    margin-bottom: 0.35rem;
  }
  .place-info {
    margin-bottom: 1.15rem;
  }
  .place-venue {
    font-size: 1.02rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
  }
  .place-city {
    font-size: 0.92rem;
  }
  .place-btn {
    font-size: 0.88rem;
    padding: 0.55rem 1.2rem;
    width: 100%;
    max-width: 260px;
  }

  /* ── Gift Card on Mobile ── */
  .gift-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }
  .gift-emoji {
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
  }
  .gift-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    line-height: 1.25;
  }
  .gift-text {
    font-size: 0.96rem;
    line-height: 1.6;
  }
  .gift-highlight {
    font-size: 0.98rem;
    padding: 0.5rem 1.2rem;
    margin-top: 1.1rem;
  }

  /* ── RSVP Card on Mobile ── */
  .rsvp-card {
    padding: 1.8rem 1.15rem;
    border-radius: 22px;
  }
  .rsvp-notice {
    padding: 0.85rem 1rem;
    gap: 0.7rem;
    margin-bottom: 1.35rem;
    border-radius: 12px;
  }
  .rsvp-notice-icon {
    font-size: 1.25rem;
  }
  .rsvp-notice p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .attendance-options {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .attendance-btn {
    padding: 0.8rem 0.95rem;
  }
  .attendance-text strong {
    font-size: 0.9rem;
  }
  .attendance-text small {
    font-size: 0.72rem;
  }
  .form-group {
    margin-bottom: 1.35rem;
  }
  .form-label {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
  }
  .form-input,
  .form-select {
    padding: 0.82rem 1rem;
    font-size: 0.96rem;
    border-radius: 10px;
  }
  .companions-title {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
  }
  .companion-num {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .form-btn {
    padding: 0.95rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  /* ── Footer on Mobile ── */
  footer {
    padding: 2.8rem 1.2rem;
  }
  footer p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .footer-name {
    font-size: 1.95rem;
  }
  footer small {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 1.4rem;
  }
}

/* Extra small devices (iPhone SE, narrow screens < 380px) */
@media (max-width: 380px) {
  html {
    font-size: 14px;
  }
  .countdown-card {
    min-width: 66px;
    padding: 0.85rem 0.45rem;
  }
  .countdown-number {
    font-size: 1.9rem;
  }
  .hero-photo-wrap {
    width: 155px;
    height: 155px;
  }
}
