:root {
  --green-deep: #2f3d2c;
  --green-mid: #5c6e4f;
  --green-soft: #8a9a73;
  --green-pale: #e7ead9;
  --cream: #faf7f0;
  --cream-2: #f3eee0;
  --gold: #b89456;
  --orange-pale: #e3a87c;
  --eucalyptus: #a9bb8e;
  --ink: #2b2a25;
  --rose-reserved: #e7c3c1;

  --font-display: 'Italiana', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-body: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 10% 8%, rgba(169,187,142,0.22) 0%, transparent 32%),
    radial-gradient(at 92% 22%, rgba(227,168,124,0.16) 0%, transparent 30%),
    radial-gradient(at 6% 42%, rgba(227,168,124,0.14) 0%, transparent 28%),
    radial-gradient(at 94% 58%, rgba(169,187,142,0.2) 0%, transparent 30%),
    radial-gradient(at 12% 78%, rgba(169,187,142,0.2) 0%, transparent 30%),
    radial-gradient(at 90% 94%, rgba(227,168,124,0.16) 0%, transparent 32%);
  background-attachment: fixed;
  background-size: 100% 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--green-deep);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.section-title.center { text-align: center; }

.divider-leaf {
  width: 100px;
  height: 28px;
  margin: 1.2rem auto 2rem;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 70%);
  position: relative;
}
.divider-leaf::before, .divider-leaf::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--green-soft);
}
.divider-leaf::before { left: 0; }
.divider-leaf::after { right: 0; }

.divider-img {
  display: block;
  height: 86px;
  width: auto;
  margin: 0.4rem auto 2.2rem;
  filter: drop-shadow(0 10px 16px rgba(47,61,44,0.14));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.divider-img.in-view { opacity: 1; transform: translateY(0); }
.divider-img.large { height: 130px; }
.divider-img.wide { height: 110px; max-width: 90%; }

.section { padding: 100px 0; position: relative; background: none; }

.page-frame { position: relative; }

/* continuous eucalyptus stem — real watercolor PNG tiled vertically */
.side-garland {
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  background-image: url('../assets/illustrations/eucalyptus-stem.png');
  background-repeat: repeat-y;
  /* scale image to 560px wide so stems compress into visible strip;
     tile height = 560*(1080/1920) = 315px */
  background-size: 560px auto;
  background-position: 0 0;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.side-garland-left { left: 0; }
.side-garland-right { right: 0; transform: scaleX(-1); }

.container { position: relative; z-index: 1; }
.hero, .site-header, .site-footer { position: relative; z-index: 2; }

@media (max-width: 1100px) {
  .side-garland { width: 90px; background-size: 360px auto; opacity: 0.6; }
}
@media (max-width: 720px) {
  .side-garland { display: none; }
}

/* loader */
.leaf-loader {
  position: fixed; inset: 0; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.6s ease, visibility 0.6s ease;
}
.leaf-loader span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-deep);
  letter-spacing: 0.08em;
}
.leaf-loader.hidden { opacity: 0; visibility: hidden; }

