/* ==========================================================
   Entre Pasos · Landing · Fotógrafos de boda en Madrid
   Dos colores: verde musgo y beige.
   Tipografías: Italiana (títulos), Jost (texto, menú y botones),
   Cormorant Infant cursiva (frases destacadas).
   ========================================================== */

:root {
  --verde: #5C5C4E;
  --beige: #F1E8DA;

  /* Matices de los mismos dos colores (solo transparencias) */
  --verde-80: rgba(92, 92, 78, .8);
  --verde-line: rgba(92, 92, 78, .22);
  --beige-80: rgba(241, 232, 218, .82);
  --beige-line: rgba(241, 232, 218, .25);

  --display: "Italiana", "Didot", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --accent: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--verde);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16.5px, .9vw + 12px, 18px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
p { margin: 0 0 1em; }
strong, b { font-weight: 500; }
::selection { background: var(--verde); color: var(--beige); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: .01em;
  margin: 0 0 .7em;
}
.h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.15; margin: 0 0 .8em; }
.eyebrow { font-size: .72rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; margin: 0 0 1.6em; opacity: .85; }
.highlight, .quotes li, .review blockquote, .proof blockquote, .signature {
  font-family: var(--accent); font-style: italic; font-weight: 400;
}
.highlight { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.35; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 76px); }
.section-head .h2::after { content: ""; display: block; width: 48px; height: 1px; background: currentColor; opacity: .45; margin: .55em auto 0; }
.section-head--small { margin-bottom: 44px; }

/* ---------- Secciones ---------- */
section { position: relative; padding: clamp(80px, 10vw, 140px) var(--gutter); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.green { background: var(--verde); color: var(--beige); }

/* Fotos limpias, sin marcos */
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botón ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--verde); border-radius: 999px;
  background: var(--verde); color: var(--beige);
  font-family: var(--sans); font-weight: 400; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover, .btn:focus-visible { background: transparent; color: var(--verde); transform: translateY(-2px); }
.btn--light { background: var(--beige); color: var(--verde); border-color: var(--beige); }
.btn--light:hover, .btn--light:focus-visible { background: transparent; color: var(--beige); }
.btn--block { width: 100%; }

.btn-ghost {
  min-height: 46px; padding: 0 26px; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: var(--verde); cursor: pointer;
  font: 400 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn-ghost:hover { background: var(--verde); color: var(--beige); }

.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(44px, 6vw, 68px); text-align: center; }
.alt-contact { font-size: .82rem; letter-spacing: .04em; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; opacity: .9; }
.alt-contact a { text-decoration: none; border-bottom: 1px solid currentColor; padding: 3px 0; }

.stars { display: flex; gap: 3px; }
.stars svg { width: 13px; height: 13px; }

.tag {
  display: inline-block; margin: 0 0 26px; padding: 8px 16px;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .7rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
}
.footnote { font-size: .78rem; line-height: 1.55; opacity: .75; margin: 10px 0 0; }

/* ---------- Cabecera (verde) ---------- */
.site-header {
  position: relative; z-index: 40;
  background: var(--verde); color: var(--beige);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 26px var(--gutter) 0;
}
.site-header__social { display: flex; gap: 4px; justify-self: start; }
.site-header__social a { width: 40px; height: 40px; display: grid; place-items: center; color: var(--beige); opacity: .85; }
.site-header__social a:hover { opacity: 1; }
.site-header__social svg { width: 18px; height: 18px; }

.wordmark { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--beige); text-align: center; }
.wordmark__name { font-family: var(--display); font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: .2em; text-transform: uppercase; margin-right: -.2em; }
.wordmark__tag { font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; margin-top: 12px; margin-right: -.5em; opacity: .85; }

.nav {
  grid-column: 1 / -1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px clamp(28px, 5vw, 80px);
  padding: 30px 0 22px; margin-top: 8px;
}
.nav > a {
  font-size: .76rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--beige); padding: 8px 2px; position: relative;
}
.nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--beige); transition: right .4s var(--ease); }
.nav > a:hover::after, .nav > a.is-active::after { right: 0; }
.nav__social { display: none; }

