/* ============================================================
   Wiola & Krzysiek — 11.09.2026
   Beżowo-roślinny, minimalistyczny, lekki klimat weselny
   ============================================================ */

:root {
  /* Paleta — beż, krem, szałwia, terakota */
  --cream:      #f7f2ea;
  --cream-2:    #efe7da;
  --sand:       #e6dac6;
  --beige:      #d9c9b0;
  --sage:       #a7b39a;
  --sage-deep:  #7d8a70;
  --olive:      #5e6b50;
  --terracotta: #c08a6a;
  --ink:        #3d3a33;
  --ink-soft:   #6b6557;
  --white:      #fffdf9;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", system-ui, sans-serif;

  --maxw: 1080px;
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(61, 58, 51, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout helpers ---------- */
.container { width: min(var(--maxw), 90%); margin-inline: auto; }
.container--narrow { width: min(680px, 90%); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--sage  { background: linear-gradient(180deg, var(--cream-2), var(--sand)); }
.section--deep  { background: var(--olive); color: var(--cream); }

.section__eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.74rem;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.section--deep .section__eyebrow { color: var(--beige); }

.section__title {
  text-align: center;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 500;
}
.section__lead {
  text-align: center;
  max-width: 60ch;
  margin: 1.4rem auto 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.section--deep .section__lead { color: var(--cream); opacity: 0.92; }

/* ---------- Leaf divider ---------- */
.leaf-divider {
  width: 130px; height: 28px; margin: 1.2rem auto 2.6rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='28' viewBox='0 0 130 28'%3E%3Cg fill='none' stroke='%237d8a70' stroke-width='1.3' stroke-linecap='round'%3E%3Cline x1='5' y1='14' x2='52' y2='14'/%3E%3Cline x1='78' y1='14' x2='125' y2='14'/%3E%3C/g%3E%3Cg fill='%23a7b39a'%3E%3Cpath d='M65 4c-5 4-5 16 0 20 5-4 5-16 0-20z'/%3E%3Cpath d='M58 9c-4 2-5 9-2 13 3-2 5-9 2-13z' opacity='.7'/%3E%3Cpath d='M72 9c4 2 5 9 2 13-3-2-5-9-2-13z' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
}
.leaf-divider--light {
  filter: brightness(0) invert(1) opacity(0.85);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.95em 2.2em;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(192, 138, 106, 0.8);
}
.btn--primary:hover { background: #b27c5c; }
.btn--ghost {
  background: transparent;
  border-color: var(--sage-deep);
  color: var(--olive);
}
.section--deep .btn--ghost { border-color: var(--beige); color: var(--cream); }
.btn--ghost:hover { background: var(--sage-deep); color: var(--cream); }
.btn--block { display: block; width: 100%; margin-top: 0.6rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  padding: 0.9rem clamp(1rem, 5vw, 3rem);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav__brand { margin-right: auto; }
.nav.is-scrolled {
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -18px rgba(61, 58, 51, 0.6);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
  letter-spacing: 0.05em;
}
.nav__brand span { color: var(--terracotta); }
.nav__links { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.nav__links a {
  text-decoration: none;
  font-size: 0.86rem; letter-spacing: 0.06em;
  color: var(--ink); position: relative;
  transition: color 0.3s;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--terracotta);
  transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--terracotta); color: var(--white);
  padding: 0.5em 1.3em; border-radius: 100px;
}
.nav__cta:hover { background: #b27c5c; }

/* Przełącznik języka PL / EN */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--beige); border-radius: 100px;
  overflow: hidden; background: rgba(255, 253, 249, 0.5);
  position: relative; z-index: 60; flex: none;
}
.lang__btn {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 0.42em 0.85em; line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.lang__btn.is-active { background: var(--olive); color: var(--cream); }
.lang__btn:not(.is-active):hover { color: var(--ink); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
  position: relative; z-index: 60;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--white), transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 55%, var(--sand) 100%);
  padding: 6rem 1.2rem 4rem;
}
.hero__inner { position: relative; z-index: 2; }

.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.5em;
  font-size: 0.8rem; color: var(--terracotta); margin-bottom: 1.4rem;
}
.hero__names {
  font-size: clamp(3.4rem, 13vw, 8rem);
  font-weight: 500; color: var(--ink);
  display: flex; flex-direction: column; line-height: 0.95;
}
.hero__amp {
  color: var(--terracotta); font-style: italic; font-weight: 400;
  font-size: 0.55em; margin: 0.05em 0;
}
.hero__date {
  margin-top: 1.6rem; font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive);
}
.hero__place {
  margin-top: 0.4rem; font-family: var(--font-display);
  font-style: italic; font-size: 1.25rem; color: var(--ink-soft);
}

/* Countdown */
.countdown { display: flex; justify-content: center; gap: clamp(0.6rem, 2.5vw, 1.6rem); margin: 2.4rem 0; }
.countdown__box {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: 0.9rem clamp(0.6rem, 2vw, 1.3rem); min-width: 64px;
  backdrop-filter: blur(4px);
}
.countdown__num { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 600; color: var(--olive); line-height: 1; }
.countdown__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); margin-top: 0.4rem; }