/* intro / sobre de bienvenida */
body.intro-lock { overflow: hidden; height: 100vh; }
.intro {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.intro.open { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-bg {
  position: absolute; inset: 0;
  background: var(--cream);
}
.intro-veil { display: none; }
.intro-content {
  position: relative; z-index: 2; text-align: center;
  color: var(--green-deep); padding: 24px;
}
.intro-eyebrow {
  letter-spacing: 0.32em; text-transform: uppercase;
  font-size: 0.8rem; opacity: 0.85; margin: 0 0 10px;
}
.intro-envelope {
  background: none; border: 0; cursor: pointer; padding: 0;
  margin: 14px 0 24px; display: inline-block;
  animation: introFloat 3.6s ease-in-out infinite;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.intro-envelope img {
  width: 620px; max-width: 88vw;
  filter: drop-shadow(0 22px 38px rgba(47,61,44,0.28));
}
.intro-envelope:hover { transform: scale(1.05); }
@keyframes introFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.intro.opening .intro-envelope {
  animation: none; transform: scale(1.4); opacity: 0;
  transition: transform 0.9s ease, opacity 0.9s ease;
}
.intro.opening .intro-content > :not(.intro-envelope) {
  opacity: 0; transition: opacity 0.6s ease;
}
.intro-names {
  font-family: var(--font-display); font-weight: 400;
  font-size: 2.6rem; margin: 0 0 4px; letter-spacing: 0.02em;
}
.intro-names .amp { font-family: var(--font-script); font-style: italic; }
.intro-date { letter-spacing: 0.14em; font-size: 0.9rem; opacity: 0.92; margin: 0; }
.intro-hint {
  margin: 22px 0 0; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.75;
}
@media (max-width: 560px) {
  .intro-names { font-size: 2rem; }
  .intro-envelope img { width: 92vw; }
}

/* header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 18px 28px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-deep);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-icon { height: 36px; width: auto; }
.nav-links {
  list-style: none; display: flex; gap: 28px; margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav-links a:hover { border-color: var(--gold); }
.nav-cta {
  background: var(--green-deep); color: var(--cream) !important;
  padding: 8px 16px !important; border-radius: 2px;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; z-index: 600;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--green-deep);
}

/* hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--green-deep), var(--green-mid)); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg.img-missing::after {
  content: "Foto de portada — coloca tu imagen en assets/images/portada.jpg";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(250,247,240,0.5); font-size: 0.85rem; text-align: center; padding: 0 40px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,46,28,0.35) 0%, rgba(35,46,28,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero .eyebrow { color: var(--cream); opacity: 0.85; }
.hero-names {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin: 0.3rem 0;
  font-weight: 400;
}
.hero-names .amp {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  margin: 0 0.2em;
}
.hero .divider-leaf::before, .hero .divider-leaf::after { background: rgba(250,247,240,0.6); }
.hero-date {
  font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 2rem;
}

.countdown-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 56px;
  margin-bottom: 2.2rem;
}
.countdown-ceiling {
  display: block;
  width: 460px; max-width: 90vw; height: auto;
  margin-bottom: -6px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.28));
}
.countdown { display: flex; gap: 24px; justify-content: center; position: relative; z-index: 1; }
.countdown-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px;
}
.countdown-item span {
  font-family: var(--font-display); font-size: 2rem;
}
.countdown-item small {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.8;
}

.countdown-bloom {
  position: absolute;
  width: 96px; height: 110px;
  background-repeat: no-repeat;
  clip-path: ellipse(44% 38% at 50% 50%);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35));
  z-index: 0;
}
.countdown-bloom.cb-left-top { left: -34px; top: -22px; transform: rotate(-8deg); }
.countdown-bloom.cb-left-bottom { left: -30px; bottom: -28px; transform: rotate(10deg) scaleY(-1); }
.countdown-bloom.cb-right-top { right: -34px; top: -22px; transform: scaleX(-1) rotate(-8deg); }
.countdown-bloom.cb-right-bottom { right: -30px; bottom: -28px; transform: scaleX(-1) rotate(10deg) scaleY(-1); }
.countdown-bloom.cb-roses { background-image: url('../assets/illustrations/urn-lily-pink-tall.png'); background-size: 220px auto; background-position: -8px -6px; }
.countdown-bloom.cb-cosmos { background-image: url('../assets/illustrations/urn-mums-orange.png'); background-size: 230px auto; background-position: -10px -10px; }

@media (max-width: 640px) {
  .countdown-wrap { padding: 14px 30px; }
  .countdown-bloom { width: 62px; height: 72px; }
  .countdown-bloom.cb-left-top, .countdown-bloom.cb-right-top { top: -14px; }
  .countdown-bloom.cb-left-bottom, .countdown-bloom.cb-right-bottom { bottom: -16px; }
  .countdown-bloom.cb-left-top { left: -18px; } .countdown-bloom.cb-left-bottom { left: -16px; }
  .countdown-bloom.cb-right-top { right: -18px; } .countdown-bloom.cb-right-bottom { right: -16px; }
}

.btn {
  display: inline-block; padding: 14px 34px;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.3s ease;
}
.btn-primary {
  background: var(--gold); color: var(--ink);
}
.btn-primary:hover { background: var(--cream); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--cream); font-size: 1.4rem; z-index: 2;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* story */
.story-text p { font-size: 1.3rem; text-align: justify; }
.story-text .story-title, .story-text .story-signature { text-align: center; }
.story-signature {
  margin-top: 2rem; font-family: var(--font-script); font-style: italic;
  font-size: 1.2rem; color: var(--green-deep); text-align: center;
}
.story-illustration {
  display: block; max-width: 520px; width: 100%; margin: 2.5rem auto 0;
  filter: drop-shadow(0 14px 22px rgba(47,61,44,0.16));
}

/* arch that frames the section heading */
.story-arch {
  position: relative;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}
.story-arch-img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 12px 20px rgba(47,61,44,0.14));
}
/* "Nuestra Historia" drops down to rest between the arch columns */
.story-arch-label {
  position: absolute;
  left: 50%; top: 20%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  color: var(--green-deep);
  opacity: 0;
  transition: top 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}
.story-arch.in-view .story-arch-label {
  top: 58%;
  opacity: 1;
}
.story-title { margin: 0.6rem 0 1.6rem; }
@media (max-width: 700px) {
  .story-arch.in-view .story-arch-label { top: 56%; }
}

/* gallery — full-bleed sticky cascade: each photo pins, the next scrolls over it */
.gallery { padding: 0; }
.gallery .container { max-width: none; padding: 0; }
.gallery-grid { display: block; }
.gallery-grid img {
  position: sticky; top: 0;
  width: 100%; height: 100vh; object-fit: cover;
  display: block; border-radius: 0;
}
.gallery-grid.img-missing { display: none; }

/* invitation */
.parents-grid {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  font-size: 1rem; letter-spacing: 0.04em; margin: 1.2rem 0 1.6rem;
}
.parents-left { text-align: left; }
.parents-right { text-align: right; }
@media (max-width: 560px) {
  .parents-grid { justify-content: center; }
  .parents-left, .parents-right { text-align: center; }
}
.parents-block p { margin: 0.2rem 0; }
.invitation-text { font-size: 1.25rem; margin-top: 1rem; }

/* full-bleed blessing/invitation image — its green texture fills the section */
.invitation { padding: 0; }
.invitation-full { display: block; width: 100%; height: auto; }

/* itinerario sits on the white-textured background image (muted a touch for contrast) */
.itinerary {
  background-image: url('../assets/images/white-background.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
/* on the light background, itinerario text is dark green for legibility */
.itinerary.section { color: var(--green-deep); }
.itinerary .eyebrow { color: var(--green-deep); }
.itinerary .section-title,
.section.itinerary .timeline-body h3,
.section.itinerary .timeline-time,
.itinerary .timeline-body p,
.itinerary .timeline-body a { color: var(--green-deep); }
.itinerary .timeline-time { font-weight: 600; }

/* title flanked by two illustrations */
.title-flanked {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; margin: 0.4rem 0 2rem;
}
.title-flanked .section-title { margin: 0; }
.flank-img {
  height: 200px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 12px 18px rgba(47,61,44,0.14));
}
.flank-img.flip { transform: scaleX(-1); }
.flank-img.flank-sm { height: clamp(3.2rem, 6.5vw, 5rem); }
@media (max-width: 560px) {
  .title-flanked { gap: 14px; }
  .flank-img { height: 120px; }
}

/* timeline */
.timeline {
  list-style: none; padding: 0; margin: 0 auto; max-width: 880px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.timeline-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 8px 12px;
}
.timeline-item + .timeline-item { border-left: 1px solid var(--green-pale); }
.timeline-icon {
  width: 300px; height: 300px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.timeline-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(47,61,44,0.15)); }
.timeline-body h3 {
  font-family: var(--font-display); font-weight: 400; margin: 0.4rem 0 0.2rem;
  color: var(--green-deep); font-size: 1.3rem;
}

@media (max-width: 560px) {
  .timeline-icon { width: 220px; height: 220px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline-item + .timeline-item { border-left: none; border-top: 1px solid var(--green-pale); padding-top: 28px; }
}
.timeline-time { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.2rem 0; }
.timeline-body a { text-decoration: underline; font-size: 0.85rem; }

/* dresscode */
.dresscode-grid { display: flex; gap: 32px; justify-content: center; align-items: center; margin: 1.5rem 0; flex-wrap: wrap; }
.dresscode-flank {
  height: 240px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 12px 18px rgba(47,61,44,0.14));
}
@media (max-width: 640px) { .dresscode-flank { height: 150px; } }
.dresscode-card {
  padding: 28px 40px; background: var(--cream-2); border: 1px solid var(--green-pale);
}
.dresscode-card h3 { font-family: var(--font-display); color: var(--green-deep); margin: 0 0 0.4rem; }
.link-inline { text-decoration: underline; font-size: 1.05rem; display: inline-block; margin-top: 0.5rem; }
.reserved-color {
  margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 0.85rem; color: var(--green-mid);
}
.color-swatch { width: 22px; height: 22px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,0.1); }