.menu-toggle {
  display: none; grid-column: 3; justify-self: end; position: relative; z-index: 2;
  width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--beige);
}
.menu-toggle__lines { display: grid; gap: 7px; width: 28px; }
.menu-toggle__lines span { display: block; height: 1px; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle__lines span:nth-child(2) { width: 72%; justify-self: end; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899px) {
  .site-header { padding: 18px var(--gutter) 22px; grid-template-columns: 46px 1fr 46px; }
  .site-header__social { display: none; }
  .wordmark__name { font-size: clamp(1.4rem, 6.4vw, 2rem); letter-spacing: .14em; margin-right: -.14em; white-space: nowrap; }
  .menu-toggle { display: inline-flex; }
  .wordmark__tag { letter-spacing: .36em; margin-right: -.36em; font-size: .56rem; margin-top: 8px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px; background: var(--verde);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a { font-size: .9rem; padding: 12px 0; }
  .nav__social { display: flex; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--beige-line); }
  .nav__social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
  .nav__social svg { width: 18px; height: 18px; }
}

/* ---------- 01 Portada ---------- */
.hero { padding: 0; min-height: min(86vh, 920px); overflow: hidden; background: var(--verde); }
.hero > * { max-width: none; margin: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(92, 92, 78, .62) 0%, rgba(92, 92, 78, .15) 45%, rgba(92, 92, 78, .35) 100%); }
.hero__text { position: absolute; left: clamp(20px, 8vw, 150px); top: clamp(40px, 8vh, 80px); right: var(--gutter); color: var(--beige); }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: .04em; text-transform: uppercase;
  margin: 0 0 .5em;
}
.hero__sub { font-size: clamp(.8rem, 1.1vw, 1rem); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 0 clamp(0px, 9vw, 160px); }
.hero__cta { position: absolute; right: clamp(20px, 12vw, 300px); bottom: clamp(28px, 6vh, 60px); }

/* Banda de prueba bajo la portada */
.proof-band { padding: 34px var(--gutter); text-align: center; border-bottom: 1px solid var(--verde-line); }
.proof { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proof blockquote { margin: 6px 0 2px; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; }
.proof figcaption { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }

/* ---------- 02 Problema ---------- */
.problem__grid { display: grid; gap: clamp(48px, 7vw, 100px); align-items: center; }
.problem .photo { width: min(90%, 460px); margin: 0 auto; aspect-ratio: 2 / 3; }
.quotes { list-style: none; padding: 0; margin: 0 0 32px; }
.quotes li { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; padding: 16px 0; border-bottom: 1px solid var(--beige-line); }
.quotes li:first-child { border-top: 1px solid var(--beige-line); }
.problem__text > p:last-child { color: var(--beige-80); }

/* ---------- 03 Servicios ---------- */
.offer__grid { display: grid; gap: clamp(48px, 6vw, 100px); align-items: start; }
.offer__photo { width: min(92%, 480px); margin: 0 auto; aspect-ratio: 3 / 4; }
.features { list-style: none; padding: 0; margin: 0; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--verde-line); }
.feature:first-child { border-top: 1px solid var(--verde-line); }
.feature h3 { font-family: var(--sans); font-weight: 400; font-size: 1.02rem; letter-spacing: .02em; line-height: 1.4; margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--verde-80); }
.feature__icon svg, .g-icon svg, .extra__oval--icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

.extras { margin-top: clamp(90px, 10vw, 140px); }
.extras__grid { display: grid; gap: 22px; }
.extra { text-align: center; padding: 38px 28px 34px; border: 1px solid var(--verde-line); display: flex; flex-direction: column; align-items: center; transition: transform .5s var(--ease); }
.extra:hover { transform: translateY(-4px); }
.extra__oval { width: 170px; aspect-ratio: 4 / 5; border-radius: 50%; overflow: hidden; margin: 0 auto 24px; }
.extra__oval img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.extra__oval--icon { display: grid; place-items: center; border: 1px solid var(--verde-line); }
.extra__oval--icon span { display: grid; justify-items: center; gap: 8px; }
.extra__oval--icon svg { width: 54px; height: 54px; stroke-width: .9; }
.extra__oval--icon b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.extra h4 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin: 0 0 10px; }
.extra p { margin: 0; color: var(--verde-80); }
.extra__badge { order: -1; margin: 0 0 18px !important; padding: 5px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: .62rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; }
.extra--star { background: var(--verde); color: var(--beige); border-color: var(--verde); }
.extra--star p { color: var(--beige-80); }
.extra--star .extra__badge { color: var(--beige); }

/* ---------- Valoraciones ---------- */
.reviews__grid { display: grid; gap: 22px; }
.review { padding: 36px 32px 30px; border: 1px solid var(--beige-line); }
.review blockquote { margin: 18px 0 26px; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.45; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--beige-line); padding-top: 18px; }
.review figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.review figcaption span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }

