/* ============================================================
   Lila & Renzo · 28.11.2026 · Estancia La Candelaria, Lobos
   Sistema de diseño — brand kit LyR (sage / ivory)
   ============================================================ */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: "Juliette";
  src: url("../assets/fonts/Juliette-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Hello Paris";
  src: url("../assets/fonts/HelloParis-ExtraLight.otf") format("opentype");
  font-weight: 200 400; font-display: swap;
}
@font-face {
  font-family: "Hello Paris";
  src: url("../assets/fonts/HelloParis-Light.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Hello Paris";
  src: url("../assets/fonts/HelloParis-Regular.ttf") format("truetype");
  font-weight: 600 700; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --olive:        #7e8657;
  --olive-deep:   #5f6643;
  --olive-soft:   #a3a980;
  --ivory:        #f6f1e7;
  --ivory-2:      #efe8da;
  --cream:        #fbf8f1;
  --ink:          #403d31;
  --ink-soft:     #6b6757;
  --line:         #d9d1bf;
  --white:        #ffffff;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label:   "Hello Paris", "Helvetica Neue", sans-serif;
  --font-script:  "Juliette", cursive;

  --maxw: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius: 2px;
  --shadow: 0 18px 50px -20px rgba(64,61,49,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--cream);
  font-size: clamp(1.05rem, .55vw + .95rem, 1.25rem);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía utilitaria ---------- */
.label {
  font-family: var(--font-label);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: .26em;
  font-size: .92rem;
  color: var(--olive);
}
.script { font-family: var(--font-script); font-weight: 400; line-height: .9; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: .01em; }
h2.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-align: center;
  color: var(--olive-deep);
  font-weight: 500;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
section { position: relative; }
.pad { padding-block: clamp(4.5rem, 9vw, 8rem); }
.center { text-align: center; }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .label { display: block; margin-bottom: 1rem; }
.section-head .ornament { width: 70px; margin: 1.4rem auto 0; opacity: .8; }

/* divisor — rama de olivo del brand kit */
.divider { width: clamp(220px, 40vw, 340px); margin: 0 auto; display: block; opacity: .95; }
.flourish { width: clamp(70px, 12vw, 110px); margin: 0 auto; display: block; opacity: .95; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled { background: rgba(251,248,241,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding-block: .7rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: var(--white); transition: color .4s var(--ease); }
.nav.scrolled .nav__brand { color: var(--olive-deep); }
.nav__brand img { height: 38px; width: auto; transition: filter .4s var(--ease); }
.nav.scrolled .nav__brand img { filter: none; }
.nav:not(.scrolled) .nav__brand img { filter: brightness(0) invert(1); }
.nav__brand b { font-family: var(--font-label); font-weight: 400; letter-spacing: .22em; font-size: .9rem; text-transform: lowercase; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; }
.nav__links a {
  font-family: var(--font-label); text-transform: lowercase; letter-spacing: .18em;
  font-size: .82rem; font-weight: 400; color: var(--white); transition: color .3s, opacity .3s; opacity: .92;
}
.nav.scrolled .nav__links a { color: var(--ink); }
.nav__links a:hover { opacity: 1; color: var(--olive); }
.nav__links a.btn-rsvp { padding: .55rem 1.3rem; border: 1px solid currentColor; border-radius: 100px; opacity: 1; }
.nav__links a.btn-rsvp:hover { background: var(--olive); border-color: var(--olive); color: var(--white) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: .4rem; z-index: 110; }
.nav__toggle span { width: 26px; height: 2px; background: var(--white); transition: .35s var(--ease); }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  color: var(--white); position: relative; isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(40,38,28,.45) 0%, rgba(40,38,28,.15) 35%, rgba(40,38,28,.55) 100%);
}
.hero__inner { padding: 6rem 1.5rem 4rem; position: relative; z-index: 2; }

/* hojas de olivo flotando */
.leaves { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.leaf {
  position: absolute; top: -12%; width: 40px; height: 40px;
  background: url("../assets/graphics/separador-12.png") center/contain no-repeat;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,.35)); opacity: 0;
  animation: leafFall linear infinite;
}
@keyframes leafFall {
  0%   { transform: translate(0, -12%) rotate(-10deg);      opacity: 0; }
  8%   { opacity: .65; }
  50%  { transform: translate(28px, 55vh) rotate(140deg);   opacity: .65; }
  92%  { opacity: .65; }
  100% { transform: translate(-22px, 116vh) rotate(300deg); opacity: 0; }
}
.leaf:nth-child(1) { left: 8%;  width: 38px; animation-duration: 15s; animation-delay: 0s; }
.leaf:nth-child(2) { left: 26%; width: 50px; animation-duration: 19s; animation-delay: 2s; }
.leaf:nth-child(3) { left: 47%; width: 32px; animation-duration: 16s; animation-delay: 5s; }
.leaf:nth-child(4) { left: 64%; width: 46px; animation-duration: 21s; animation-delay: 1s; }
.leaf:nth-child(5) { left: 81%; width: 36px; animation-duration: 17s; animation-delay: 7s; }
.leaf:nth-child(6) { left: 92%; width: 48px; animation-duration: 18s; animation-delay: 3s; }

/* intro del hero al cargar */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__label  { animation: heroIn 1s var(--ease) both .3s; }
.hero__names  { animation: heroIn 1.2s var(--ease) both .55s; }
.hero__meta   { animation: heroIn 1s var(--ease) both 1s; }
.hero__scroll { animation: heroIn 1s var(--ease) both 1.5s; }
.hero__label { color: rgba(255,255,255,.9); margin-bottom: 1.6rem; letter-spacing: .4em; }
.hero__names {
  font-family: var(--font-label); font-weight: 400;
  text-transform: lowercase; line-height: 1;
  font-size: clamp(2.6rem, 9vw, 6rem);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero__names > span:first-child { text-align: right; letter-spacing: .08em; padding-left: .08em; }
.hero__names > span:last-child  { text-align: left;  letter-spacing: .08em; }
.hero__names .amp { font-family: var(--font-script); font-weight: 400; text-transform: none; font-size: 1.5em; line-height: .7; padding: 0 .12em; }
.hero__meta {
  margin-top: 1.8rem; font-family: var(--font-label); text-transform: lowercase; font-weight: 400;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.hero__meta .hero__date { font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: .22em; }
.hero__meta .hero__time { font-size: clamp(.82rem, 1.8vw, 1.05rem); letter-spacing: .26em; opacity: .92; }
.hero__meta .hero__place { margin-top: 1rem; font-size: clamp(.82rem, 1.6vw, 1rem); letter-spacing: .3em; }
.hero__meta .hero__loc { font-size: clamp(.72rem, 1.4vw, .85rem); letter-spacing: .3em; opacity: .9; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-label); text-transform: lowercase; letter-spacing: .25em; font-size: .62rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.85);
}
.hero__scroll::after { content: ""; width: 1px; height: 38px; background: currentColor; animation: scrollpulse 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollpulse { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown { background: var(--olive-deep); color: var(--ivory); text-align: center; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.countdown__msg { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .3em; font-size: .72rem; opacity: .8; margin-bottom: 1.6rem; }
.countdown__grid { display: flex; justify-content: center; gap: clamp(1.2rem, 5vw, 3.5rem); flex-wrap: wrap; }
.cd__unit { min-width: 64px; }
.cd__num { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 500; line-height: 1; }
.cd__label { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .25em; font-size: .62rem; opacity: .75; margin-top: .5rem; }

/* ============================================================
   INTRO
   ============================================================ */
.intro { background: var(--cream); text-align: center; }
.intro__quote { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-style: italic; color: var(--olive-deep); max-width: 760px; margin: 1.8rem auto 0; line-height: 1.4; }

/* ============================================================
   HISTORIA
   ============================================================ */
.historia { background: var(--ivory); }
.historia__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.historia__text p { color: var(--ink-soft); margin-top: 1.2rem; }
.historia__text p:first-of-type { margin-top: 1.6rem; }

/* collage de fotos */
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage .tall { grid-row: span 2; aspect-ratio: 3/4.4; }
.collage .small { aspect-ratio: 1/1; }

/* línea de tiempo */
.timeline { list-style: none; margin-top: 2rem; border-left: 1px solid var(--line); padding-left: 1.6rem; }
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 5px); top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--olive); }
.timeline .when { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .18em; font-size: .72rem; color: var(--olive); }
.timeline .what { font-size: 1.15rem; color: var(--ink); line-height: 1.4; }

/* ============================================================
   EL DÍA — detalles
   ============================================================ */
.dia { background: var(--cream); }
.dia__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 1rem; }
.card-event {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem); text-align: center;
}
.card-event img { height: 56px; margin: 0 auto 1.2rem; opacity: .9; }
.card-event h3 { font-size: 1.9rem; color: var(--olive-deep); }
.card-event .time { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .25em; font-size: .8rem; color: var(--olive); margin: .7rem 0 1rem; }
.card-event p { color: var(--ink-soft); font-size: 1.02rem; }

