:root {
  --noche: #0F1733;
  --noche-2: #17214A;
  --talavera: #2747B8;
  --talavera-deep: #1B2F86;
  --cal: #F5F7FB;
  --yema: #F2B531;
  --cantera: #B9A58C;
  --tinta: #1A1D29;
  --muted: #545A6E;
  --wa: #1FAF54;

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--cal);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yema); outline-offset: 3px; }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--talavera);
}
.eyebrow--light { color: var(--yema); }
.display {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 500;
  text-wrap: balance;
}
.section-head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 64px); padding: 0 var(--gutter); }
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--talavera); color: var(--cal); }
.btn--solid:hover { background: var(--talavera-deep); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url(assets/wa.svg) center / contain no-repeat;
          mask: url(assets/wa.svg) center / contain no-repeat;
}
.btn--wa:hover { background: #18934a; }
.btn--ghost { color: var(--cal); border-color: rgba(245,247,251,.55); }
.btn--ghost:hover { background: var(--cal); color: var(--noche); }
.btn--outline { color: var(--talavera); border-color: var(--talavera); }
.btn--outline:hover { background: var(--talavera); color: var(--cal); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Puerta de talavera ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
}
.gate__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: url(assets/talavera.svg) 0 0 / 120px 120px;
  transition: transform 1.6s cubic-bezier(.7, 0, .2, 1);
}
.gate__door--left { left: 0; box-shadow: inset -18px 0 30px -18px rgba(15,23,51,.45); }
.gate__door--right { right: 0; background-position: calc(-49.5vw) 0; box-shadow: inset 18px 0 30px -18px rgba(15,23,51,.45); }
.gate__card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(440px, calc(100vw - 40px));
  padding: 44px 32px 32px;
  text-align: center;
  background: var(--cal);
  border: 1.5px solid var(--talavera);
  outline: 6px solid var(--cal);
  box-shadow: 0 0 0 7.5px var(--talavera), 0 30px 80px rgba(15,23,51,.35);
  transition: opacity .5s, transform .6s var(--ease);
}
.gate__name {
  font-family: var(--display);
  font-size: clamp(36px, 8vw, 48px);
  line-height: 1;
  color: var(--talavera-deep);
}
.gate__lede { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--muted); margin-bottom: 14px; }
.gate__quiet {
  border: 0; background: none; padding: 6px;
  font: 500 14px var(--body); color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.gate.is-open { pointer-events: none; }
.gate.is-open .gate__card { opacity: 0; transform: scale(.94); }
.gate.is-open .gate__door--left { transform: translateX(-101%); }
.gate.is-open .gate__door--right { transform: translateX(101%); }
.gate.is-gone { display: none; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  color: var(--cal);
  transition: background-color .4s, padding .4s, box-shadow .4s;
}
.nav.is-solid {
  background: rgba(15,23,51,.92);
  backdrop-filter: blur(10px);
  padding-block: 12px;
  box-shadow: 0 1px 0 rgba(242,181,49,.25);
}
.nav__brand { font-family: var(--display); font-size: 22px; text-decoration: none; white-space: nowrap; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 14px; font-weight: 500; text-decoration: none; opacity: .85; }
.nav__links a:hover { opacity: 1; color: var(--yema); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.music {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px;
  border: 1.5px solid rgba(245,247,251,.45); border-radius: 999px;
  background: transparent; color: inherit;
  font: 500 14px var(--body); cursor: pointer;
}
.music:hover { border-color: var(--yema); }
.music__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.music__bars i { width: 3px; height: 4px; background: var(--yema); border-radius: 1px; }
.music[aria-pressed="true"] .music__bars i { animation: eq 1s ease-in-out infinite; }
.music__bars i:nth-child(2) { animation-delay: -.3s; }
.music__bars i:nth-child(3) { animation-delay: -.6s; }
.music__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(120px, 16vh, 170px);
  color: var(--cal);
  background: var(--noche);
  overflow: hidden;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.8s ease, transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide--1 { background-image: url(assets/hero-ceremonia.jpg); }
.hero__slide--2 { background-image: url(assets/hero-mesa.jpg); }
.hero__slide--3 { background-image: url(assets/hero-jardin.jpg); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,23,51,.92) 0%, rgba(15,23,51,.45) 45%, rgba(15,23,51,.15) 70%, rgba(15,23,51,.5) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 920px; }
.hero__title {
  margin: 18px 0 22px;
  font-family: var(--display);
  font-size: clamp(54px, 10.5vw, 148px);
  line-height: .92;
  letter-spacing: -.025em;
  font-weight: 500;
  text-wrap: balance;
}
.hero__lede { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(245,247,251,.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__dots {
  position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(120px, 16vh, 170px);
  display: flex; gap: 8px; list-style: none; margin: 0; padding: 0;
}
.hero__dots li { width: 28px; height: 2px; background: rgba(245,247,251,.35); transition: background-color .5s; }
.hero__dots li.is-active { background: var(--yema); }

/* entrada escalonada del hero cuando se abre la puerta */
.hero__content > * { opacity: 0; transform: translateY(24px); }
body.is-entered .hero__content > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.is-entered .hero__content > :nth-child(1) { transition-delay: .7s; }
body.is-entered .hero__content > :nth-child(2) { transition-delay: .85s; }
body.is-entered .hero__content > :nth-child(3) { transition-delay: 1.05s; }
body.is-entered .hero__content > :nth-child(4) { transition-delay: 1.2s; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- La casa ---------- */
.intro {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.intro__text .eyebrow { margin-bottom: 16px; }
.intro__text .display { margin-bottom: 26px; }
.intro__text > p { color: var(--muted); max-width: 560px; }
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  margin: 40px 0 0; border-top: 1px solid rgba(39,71,184,.2);
}
.facts div { padding: 18px 0; border-bottom: 1px solid rgba(39,71,184,.2); }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 28px; color: var(--talavera-deep); }
.intro__photo { margin: 0; position: relative; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 78%; border-radius: 220px 220px 0 0; }
.intro__photo::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px;
  background: url(assets/talavera.svg) 0 0 / 60px 60px;
  z-index: -1;
}

/* ---------- Espacios ---------- */
.spaces { background: var(--noche); color: var(--cal); padding: clamp(80px, 11vw, 140px) 0; }
.spaces__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.space { position: relative; border-radius: 6px; overflow: hidden; background: var(--noche-2); }
.space img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.space:hover img { transform: scale(1.05); }
.space__body {
  position: absolute; inset: auto 0 0; padding: 80px 24px 24px;
  background: linear-gradient(to top, rgba(15,23,51,.95), rgba(15,23,51,0));
}
.space h3 { font-family: var(--display); font-size: 30px; margin-bottom: 6px; }
.space p { font-size: 15px; color: rgba(245,247,251,.8); }
.space .space__cap { margin-top: 12px; color: var(--yema); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.spaces__grid .space:nth-child(2) { transform: translateY(48px); }
.spaces__grid .space:nth-child(2).reveal:not(.is-visible) { transform: translateY(76px); }

/* ---------- Una noche ---------- */
.night { padding: clamp(110px, 14vw, 180px) 0 clamp(70px, 10vw, 120px); }
.timeline {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 32px;
  border-top: 1.5px dashed rgba(39,71,184,.35);
}
.timeline li { position: relative; padding: 0 20px 0 0; }
.timeline time {
  display: inline-block; position: relative; z-index: 1;
  padding-right: 12px; background: var(--cal);
  font-family: var(--display); font-style: italic; font-size: 40px; line-height: 64px; color: var(--talavera);
}
.timeline h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 600; }
.timeline p { font-size: 15px; color: var(--muted); }

/* ---------- Galería ---------- */
.gallery { padding: clamp(50px, 8vw, 90px) 0 clamp(80px, 11vw, 140px); }
.gallery__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  columns: 3 280px; column-gap: 16px;
}
.shot {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0;
  background: none; cursor: zoom-in; overflow: hidden; border-radius: 4px;
  break-inside: avoid;
}
.shot img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.shot:hover img { transform: scale(1.04); filter: saturate(1.15); }

/* ---------- Cotizador ---------- */
.quote {
  max-width: var(--max); margin: 0 auto clamp(80px, 11vw, 140px); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
}
.quote__panel {
  background: var(--talavera-deep); color: var(--cal);
  padding: clamp(32px, 5vw, 60px);
  border-radius: 8px 0 0 8px;
}
.quote__panel header { margin-bottom: 34px; }
.quote__panel .eyebrow { margin-bottom: 12px; }
.quote__form { display: grid; gap: 28px; }
.quote__form fieldset { border: 0; margin: 0; padding: 0; }
.quote__form legend, .range > span, .select > span {
  display: flex; justify-content: space-between; width: 100%;
  margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,247,251,.75);
}
.range output { font-family: var(--display); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--yema); line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid rgba(245,247,251,.35);
  font-size: 15px; font-weight: 500; transition: all .25s;
}
.chips input:checked + span { background: var(--yema); border-color: var(--yema); color: var(--noche); }
.chips input:focus-visible + span { outline: 3px solid var(--yema); outline-offset: 3px; }
.range input { width: 100%; accent-color: var(--yema); height: 28px; }
.select select {
  width: 100%; min-height: 50px; padding: 0 16px;
  border-radius: 6px; border: 1.5px solid rgba(245,247,251,.35);
  background: var(--talavera-deep); color: var(--cal); font: 500 16px var(--body);
}
.quote__result {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: clamp(32px, 5vw, 60px);
  background: url(assets/talavera.svg) 0 0 / 80px 80px;
  border-radius: 0 8px 8px 0;
}
.quote__result > * { position: relative; }
.quote__result::before {
  content: ""; position: absolute; inset: 22px;
  background: var(--cal); border: 1.5px solid var(--talavera);
}
.quote__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote__total {
  font-family: var(--display); font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--talavera-deep);
  font-variant-numeric: lining-nums tabular-nums;
}
.quote__detail { color: var(--muted); margin-bottom: 16px; }
.quote__note { font-size: 13px; color: var(--muted); }