/* hover-expand cards (Para tu Visita a Cuenca) */
.hover-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 3rem;
}
.hover-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--green-pale);
  border-radius: 4px;
  padding: 36px 22px 26px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.hover-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--green-pale) 200%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hover-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-deep);
  margin-bottom: 14px; transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.hover-card-icon svg { width: 26px; height: 26px; }
.hover-card h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--green-deep);
  font-size: 1.25rem; margin: 0 0 6px;
}
.hover-card-hint {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-soft); margin: 0; transition: opacity 0.3s ease;
}
.hover-card-panel {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.5s ease;
  text-align: left; margin-top: 0;
}
.hover-card-panel .rec-list { margin: 0; }
.hover-card-panel .rec-list li {
  border-bottom: 1px dotted var(--green-pale); padding: 7px 0;
}
.hover-card-panel .rec-list li:last-child { border-bottom: none; }

.hover-card:hover,
.hover-card:focus-within {
  border-color: var(--orange-pale);
  box-shadow: 0 18px 34px rgba(47,61,44,0.1);
  transform: translateY(-4px);
}
.hover-card:hover .hover-card-icon,
.hover-card:focus-within .hover-card-icon {
  background: var(--orange-pale); color: var(--cream);
  transform: scale(1.08) rotate(-6deg);
}
.hover-card:hover .hover-card-hint,
.hover-card:focus-within .hover-card-hint { opacity: 0; }
.hover-card:hover .hover-card-panel,
.hover-card:focus-within .hover-card-panel,
.hover-card.open .hover-card-panel {
  max-height: 320px; opacity: 1; margin-top: 14px;
}
.hover-card.open { border-color: var(--orange-pale); box-shadow: 0 18px 34px rgba(47,61,44,0.1); }
.hover-card.open .hover-card-icon { background: var(--orange-pale); color: var(--cream); }
.hover-card.open .hover-card-hint { opacity: 0; }