/* ============================================================
   LUGAR + MAPA
   ============================================================ */
.lugar { background: var(--ivory); text-align: center; position: relative; isolation: isolate; }
.lugar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/img/estancia.jpg") center/cover no-repeat;
  opacity: .14;
}
.lugar__address { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--olive-deep); margin-bottom: .4rem; }
.lugar__map { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.lugar__map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.25) sepia(.12); }
.lugar__btns { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ALOJAMIENTO
   ============================================================ */
.aloja { background: var(--cream); }
.aloja__block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.aloja__block:first-of-type { margin-top: 0; }
.aloja__subhead { text-align: center; margin-bottom: 2rem; }
.aloja__subhead .label { display: block; margin-bottom: .5rem; }
.aloja__subhead h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--olive-deep); }
.aloja__subhead p { color: var(--ink-soft); max-width: 560px; margin: .7rem auto 0; font-size: 1.02rem; }

/* opciones La Candelaria con precios */
.opts { max-width: 760px; margin: 0 auto; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; }
.opt h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--olive-deep); font-weight: 600; }
.opt p { color: var(--ink-soft); font-size: .98rem; margin-top: .25rem; }
.opt .prices { text-align: right; white-space: nowrap; }
.opt .prices .row { display: flex; justify-content: flex-end; gap: .5rem; align-items: baseline; }
.opt .prices .plabel { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .1em; font-size: .62rem; color: var(--olive); }
.opt .prices .pval { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.opt .prices small { display: block; font-size: .62rem; color: var(--ink-soft); margin-top: .2rem; }
.aloja__note { text-align: center; font-size: .95rem; color: var(--ink-soft); margin-top: 1.5rem; font-style: italic; }
.aloja__cta { text-align: center; margin-top: 1.8rem; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* caja "cómo reservar" */
.note-box { max-width: 680px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.4rem); text-align: left; }
.note-box p { color: var(--ink-soft); }
.note-box strong { color: var(--olive-deep); }
.note-box ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.note-box li { margin-bottom: .4rem; }
.note-box .perk { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); color: var(--olive-deep); font-style: italic; }