/* ---------- Paquetes ---------- */
.packages { padding: 0 0 clamp(80px, 11vw, 140px); }
.packages__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
}
.pkg {
  position: relative; padding: 36px 30px;
  background: #fff; border: 1px solid rgba(39,71,184,.18); border-radius: 8px;
}
.pkg h3 { font-family: var(--display); font-size: 34px; color: var(--talavera-deep); }
.pkg__price { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
.pkg__price span { font-family: var(--display); font-size: 40px; color: var(--tinta); margin-right: 4px; }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pkg li { position: relative; padding-left: 26px; font-size: 15px; }
.pkg li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px;
  background: var(--yema); transform: rotate(45deg);
}
.pkg--featured { background: var(--noche); color: var(--cal); border-color: var(--noche); }
.pkg--featured h3 { color: var(--yema); }
.pkg--featured .pkg__price, .pkg--featured .pkg__price span { color: var(--cal); }
.pkg__tag {
  position: absolute; top: -13px; left: 30px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--yema); color: var(--noche);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.promo {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 28px auto 0;
  padding: 16px 22px; border-left: 4px solid var(--yema);
  background: rgba(242,181,49,.14); font-weight: 500;
  width: calc(100% - 2 * var(--gutter));
}

/* ---------- Fechas ---------- */
.dates { background: var(--noche); color: var(--cal); padding: clamp(80px, 11vw, 140px) 0; }
.dates__lede { margin-top: 14px; color: rgba(245,247,251,.75); }
.dates__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  list-style: none;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.date {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; padding: 18px 16px; border-radius: 6px;
  border: 1.5px solid rgba(245,247,251,.18); background: transparent; color: inherit;
  font: inherit; text-align: left; text-decoration: none;
}
.date__month { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.date__day { font-family: var(--display); font-size: 40px; line-height: 1.05; }
.date__status { font-size: 13px; font-weight: 600; }
a.date { border-color: rgba(242,181,49,.6); cursor: pointer; transition: background-color .25s, transform .25s var(--ease); }
a.date .date__status { color: var(--yema); }
a.date:hover { background: var(--yema); color: var(--noche); transform: translateY(-3px); }
a.date:hover .date__status { color: var(--noche); }
.date--taken { opacity: .45; }
.date--taken .date__day { text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------- Ubicación ---------- */
.where {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.where__info .eyebrow { margin-bottom: 14px; }
.where__info .display { margin-bottom: 26px; }
.where address { font-style: normal; font-size: 18px; margin-bottom: 22px; }
.hours { margin: 0 0 30px; display: grid; gap: 8px; }
.hours div { display: flex; gap: 12px; flex-wrap: wrap; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.where__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.where__map {
  position: relative; aspect-ratio: 4 / 3;
  padding: 14px; background: url(assets/talavera.svg) 0 0 / 70px 70px; border-radius: 8px;
}
.where__map iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; background: #dfe4ef; }

/* ---------- Preguntas ---------- */
.faq { padding: 0 0 clamp(80px, 11vw, 140px); }
.faq__list { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.faq details { border-top: 1px solid rgba(39,71,184,.2); }
.faq details:last-child { border-bottom: 1px solid rgba(39,71,184,.2); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-size: 26px; line-height: 1; color: var(--talavera); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* ---------- Pie ---------- */
.footer { background: var(--noche); color: rgba(245,247,251,.75); text-align: center; padding: 0 var(--gutter) 150px; }
.footer__tile { height: 60px; margin: 0 calc(-1 * var(--gutter)) 56px; background: url(assets/talavera.svg) 0 0 / 60px 60px; }
.footer__name { font-family: var(--display); font-size: 36px; color: var(--cal); margin-bottom: 6px; }
.footer__links { display: flex; justify-content: center; gap: 24px; margin-top: 22px; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--yema); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 96px; z-index: 40;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px rgba(31,175,84,.45);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Capa de demostración ---------- */
.demo-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  max-width: 980px; margin: 0 auto;
  padding: 12px 12px 12px 22px; border-radius: 14px;
  background: #fff; color: var(--tinta);
  box-shadow: 0 18px 50px rgba(15,23,51,.28);
  font-size: 14px; line-height: 1.4;
  transform: translateY(160%); transition: transform .8s var(--ease) 1.8s;
}
body.is-entered .demo-bar { transform: none; }
.demo-bar__actions { display: flex; gap: 8px; flex: none; }
.demo-bar__short { display: none; }
.demo-bar__toggle, .demo-bar__cta {
  min-height: 42px; padding: 0 16px; border-radius: 10px;
  font: 600 14px var(--body); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.demo-bar__toggle { border: 1.5px solid #f56736; background: #fff; color: #ad3919; }
.demo-bar__toggle[aria-pressed="true"] { background: #f56736; color: #fff; }
.demo-bar__cta { background: #25231e; color: #fff; }

/* Marcas "Editable con Lola" */
[data-lola] { position: relative; }
body.show-lola [data-lola] { outline: 2px dashed #f56736; outline-offset: -6px; }
body.show-lola [data-lola]::before {
  content: "Lola edita: " attr(data-lola);
  position: absolute; top: 14px; left: 14px; z-index: 5;
  padding: 6px 12px; border-radius: 999px;
  background: #f56736; color: #fff;
  font: 600 12px/1.2 var(--body); letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(173,57,25,.35);
  pointer-events: none;
}
.hero[data-lola]::before { top: 96px; }

/* ---------- Visor de fotos ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: rgba(10,14,32,.94);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; border: 0; background: none; color: var(--cal);
  font-size: 44px; line-height: 1; cursor: pointer; padding: 16px;
}
.lightbox__close { top: 10px; right: 16px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox button:hover { color: var(--yema); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: calc(var(--gutter) + 44px); right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 1.5px dashed rgba(39,71,184,.35); }
  .timeline li { display: grid; grid-template-columns: 100px 1fr; column-gap: 20px; padding: 0; }
  .timeline time { grid-row: span 2; font-size: 32px; line-height: 1.2; padding: 0; }
  .timeline h3 { margin: 4px 0 4px; }
  .dates__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .intro, .where, .quote { grid-template-columns: 1fr; }
  .intro__photo { order: -1; max-width: 460px; }
  .spaces__grid, .packages__grid { grid-template-columns: 1fr; }
  .spaces__grid .space:nth-child(2), .spaces__grid .space:nth-child(2).reveal:not(.is-visible) { transform: none; }
  .space img { aspect-ratio: 4 / 3; }
  .quote__panel { border-radius: 8px 8px 0 0; }
  .quote__result { border-radius: 0 0 8px 8px; }
  .packages__grid { gap: 28px; }
  .dates__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__dots { display: none; }
}
@media (max-width: 600px) {
  .nav { gap: 12px; padding-inline: 16px; }
  .nav__brand { font-size: 18px; overflow: hidden; text-overflow: ellipsis; }
  .music__label { display: none; }
  .music { padding: 0 12px; }
  .nav .btn--wa { display: none; }
  .hero__ctas .btn { width: 100%; }
  .dates__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-bottom: 184px; }
  .gallery__grid { columns: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .demo-bar { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; font-size: 13px; }
  .demo-bar__text { text-align: center; }
  .demo-bar__long { display: none; }
  .demo-bar__short { display: inline; }
  .demo-bar__actions > * { flex: 1; justify-content: center; min-height: 38px; font-size: 13px; }
  .wa-float { bottom: 112px; right: 14px; width: 54px; height: 54px; }
  .footer { padding-bottom: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .hero__slide { transition: opacity 1s ease; transform: none; }
  .gate__door { transition: opacity .6s; }
  .gate.is-open .gate__door--left, .gate.is-open .gate__door--right { transform: none; opacity: 0; }
  .reveal, .hero__content > * { opacity: 1; transform: none; transition: none; }
}