@media (max-width: 920px) {
  .hover-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hover-cards { grid-template-columns: 1fr; }
}

/* recommendations */
.rec-block { margin-bottom: 2.4rem; }
.rec-block h3 {
  font-family: var(--font-display); color: var(--green-deep);
  font-size: 1.3rem; border-bottom: 1px solid var(--green-pale); padding-bottom: 0.4rem;
}
.rec-list { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.rec-list li { padding: 4px 0; font-size: 0.95rem; }
.rec-list a { text-decoration: underline; }
.rec-list.two-col { columns: 2; column-gap: 32px; }

/* gifts */
.gifts-text, .gifts-thanks { font-size: 1rem; }
.gifts-grid { display: flex; gap: 24px; justify-content: center; margin: 1.5rem 0; flex-wrap: wrap; }
.gifts-card {
  padding: 24px 36px; background: var(--cream-2); border: 1px solid var(--green-pale); min-width: 220px;
}
.gifts-card h3 { font-family: var(--font-display); color: var(--green-deep); margin: 0 0 0.4rem; }
.gifts-zelle {
  text-align: center; margin: 1.4rem auto 0;
  padding: 24px 36px; background: var(--cream-2); border: 1px solid var(--green-pale);
  min-width: 220px; display: inline-block;
}
.gifts-zelle h3 { font-family: var(--font-display); color: var(--green-deep); margin: 0 0 0.3rem; }
.gifts-zelle p { margin: 0; }

/* rsvp */
.rsvp-text { margin-bottom: 1.5rem; }
.rsvp-placeholder {
  padding: 50px 30px; border: 1px dashed var(--green-soft); background: var(--cream);
}

/* faqs */
.faq-item {
  border-bottom: 1px solid var(--green-pale); padding: 16px 0;
}
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-size: 1.1rem; color: var(--green-deep);
}
.faq-item p { margin: 0.6rem 0 0; font-size: 0.95rem; }