/* hoteles en Lobos */
.aloja__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: clamp(1rem,2.5vw,1.5rem); }
.aloja-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.aloja-card h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--olive-deep); margin-bottom: .3rem; }
.aloja-card p { color: var(--ink-soft); font-size: .95rem; margin-top: .4rem; margin-bottom: 1.3rem; flex: 1; }
.btn--sm { padding: .55rem 1.5rem; font-size: .72rem; }
.aloja-actions { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.ig-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 42px; height: 42px; border: 1px solid var(--olive); border-radius: 50%; color: var(--olive); transition: .25s var(--ease); }
.ig-link:hover { background: var(--olive); color: var(--white); }
.ig-link svg { width: 19px; height: 19px; }

/* banner transfer */
.transfer { background: var(--olive); color: var(--ivory); text-align: center; padding: clamp(2.2rem,4vw,3rem); border-radius: var(--radius); margin-top: clamp(2.5rem,5vw,4rem); }
.transfer .label { color: rgba(255,255,255,.85); display: block; margin-bottom: .8rem; }
.transfer h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); }
.transfer p { max-width: 620px; margin: .8rem auto 0; opacity: .95; }

/* ============================================================
   DRESS CODE
   ============================================================ */
.dress { background: var(--olive-deep); color: var(--ivory); text-align: center; }
.dress .section-head .label { color: var(--olive-soft); }
.dress h2.section-title { color: var(--ivory); }
.dress__big { font-family: var(--font-script); font-size: clamp(3rem, 9vw, 6rem); margin: 1rem 0 1.5rem; color: var(--white); }
.dress__desc { max-width: 620px; margin: 0 auto; opacity: .9; }
.dress__palette { display: flex; gap: .8rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.dress__palette span { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* ============================================================
   REGALOS
   ============================================================ */
.regalos { background: var(--ivory); text-align: center; }
.regalos__text { max-width: 640px; margin: 0 auto 2.4rem; color: var(--ink-soft); }
.regalos__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem,4vw,3rem); max-width: 520px; margin: 0 auto; box-shadow: var(--shadow); }
.regalos__card h3 { font-size: 1.6rem; color: var(--olive-deep); margin-bottom: 1.5rem; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.bank-row:last-child { border-bottom: 0; }
.bank-row .k { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .18em; font-size: .66rem; color: var(--olive); }
.bank-row .v { font-size: 1.05rem; }
.copy-btn { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .15em; font-size: .6rem; color: var(--olive); border: 1px solid var(--line); border-radius: 100px; padding: .35rem .8rem; transition: .25s; }
.copy-btn:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }

/* ============================================================
   GALERÍA
   ============================================================ */
/* franja de 3 fotos — separador visual */
.photostrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.photostrip figure { overflow: hidden; aspect-ratio: 3/4; }
.photostrip img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 1.2s var(--ease); }
.photostrip:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .photostrip { grid-template-columns: 1fr; } .photostrip figure { aspect-ratio: 3/4; } }