/* Scroll cue */
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--sage-deep);
  border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  background: var(--sage-deep); border-radius: 2px;
  transform: translateX(-50%); animation: scroll-bob 1.8s infinite;
}
@keyframes scroll-bob { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* Botanical corners */
.hero__leaves { position: absolute; width: min(340px, 42vw); height: min(340px, 42vw); z-index: 1; opacity: 0.5; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%237d8a70' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M20 180 C60 150 90 110 110 50'/%3E%3Cpath d='M110 50 C70 60 50 90 60 120' /%3E%3Cpath d='M110 50 C150 60 165 90 158 120'/%3E%3Cpath d='M95 90 C70 95 58 112 62 132'/%3E%3Cpath d='M95 90 C120 95 132 112 128 132'/%3E%3Cpath d='M80 130 C62 134 54 148 57 162'/%3E%3Cpath d='M80 130 C98 134 106 148 103 162'/%3E%3C/g%3E%3Cg fill='%23a7b39a' opacity='.55'%3E%3Cellipse cx='118' cy='44' rx='9' ry='4' transform='rotate(-30 118 44)'/%3E%3Cellipse cx='150' cy='150' rx='7' ry='3' transform='rotate(40 150 150)'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__leaves--tl { top: -30px; left: -30px; transform: scaleX(-1); }
.hero__leaves--br { bottom: -30px; right: -30px; }

/* ============================================================
   O NAS
   ============================================================ */
.couple {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.couple__card { text-align: center; }
.couple__photo {
  aspect-ratio: 3/4; border-radius: 180px 180px var(--radius) var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; max-width: 320px;
  background: linear-gradient(160deg, var(--sand), var(--beige));
  border: 1px solid var(--beige); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.couple__photo::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat right -20px bottom -20px/130px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%237d8a70' opacity='.18'%3E%3Cpath d='M60 10c-10 14-10 50 0 64 10-14 10-50 0-64z'/%3E%3Cpath d='M44 30c-8 8-9 30-3 42 8-8 11-30 3-42z'/%3E%3Cpath d='M76 30c8 8 9 30 3 42-8-8-11-30-3-42z'/%3E%3C/g%3E%3C/svg%3E");
}
.couple__placeholder {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.15rem; color: var(--ink-soft); opacity: 0.7; text-align: center;
}
.couple__name { font-size: 2.2rem; }
.couple__role {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.74rem; color: var(--terracotta); margin: 0.3rem 0 1rem;
}
.couple__bio { color: var(--ink-soft); font-size: 1rem; }
.couple__amp {
  align-self: center; font-family: var(--font-display); font-style: italic;
  font-size: clamp(2.5rem, 7vw, 4.5rem); color: var(--sage); padding-top: 3rem;
}
.couple__together {
  text-align: center; max-width: 58ch; margin: 3rem auto 0;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--olive);
}
.couple__together em { font-size: 0.78em; color: var(--ink-soft); }

/* ============================================================
   HARMONOGRAM (timeline)
   ============================================================ */
.timeline { max-width: 680px; margin: 0 auto; position: relative; }
.timeline__day { margin: 2.4rem 0 1.2rem; }
.timeline__day:first-child { margin-top: 0; }
.timeline__daytitle {
  font-size: 1.7rem; color: var(--olive);
  display: inline-block; padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--sage);
}
.timeline__list { list-style: none; position: relative; padding-left: 1.4rem; }
.timeline__list::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--sage), transparent);
}
.timeline__item {
  position: relative; display: grid; grid-template-columns: 88px 1fr;
  gap: 1rem; padding: 0.9rem 0;
}
.timeline__item::before {
  content: ""; position: absolute; left: -1.4rem; top: 1.45rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid var(--cream);
  transform: translateX(-1px);
}
.timeline__time {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--terracotta); text-align: right;
}
.timeline__body h4 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.timeline__body p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   KIEDY I GDZIE
   ============================================================ */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 4vw, 2.5rem); }
.place {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: var(--radius); padding: 2.4rem 2rem; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.4s var(--ease);
}
.place:hover { transform: translateY(-6px); }
.place__icon { font-size: 2.4rem; margin-bottom: 0.6rem; }
.place__title { font-size: 1.8rem; }
.place__when { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--terracotta); margin: 0.4rem 0 1rem; }
.place__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--olive); }
.place__addr { color: var(--ink-soft); margin: 0.2rem 0 1.4rem; }
.place__btns { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   NOCLEG
   ============================================================ */
.lodging { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.lodging__card {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.lodging__card--primary { border-color: var(--terracotta); border-width: 1.5px; }
.lodging__card h3 { font-size: 1.5rem; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.lodging__card p { color: var(--ink-soft); font-size: 0.98rem; }
.lodging__badge {
  font-family: var(--font-body); font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.12em; background: var(--terracotta); color: var(--white);
  padding: 0.25em 0.7em; border-radius: 100px;
}
.lodging__list { list-style: none; margin: 1rem 0; }
.lodging__list li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0.4rem; }
.lodging__list li::before { content: "🌿"; position: absolute; left: 0; font-size: 0.8rem; }
.lodging__card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   DOJAZD
   ============================================================ */
.travel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.travel__info h3 { font-size: 1.7rem; color: var(--olive); margin-bottom: 1rem; }
.travel__list { list-style: none; }
.travel__list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.9rem; color: var(--ink-soft); }
.travel__list li::before { content: "🍃"; position: absolute; left: 0; }
.travel__list strong { color: var(--ink); }
.travel__maps { display: flex; flex-direction: column; gap: 0.9rem; }
.mapcard {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--beige);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.mapcard:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.mapcard__pin { font-size: 1.4rem; }
.mapcard strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--olive); }
.mapcard small { color: var(--ink-soft); }