/* footer */
.site-footer {
  background: var(--green-deep); color: var(--cream);
  text-align: center; padding: 10px 20px 40px;
  position: relative; overflow: hidden;
}
.footer-illustrations {
  display: flex; justify-content: center; align-items: flex-end; gap: 18px;
  margin-bottom: 4px;
}
.footer-illustrations img {
  height: 150px; width: auto; border-radius: 8px;
  background: var(--cream); padding: 6px;
  box-shadow: 0 14px 26px rgba(0,0,0,0.25);
}
.footer-illustrations img:nth-child(2) { height: 130px; align-self: center; }
.site-footer p { margin: 0.2rem 0; font-family: var(--font-display); font-size: 1.2rem; }
.footer-date { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.8; }

@media (max-width: 560px) {
  .footer-illustrations img { height: 100px; }
  .footer-illustrations img:nth-child(2) { height: 86px; }
}

/* responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%;
    background: var(--cream); flex-direction: column; justify-content: center;
    transform: translateX(100%); transition: transform 0.4s ease;
    gap: 22px;
  }
  .nav-links.open { transform: translateX(0); }
  .gallery-grid { grid-template-columns: 1fr; }
  .rec-list.two-col { columns: 1; }
  .botanical { width: 100px; opacity: 0.3; }
}

/* (olive-background text overrides removed — page is on a light background again) */

/* ===== Print / Save-as-PDF ===== */
@media print {
  /* print background colors & images */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* hide interactive-only chrome */
  #intro, #loader, .site-header, .nav-toggle, .scroll-cue, .side-garland { display: none !important; }

  /* unlock scroll locks & fixed backgrounds */
  html, body { overflow: visible !important; height: auto !important; background: #fff !important; background-attachment: scroll !important; }
  body.intro-lock { overflow: visible !important; }

  /* reveal every scroll-triggered element */
  .divider-img, .story-arch-label { opacity: 1 !important; transform: none !important; }
  .story-arch-label { top: 58% !important; }

  /* gallery: turn the full-screen sticky panels into normal stacked photos */
  .gallery .container, .gallery { padding: 0 !important; }
  .gallery-grid img { position: static !important; height: auto !important; max-height: 24cm; page-break-inside: avoid; margin-bottom: 6px; }

  /* tighten spacing and keep blocks together on a page */
  .section { padding: 26px 0 !important; }
  .timeline-item, .hover-card, .dresscode-card, .gifts-card, .gifts-zelle,
  .faq-item, .parents-block, .rsvp-placeholder { page-break-inside: avoid; }
  .faq-item[open] p, .faq-item p { display: block !important; }  /* expand FAQ answers */
  .faq-item summary { list-style: none; }
}