/* ============================================================
   RSVP
   ============================================================ */
.rsvp { background: var(--ivory); }
.rsvp__intro { text-align: center; max-width: 620px; margin: 0 auto 1rem; color: var(--ink-soft); }
.rsvp__deadline { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .22em; font-size: .72rem; color: var(--olive); text-align: center; margin-bottom: 2.5rem; }
.form { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-family: var(--font-label); text-transform: lowercase; letter-spacing: .18em; font-size: .68rem; color: var(--olive-deep); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(126,134,87,.15); }
.choice { display: flex; gap: .8rem; flex-wrap: wrap; }
.choice label {
  flex: 1; min-width: 130px; margin: 0; cursor: pointer; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem;
  font-family: var(--font-label); letter-spacing: .12em; font-size: .72rem; color: var(--ink-soft);
  transition: .25s; background: var(--cream);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + label,
.choice label.checked { background: var(--olive); color: var(--white); border-color: var(--olive); }
.field.hidden { display: none; }
.btn {
  font-family: var(--font-label); text-transform: lowercase; letter-spacing: .22em; font-size: .82rem; font-weight: 400;
  padding: .9rem 2.4rem; border-radius: 100px; transition: .3s var(--ease); display: inline-block; border: 1px solid var(--olive);
}
.btn--solid { background: var(--olive); color: var(--white); }
.btn--solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--olive-deep); }
.btn--ghost:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.btn--light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--olive-deep); }
.form__submit { text-align: center; margin-top: .5rem; }
.form__submit .btn { width: 100%; cursor: pointer; }
.form__note { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }
.form__status { text-align: center; padding: 3rem 1rem; display: none; }
.form__status.show { display: block; }
.form__status .script { font-size: clamp(3rem,8vw,5rem); color: var(--olive); }
.form__status h3 { font-size: 2rem; color: var(--olive-deep); margin: .5rem 0 .6rem; }
.form__status p { color: var(--ink-soft); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; margin-left: .5rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--olive-deep); }
.faq__q .ico { font-family: var(--font-label); font-size: 1.4rem; transition: transform .3s var(--ease); color: var(--olive); }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding-bottom: 1.4rem; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--olive-deep); color: var(--ivory); text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.footer__logo { height: clamp(90px, 14vw, 130px); margin: 0 auto; filter: brightness(0) invert(1); opacity: .92; }
.footer__date { font-family: var(--font-label); text-transform: lowercase; letter-spacing: .35em; font-size: .85rem; margin-top: 1.6rem; opacity: .85; }
.footer__ig { display: inline-block; margin-top: 1.4rem; font-family: var(--font-label); text-transform: lowercase; letter-spacing: .2em; font-size: .82rem; opacity: .9; transition: opacity .25s; }
.footer__ig:hover { opacity: 1; }
.footer__credit { margin-top: 2rem; font-size: .78rem; opacity: .55; font-family: var(--font-label); letter-spacing: .12em; text-transform: lowercase; }

/* ============================================================
   Animaciones on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* revelado cinematográfico: enfoque + leve zoom-out */
.reveal-zoom { opacity: 0; transform: scale(1.12); filter: blur(7px);
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease), filter 1.1s var(--ease); }
.reveal-zoom.in { opacity: 1; transform: none; filter: blur(0); }
.photostrip .reveal-zoom:nth-child(2) { transition-delay: .12s; }
.photostrip .reveal-zoom:nth-child(3) { transition-delay: .24s; }
.collage .reveal-zoom:nth-child(2) { transition-delay: .1s; }
.collage .reveal-zoom:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll::after, .hero__bg img, .leaf,
  .hero__label, .hero__names, .hero__meta, .hero__scroll { animation: none; }
  .leaves { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .historia__grid { grid-template-columns: 1fr; }
  .historia__media { max-width: 420px; margin: 0 auto; }
  .dia__cards { grid-template-columns: 1fr; }
  .galeria__grid { columns: 2; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column;
    justify-content: center; gap: 1.8rem; background: var(--cream); padding: 3rem;
    transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow);
  }
  .nav__links.open { transform: none; }
  .nav__links a { color: var(--ink) !important; font-size: .9rem; }
  .nav__links a.btn-rsvp { color: var(--olive-deep) !important; }
  .nav__toggle { display: flex; }
  .nav__links.open ~ .nav__toggle span, .nav__toggle.active span { background: var(--ink); }
}
@media (max-width: 520px) {
  .galeria__grid { columns: 1; }
  .hero__meta { flex-direction: column; gap: .6rem; }
  .hero__meta .sep { display: none; }
}