/* ---------- Portfolio: filas justificadas ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item { display: block; overflow: hidden; cursor: zoom-in; background: rgba(92, 92, 78, .1); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.js .gallery:not(.is-open) .is-extra { display: none; }
.gallery.is-justified { display: block; --g: 8px; }
.gallery__row { display: flex; gap: var(--g); margin-bottom: var(--g); }
.gallery__row:last-child { margin-bottom: 0; }
.gallery.is-justified .gallery__item { aspect-ratio: var(--r); flex: var(--r) 1 0%; min-width: 0; }
.gallery__item { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .gallery__item.is-pending { opacity: 0; transform: translateY(24px); }

/* ---------- ¿Cómo sería la reserva? ---------- */
.steps__list { list-style: none; padding: 0; margin: 0 auto; display: grid; border-top: 1px solid var(--beige-line); }
.step { padding: 32px 0; border-bottom: 1px solid var(--beige-line); }
.step__num { display: block; font-family: "Bodoni Moda", "Didot", Georgia, serif; font-style: italic; font-weight: 400; font-size: 3.4rem; line-height: 1; margin-bottom: 16px; }
.step h3 { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.4; margin: 0 0 10px; }
.step p { margin: 0; color: var(--beige-80); }
.steps__photo { margin-top: clamp(48px, 6vw, 76px); overflow: hidden; }
.steps__photo img { width: 100%; height: clamp(280px, 44vw, 560px); object-fit: cover; object-position: center 40%; }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__photo { width: min(82%, 420px); margin: 0 auto; aspect-ratio: 3 / 4.3; }
.about__photo img { object-position: center 22%; }
.about__text p { color: var(--verde-80); }
.about__quote { color: var(--verde) !important; border-left: 1px solid currentColor; padding-left: 24px; margin: 32px 0; }
.signature { font-size: 2rem; color: var(--verde) !important; margin: 0; }

/* ---------- Tranquilidad ---------- */
.trust__grid { display: grid; gap: clamp(48px, 6vw, 90px); align-items: center; }
.trust__grid > div > p { color: var(--beige-80); }
.split { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; border-top: 1px solid var(--beige-line); border-bottom: 1px solid var(--beige-line); }
.split div { padding: 20px 16px 18px 0; display: flex; flex-direction: column; gap: 6px; }
.split div + div { border-left: 1px solid var(--beige-line); padding-left: 20px; }
.split b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.split span { font-size: .84rem; line-height: 1.45; color: var(--beige-80); }
.guarantee-list { list-style: none; padding: 0; margin: 0; }
.guarantee-list li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--beige-line); color: var(--beige-80); }
.guarantee-list b { color: var(--beige); }
.g-icon svg { width: 26px; height: 26px; }
.trust__photo { aspect-ratio: 4 / 5; width: min(100%, 520px); margin: 0 auto; }

/* ---------- Preguntas ---------- */
.faq__list { max-width: 820px; border-top: 1px solid var(--verde-line); }
.faq details { border-bottom: 1px solid var(--verde-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; min-height: 64px; font-size: 1.02rem; font-weight: 400; letter-spacing: .02em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--verde-80); margin: 0 0 22px; max-width: 46em; }

/* ---------- Contacto ---------- */
.closing__inner { display: grid; gap: clamp(48px, 6vw, 100px); align-items: center; }
.closing__photo { width: min(82%, 420px); margin: 0 auto; aspect-ratio: 4 / 5; }
.closing__text > p { color: var(--beige-80); }
.closing__text > .highlight { color: var(--beige); }

/* ---------- Pie (beige) ---------- */
.footer { padding: 72px var(--gutter) 120px; font-size: .9rem; border-top: 1px solid var(--verde-line); }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__brand .wordmark__name { font-size: 1.7rem; margin: 0; }
.footer__brand .wordmark__tag { margin: 0; letter-spacing: .3em; }
.footer__title { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 12px; opacity: .8; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { max-width: var(--max); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--verde-line); font-size: .74rem; letter-spacing: .08em; opacity: .8; }