/* ============================================================
   RSVP
   ============================================================ */
.rsvp { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.2rem; }
.rsvp__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field > span, .field legend {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--beige);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; font-weight: 300;
  color: var(--cream); background: rgba(255, 253, 249, 0.08);
  border: 1px solid rgba(247, 242, 234, 0.3); border-radius: var(--radius);
  padding: 0.8em 1em; transition: border-color 0.3s, background 0.3s;
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 242, 234, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); background: rgba(255, 253, 249, 0.14);
}
.field select option { color: var(--ink); }
.field--radio { border: 0; }
.field--radio legend { margin-bottom: 0.6rem; }
.radio { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1.6rem; cursor: pointer; color: var(--cream); }
.radio input { width: auto; accent-color: var(--terracotta); }
.rsvp__status { text-align: center; font-size: 0.95rem; min-height: 1.2em; margin-top: 0.4rem; }
.rsvp__status.is-ok { color: #d6e2c8; }
.rsvp__status.is-err { color: #f0c4ac; }

.rsvp__contact { text-align: center; margin-top: 2.6rem; color: var(--cream); opacity: 0.9; }
.rsvp__contact a { color: var(--beige); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.rsvp__contact a:hover { border-color: var(--beige); }
.rsvp__contact .dot { margin: 0 0.6rem; opacity: 0.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--sand); text-align: center;
  padding: 4rem 1.2rem 3rem; position: relative; overflow: hidden;
}
.footer__leaves {
  width: 120px; height: 30px; margin: 0 auto 1.2rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='%237d8a70' opacity='.6'%3E%3Cpath d='M60 3c-4 7-4 17 0 24 4-7 4-17 0-24z'/%3E%3Cpath d='M48 10c-6 3-8 12-4 18 6-3 9-12 4-18z'/%3E%3Cpath d='M72 10c6 3 8 12 4 18-6-3-9-12-4-18z'/%3E%3C/g%3E%3C/svg%3E");
}
.footer__names { font-family: var(--font-display); font-size: 2.4rem; color: var(--olive); }
.footer__date { letter-spacing: 0.3em; color: var(--ink-soft); margin: 0.4rem 0; }
.footer__note { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery__filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin: 0.5rem 0 2.4rem;
}
.chip {
  font-family: var(--font-body); font-size: 0.82rem;
  letter-spacing: 0.06em; cursor: pointer;
  padding: 0.5em 1.2em; border-radius: 100px;
  border: 1px solid var(--beige); background: transparent; color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--sage-deep); }
.chip.is-active { background: var(--olive); color: var(--cream); border-color: var(--olive); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery__item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.4rem 1rem 0.7rem; color: var(--white);
  font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.02em;
  background: linear-gradient(transparent, rgba(45, 42, 35, 0.78));
  transform: translateY(8px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s;
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { transform: none; opacity: 1; }
.gallery__item.is-hidden { display: none; }
.gallery__credit { text-align: center; margin-top: 1.6rem; font-size: 0.8rem; color: var(--ink-soft); }
.gallery__credit a { color: var(--terracotta); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 31, 26, 0.94); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  padding: 1.5rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox__stage img {
  max-width: 100%; max-height: 80vh; border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.lightbox__stage figcaption {
  color: var(--cream); margin-top: 1rem; font-family: var(--font-display);
  font-style: italic; font-size: 1.25rem;
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(247, 242, 234, 0.12);
  border: 1px solid rgba(247, 242, 234, 0.3); color: var(--cream);
  cursor: pointer; border-radius: 50%; transition: background 0.3s, transform 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close { top: 1.4rem; right: 1.4rem; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2.2rem; line-height: 1; }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .places { grid-template-columns: 1fr; }
  .lodging { grid-template-columns: 1fr; }
  .travel { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; z-index: 60; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 80vw);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 1.6rem; padding: 3rem 2.4rem;
    background: var(--cream); box-shadow: var(--shadow);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }

  .couple { grid-template-columns: 1fr; }
  .couple__amp { padding: 0.5rem 0; }
  .couple__photo { max-width: 260px; }

  .timeline__item { grid-template-columns: 70px 1fr; }
  .timeline__time { font-size: 1.1rem; }

  .rsvp__row { grid-template-columns: 1fr; }
  .countdown__box { min-width: 56px; padding: 0.7rem 0.7rem; }
  .gallery { grid-template-columns: 1fr; gap: 0.7rem; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.7rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}