/* ---------- Barra fija móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(241, 232, 218, .97); border-top: 1px solid var(--verde-line);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.btn--bar { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; gap: .5em; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
.mobile-bar__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; color: var(--verde); border: 1px solid var(--verde-line); border-radius: 50%; }
.mobile-bar__icon svg { width: 19px; height: 19px; }

/* ---------- Botón flotante de WhatsApp (ordenador) ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 50;
  display: none; align-items: center; gap: 0;
  height: 58px; padding: 0 19px; border-radius: 999px;
  background: var(--verde); color: var(--beige); text-decoration: none;
  border: 0;
  box-shadow: 0 0 0 2px var(--beige), 0 0 0 3px var(--verde-line), 0 16px 30px -12px rgba(46, 46, 38, .55);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), gap .45s var(--ease);
}
.wa-float svg { width: 20px; height: 20px; flex: none; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: .7rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  transition: max-width .5s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { gap: 12px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 260px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 980px) { .wa-float { display: inline-flex; } }

/* ---------- Botón discreto para volver al menú ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 49;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(241, 232, 218, .9); color: var(--verde);
  border: 1px solid var(--verde-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), background .3s, color .3s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: .85; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { opacity: 1; background: var(--verde); color: var(--beige); }
@media (min-width: 980px) { .to-top { right: 36px; bottom: 102px; } }

/* ---------- Visor de fotos ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(92, 92, 78, .97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; }
.lightbox button { position: fixed; width: 48px; height: 48px; border: 1px solid var(--beige-line); border-radius: 50%; background: transparent; color: var(--beige); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Tablet y escritorio
   ========================================================== */
@media (min-width: 700px) {
  .extras__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .steps__list { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .step { padding: 32px 32px 8px 0; border-bottom: 0; border-top: 1px solid var(--beige-line); margin-right: 28px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery.is-justified { --g: 12px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .problem__grid { grid-template-columns: .85fr 1.15fr; }
  .offer__grid { grid-template-columns: .9fr 1.1fr; }
  .offer__photo { position: sticky; top: 40px; }
  .about__grid { grid-template-columns: .9fr 1.1fr; }
  .trust__grid { grid-template-columns: 1.1fr .9fr; }
  .closing__inner { grid-template-columns: .85fr 1.15fr; }
  .mobile-bar { display: none; }
  .footer { padding-bottom: 64px; }
}
@media (max-width: 699px) {
  .hero { min-height: 78svh; }
  .hero__img { object-position: 58% 40%; }
  .hero__text { left: 20px; top: 34px; }
  .hero__sub { margin-left: 0; }
  .hero__cta { left: 20px; right: 20px; bottom: 28px; }
  .hero__cta .btn { width: 100%; }
}
@media (max-width: 420px) {
  .btn { padding: 0 14px; font-size: .7rem; letter-spacing: .12em; white-space: nowrap; }
  .cta-group { align-items: stretch; }
  .cta-group .btn { width: 100%; }
  .mobile-bar .btn--bar { padding: 0 10px; font-size: .62rem; letter-spacing: .08em; }
  .split b { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .gallery__item.is-pending { opacity: 1; transform: none; }
}

/* ==========================================================
   Páginas legales y 404
   ========================================================== */
.page-legal { background: var(--beige); }
.legal-header { display: flex; justify-content: center; padding: 32px var(--gutter) 0; }
.legal-header img { width: 120px; }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 100px; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 3.8rem); line-height: 1.05; margin: 0 0 .5em; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 2em 0 .5em; }
.legal p, .legal li { color: var(--verde-80); }
.legal ul { padding-left: 1.2em; }
.legal .card { border: 1px solid var(--verde-line); padding: clamp(24px, 4vw, 48px); }
.legal .warning { display: flex; gap: 14px; align-items: flex-start; border-left: 3px solid var(--verde); background: rgba(92, 92, 78, .08); padding: 16px 20px; margin-bottom: 28px; font-size: .95rem; }
.ph { background: rgba(92, 92, 78, .16); padding: 0 .3em; font-weight: 400; color: var(--verde); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; text-decoration: none; border-bottom: 1px solid currentColor; padding: 6px 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.legal-footer { padding-bottom: 64px; text-align: center; }
.legal-footer .footer__legal { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.legal-footer .footer__legal a { padding: 8px 0; }
.legal-footer .footer__copy { border-top: 0; margin-top: 0; padding-top: 0; }
.page-404 { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: var(--verde); color: var(--beige); }
.page-404 .big { font-family: var(--display); font-size: clamp(6rem, 20vw, 12rem); line-height: .9; margin: 0; }
.page-404 h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); margin: .2em 0 .4em; }
.page-404 p { max-width: 30em; margin: 0 auto 32px; opacity: .85; }
.page-404 .actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-404 .btn { background: var(--beige); color: var(--verde); border-color: var(--beige); }
