/* ==========================================================================
   Comuna 3 Constelaciones — estilos
   Concepto: un cielo nocturno (Noche) sobre un barrio de colores.
   Un solo color de acción (Fucsia) para reservar. Una sola familia: Archivo,
   ancha y pesada en titulares (como letreros pintados), normal en el texto.
   ========================================================================== */

/* Archivo (SIL Open Font License), alojada en el propio sitio: sin terceros ni bloqueos. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2-variations"), url("../fonts/archivo-variable-latin.woff2") format("woff2");
}

:root {
  --noche: #211a4d;
  --noche-2: #2f2768;
  --cielo: #f4f3fa;
  --papel: #fcfbff;
  --fucsia: #b8125a;
  --fucsia-osc: #8f0c45;
  --estrella: #ffc233;
  --ladera: #0e6b57;
  --texto: #211a4d;
  --suave: #555074;
  --linea: #d9d6e8;
  --borde-campo: #8a84a6;
  --error: #b3261e;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 64px;
  --sticky-bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--papel);
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; margin: 0 0 .5em; line-height: 1.08; font-stretch: 118%; font-weight: 800; letter-spacing: -.012em; text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
code { font-size: .85em; }

:focus-visible {
  outline: 3px solid var(--noche);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--estrella);
  border-radius: 4px;
}
.section--night :focus-visible, .site-footer :focus-visible, .hero__plaque :focus-visible, .final-cta :focus-visible {
  outline-color: #fff;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--noche); color: #fff; padding: .75rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--flip { transform: scaleX(-1); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: 6px;
  font-weight: 700; font-stretch: 108%; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--fucsia); color: #fff; }
.btn--primary:hover { background: var(--fucsia-osc); }
.btn--primary:disabled { background: #b9b5cb; color: #3c3758; cursor: not-allowed; }
.btn--secondary { border-color: var(--noche); color: var(--noche); background: transparent; }
.btn--secondary:hover { background: var(--noche); color: #fff; }
.btn--ghost { padding-left: 0; padding-right: 0; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; min-height: 44px; }
.btn--ghost:hover { color: var(--fucsia); }
.btn--on-dark { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--noche); }
.btn--small { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: 1.5rem 0 0; }

/* ---------- Avisos de desarrollo (solo APP_ENV ≠ production) ---------- */
.dev-banner {
  background: repeating-linear-gradient(-45deg, #fff1c2 0 14px, #ffe8a0 14px 28px);
  color: #4a3600; font-size: .85rem; line-height: 1.4; padding: .55rem var(--gutter);
  border-bottom: 1px solid #e0c060;
}
.dev-note {
  display: flex; gap: .5rem; align-items: flex-start;
  margin: 1rem 0; padding: .6rem .8rem; max-width: 62ch;
  font-size: .85rem; line-height: 1.45; color: #4a3600;
  background: #fff8e0; border: 1.5px dashed #b98f00; border-radius: 4px;
}
.dev-note .icon { width: 1.1em; height: 1.1em; margin-top: .1em; }
.badge-example {
  display: inline-block; vertical-align: .1em; margin-left: .35rem; padding: .05rem .45rem;
  font-size: .72rem; font-weight: 700; font-stretch: 100%; line-height: 1.5; letter-spacing: .01em;
  color: #4a3600; background: #ffe7a3; border: 1px solid #c99a00; border-radius: 999px; white-space: nowrap;
}

/* ---------- Espacios de imagen ---------- */
.img-slot { display: block; width: 100%; overflow: hidden; background: #e4e1f0; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot--pending {
  position: relative; display: flex; align-items: flex-end;
  background: repeating-linear-gradient(135deg, #e7e4f2 0 10px, #dfdbee 10px 20px);
  border: 2px dashed #a49ec0;
}
.img-slot__label {
  display: block; margin: .75rem; padding: .5rem .65rem; max-width: 36ch;
  font-size: .8rem; line-height: 1.35; color: var(--noche); background: rgba(255,255,255,.88); border-radius: 4px;
}
.img-slot__label strong { display: block; }
.img-slot__label code { display: block; margin-top: .25rem; color: var(--suave); }
/* Producción sin foto: composición gráfica de constelación, nunca un archivo roto. */
.img-slot--pattern {
  background-color: var(--noche);
  background-image:
    radial-gradient(circle at 18% 30%, var(--estrella) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 42% 18%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 66% 40%, var(--estrella) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 22%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 30% 72%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 74% 78%, var(--estrella) 0 2px, transparent 3px),
    linear-gradient(160deg, var(--noche) 40%, var(--noche-2));
}
.media-note { margin: .5rem 0 0; font-size: .85rem; color: var(--suave); }
.media-note--on-dark { color: #cfcbe6; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--papel);
  border-bottom: 1px solid var(--linea);
}
/* Sin backdrop-filter: haría que el menú móvil (position: fixed) quedara encerrado en el encabezado. */
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; }
.brand__mark path { fill: none; stroke: var(--noche); stroke-width: 1.6; }
.brand__mark circle { fill: var(--estrella); stroke: var(--noche); stroke-width: 1.2; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__small { font-size: .72rem; font-weight: 600; color: var(--suave); margin-bottom: .2rem; }
.brand__name { font-size: 1.12rem; font-weight: 800; font-stretch: 122%; letter-spacing: -.01em; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; }
.nav__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; text-decoration-color: var(--fucsia); }
.nav__lang { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.nav__lang-short { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -8px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

@media (max-width: 1179px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    display: none; position: fixed; top: var(--nav-top, var(--header-h)); right: 0; bottom: 0; left: 0; z-index: 49;
    background: var(--papel); padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .js .menu-open .nav { display: block; }
  .nav__list { display: grid; gap: .25rem; margin-bottom: 1.5rem; }
  .nav__list a { display: block; padding: .7rem 0; font-size: 1.5rem; font-weight: 800; font-stretch: 115%; border-bottom: 1px solid var(--linea); }
  .nav__lang { min-height: 48px; font-size: 1.1rem; }
  .menu-open { overflow: hidden; }
  .menu-open .chat-fab { display: none; }
  .site-header__book { padding: .45rem .85rem; }
}
@media (max-width: 380px) {
  .brand__small { display: none; }
  .brand__name { font-size: 1rem; }
}
@media (min-width: 1180px) {
  .nav { display: flex; align-items: center; gap: 1.75rem; }
  .nav__list { display: flex; gap: 1.5rem; }
  .nav__list a { font-weight: 600; padding: .5rem 0; white-space: nowrap; }
  .nav__mobile-only { display: none; }
  .nav__lang { padding: .4rem .6rem; border: 1px solid var(--linea); border-radius: 999px; font-size: .9rem; }
  .nav__lang-full { display: none; }
  .nav__lang-short { display: inline; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--cielo); }
.section--night { background: var(--noche); color: #fff; }
.section__title { font-size: clamp(1.75rem, 4.4vw, 3rem); max-width: 22ch; }
.section__title--sm { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section__intro { max-width: 58ch; color: var(--suave); font-size: 1.125rem; margin-bottom: 2.25rem; }
.section--night .section__intro { color: #d6d2ec; }
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; } }
.prose { max-width: 65ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.small-note { display: flex; gap: .45rem; align-items: flex-start; font-size: .9rem; color: var(--suave); }
.small-note .icon { margin-top: .15em; width: 1.1em; height: 1.1em; }
.callout { display: flex; gap: .6rem; padding: 1rem 1.1rem; background: var(--cielo); border-left: 4px solid var(--ladera); }
.callout--on-dark { background: rgba(255,255,255,.08); border-left-color: var(--estrella); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .6rem; }
.check-list .icon { color: var(--ladera); margin-top: .2em; }

.page-head { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-head__title { font-size: clamp(1.85rem, 7vw, 4.25rem); max-width: 18ch; font-stretch: 125%; }
.page-head__intro { max-width: 58ch; font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--suave); }
.section--night .page-head__intro { color: #d6d2ec; }

/* ---------- Inicio: portada ---------- */
.hero { position: relative; background: var(--noche); }
.hero__media { height: 40vh; min-height: 240px; max-height: 480px; }
.hero__media .img-slot { height: 100%; }
.hero__plaque {
  position: relative; z-index: 1;
  margin: -2.5rem var(--gutter) 0; padding: 1.5rem 1.25rem 1.75rem;
  background: var(--noche); color: #fff;
}
.hero__constellation { width: 150px; margin: -.5rem 0 .5rem -.25rem; }
@media (min-width: 960px) { .hero__constellation { width: 190px; margin-bottom: .75rem; } }
.hero__title { font-size: clamp(2.1rem, 8.2vw, 4.4rem); font-stretch: 125%; font-weight: 850; line-height: 1; max-width: 15ch; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #e2dff3; max-width: 46ch; margin-bottom: 0; }
.hero__virtual {
  display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.25rem;
  color: var(--estrella); font-weight: 600; min-height: 44px;
}
.hero__rating { margin-top: .75rem; min-height: 44px; }
.hero__rating .dev-note { margin: .25rem 0 0; }
.hero .img-slot--pending { align-items: flex-start; justify-content: flex-end; }
.hero__rating .link-arrow { color: #fff; }
.dev-note--on-dark { color: #3d2d00; }
@media (min-width: 960px) {
  .hero { display: grid; grid-template-areas: "stack"; background: none; }
  .hero__media, .hero__plaque { grid-area: stack; }
  .hero__media { height: auto; min-height: min(86vh, 820px); max-height: none; }
  .hero__plaque {
    align-self: end; justify-self: start;
    margin: 4.5rem 0 -2.5rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    width: min(600px, 50vw); padding: 2.25rem 2.5rem 2rem;
  }
  .hero__title { font-size: clamp(2.6rem, 4.6vw, 3.9rem); }
  .hero + .section, .hero + section { padding-top: calc(clamp(3.5rem, 8vw, 6.5rem) + 3rem); }
}

/* Constelación: único movimiento automático de la página */
.constellation__line { fill: none; stroke: var(--estrella); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.constellation__star { fill: var(--estrella); }
@media (prefers-reduced-motion: no-preference) {
  .hero__constellation .constellation__line { stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .2s forwards; }
  .hero__constellation .constellation__star { opacity: 0; transform-box: fill-box; transform-origin: center; animation: twinkle .5s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .18s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes twinkle { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

.reviews-block .rating { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .4rem; }
.icon--star { color: var(--estrella); fill: var(--estrella); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; min-height: 44px; }
.link-arrow .icon { width: 1em; height: 1em; }

/* ---------- Recorridos ---------- */
.tour-list { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.tour-row { display: grid; gap: 1.25rem; }
.tour-row__media { display: block; }
.tour-row__media .img-slot { transition: filter .2s; }
.tour-row__media:hover .img-slot { filter: saturate(1.15); }
.tour-row__mode {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .6rem;
  font-weight: 700; font-size: .95rem; color: var(--fucsia);
}
.tour-row--virtual .tour-row__mode, .tour-detail--virtual .tour-row__mode { color: var(--ladera); }
.tour-row__title { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
.tour-row__title a { text-decoration: none; }
.tour-row__title a:hover { text-decoration: underline; }
.tour-row__summary { color: var(--suave); max-width: 50ch; }
@media (min-width: 900px) {
  .tour-row { grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: center; }
  .tour-row--flip .tour-row__media { order: 2; }
}

.facts { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.facts li { display: flex; align-items: center; gap: .45rem; font-size: .97rem; }
.facts .icon { color: var(--suave); }
.price { font-size: 1.05rem; margin: 0; }
.price strong { font-size: 1.5rem; font-stretch: 112%; font-weight: 800; }
.price__per { color: var(--suave); }
.price--consult { font-weight: 700; color: var(--noche); }

/* Detalle */
.tour-hero { display: grid; }
.tour-hero__body { padding: 1.75rem var(--gutter) 0; }
.crumb { font-size: .95rem; margin-bottom: 1.25rem; }
.tour-hero__title { font-size: clamp(2rem, 5.5vw, 3.5rem); font-stretch: 125%; max-width: 18ch; }
.tour-hero__summary { font-size: 1.15rem; color: var(--suave); max-width: 46ch; }
.tour-hero .small-note { margin-top: 1rem; }
@media (min-width: 960px) {
  .tour-hero { grid-template-columns: 6fr 5fr; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 2.5rem var(--gutter) 0; gap: 3.5rem; }
  .tour-hero__body { padding: 0; }
}
.tour-body { display: grid; gap: 3rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
@media (min-width: 960px) { .tour-body { grid-template-columns: 7fr 4fr; gap: 5rem; } }
.tour-body__practical h2 { font-size: 1.4rem; }
.practical { margin: 0; border-top: 2px solid var(--noche); }
.practical__row { padding: .9rem 0; border-bottom: 1px solid var(--linea); }
.practical dt { font-weight: 700; }
.practical dd { margin: .2rem 0 0; color: var(--suave); }
.practical dd ul { margin: .2rem 0 0; padding-left: 1.1rem; }
.practical__pending { font-style: italic; }
.consult-box { margin: 2rem 0; padding: 1.5rem; background: var(--cielo); border-top: 4px solid var(--fucsia); }
.consult-box h2 { font-size: 1.4rem; margin-top: 0; }

.sticky-book { display: none; }
@media (max-width: 959px) {
  .has-sticky-bar .sticky-book {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: var(--papel); border-top: 1px solid var(--linea);
    box-shadow: 0 -6px 20px rgba(33,26,77,.08);
  }
  .sticky-book .price strong { font-size: 1.1rem; }
  .sticky-book .price { font-size: .85rem; line-height: 1.3; }
  .sticky-book .badge-example { display: none; }
  .has-sticky-bar .site-footer { padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
}

/* ---------- Historia ---------- */
.story-teaser__grid { display: grid; gap: 2.5rem; }
.story-teaser__quote { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.45; font-weight: 500; max-width: 34ch; }
.story-teaser__media { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: end; }
.story-teaser__img2 { margin-bottom: 2.5rem; }
@media (min-width: 900px) { .story-teaser__grid { grid-template-columns: 5fr 6fr; gap: 4.5rem; align-items: center; } }
.story { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .story { grid-template-columns: 6fr 5fr; gap: 4.5rem; } }

/* ---------- Galería ---------- */
.gallery { columns: 2; column-gap: .75rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 1.25rem; } }
.gallery__item { break-inside: avoid; margin: 0 0 .75rem; }
@media (min-width: 900px) { .gallery__item { margin-bottom: 1.25rem; } }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__cat { font-size: .82rem; color: var(--suave); margin-top: .35rem; }
.gallery--home .gallery__item:first-child .img-slot { aspect-ratio: 4/5 !important; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters button {
  min-height: 44px; padding: .4rem 1rem; border: 1.5px solid var(--borde-campo); border-radius: 999px;
  background: transparent; cursor: pointer; font-weight: 600;
}
.filters button[aria-pressed="true"] { background: var(--noche); border-color: var(--noche); color: #fff; }
.ig-inline { margin-top: 3rem; }

.lightbox { padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: rgba(20,16,48,.96); color: #fff; }
.lightbox::backdrop { background: rgba(20,16,48,.8); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); }
.lightbox__close { justify-self: end; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox__figure { margin: 0; display: grid; place-items: center; min-height: 0; gap: .75rem; }
.lightbox__figure img { max-height: 72vh; width: auto; object-fit: contain; }
.lightbox__placeholder { width: min(90vw, 640px); aspect-ratio: 3/2; display: grid; place-items: center; padding: 1rem; text-align: center; border: 2px dashed #8a84a6; color: #d6d2ec; }
.lightbox__nav { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
.lightbox__nav button { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.lightbox__counter { margin: 0; min-width: 5em; text-align: center; }

/* ---------- Recorrido virtual ---------- */
.virtual-teaser__grid { display: grid; gap: 2rem; }
.virtual-hero { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.virtual-hero__grid { display: grid; gap: 2.5rem; }
.virtual-hero__media { margin: 0; }
@media (min-width: 960px) { .virtual-hero__grid { grid-template-columns: 6fr 5fr; align-items: center; gap: 4rem; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps__item { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps__item::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem;
  font-size: 2.4rem; font-weight: 850; font-stretch: 125%; line-height: 1; color: var(--fucsia);
}
.section--night .steps__item::before { color: var(--estrella); }
.steps__title { font-size: 1.2rem; font-stretch: 110%; margin-bottom: .3rem; }
.steps__item p { margin: 0; color: var(--suave); }
.section--night .steps__item p { color: #d6d2ec; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 3rem; } }
@media (min-width: 1100px) { .steps:not(.steps--compact) { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Guías, Instagram, preguntas, ubicación ---------- */
.guide-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.guide__name { font-size: 1.2rem; margin-top: .75rem; }
.guide__langs { color: var(--suave); font-size: .95rem; }
.guides__community { max-width: 62ch; margin-top: 1.5rem; }
.ig-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 1.5rem; min-height: 200px; }
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 4rem; } }
.faq { border-top: 2px solid var(--noche); }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: .9rem 0; cursor: pointer; font-weight: 700; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .2s; transform: rotate(90deg); }
.faq__item[open] .faq__chev { transform: rotate(-90deg); }
.faq__answer { padding: 0 0 1rem; color: var(--suave); max-width: 62ch; }
.where__area { display: flex; gap: .5rem; align-items: center; font-size: 1.3rem; font-weight: 700; }
.where__area .icon { color: var(--fucsia); }

/* ---------- Invitación final ---------- */
.final-cta { background: var(--noche); color: #fff; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.final-cta__constellation { width: 220px; margin-bottom: 1.5rem; }
.final-cta__title { font-size: clamp(2rem, 6vw, 3.75rem); font-stretch: 125%; max-width: 16ch; }
.final-cta p { color: #d6d2ec; font-size: 1.15rem; max-width: 46ch; }

/* ---------- Contacto, reserva ---------- */
.contact { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact__card { padding: 1.75rem; background: var(--cielo); }
.contact__card p { display: flex; gap: .5rem; align-items: center; }

.booking { max-width: 820px; }
.demo-banner {
  display: flex; gap: .6rem; align-items: flex-start; padding: 1rem 1.1rem; margin-bottom: 2rem;
  background: #fff8e0; border: 2px dashed #b98f00; color: #4a3600; font-size: .95rem;
}
.booking-step { border: 0; padding: 0; margin: 0 0 2.5rem; min-width: 0; }
.booking-step > legend {
  display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: 1.25rem;
  font-size: 1.35rem; font-weight: 800; font-stretch: 115%;
}
.booking-step__n {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--noche); color: #fff; font-size: 1rem;
}
.tour-options { display: grid; gap: .75rem; }
@media (min-width: 700px) { .tour-options { grid-template-columns: 1fr 1fr; } }
.tour-option { position: relative; display: block; cursor: pointer; }
.tour-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tour-option__body {
  display: grid; gap: .35rem; height: 100%; padding: 1.1rem 1.2rem;
  border: 2px solid var(--linea); border-radius: 8px; background: #fff;
}
.tour-option input:checked + .tour-option__body { border-color: var(--fucsia); box-shadow: inset 0 0 0 1px var(--fucsia); background: #fff6fa; }
.tour-option input:focus-visible + .tour-option__body { outline: 3px solid var(--noche); outline-offset: 2px; box-shadow: 0 0 0 6px var(--estrella); }
.tour-option__mode { display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--suave); }
.tour-option__title { font-weight: 700; line-height: 1.3; }
.tour-option .price strong { font-size: 1.1rem; }

.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field label, .field__legend { display: block; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: .65rem .8rem;
  border: 2px solid var(--borde-campo); border-radius: 6px; background: #fff;
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__help { margin: .35rem 0 0; font-size: .9rem; color: var(--suave); }
.field__help:empty { display: none; }
.field__error { margin: .35rem 0 0; font-size: .92rem; font-weight: 600; color: var(--error); }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
[data-date-msg]:not(:empty) { color: var(--noche); font-weight: 600; background: var(--cielo); padding: .5rem .7rem; border-left: 3px solid var(--estrella); }
.time-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.time-chip { position: relative; }
.time-chip input { position: absolute; opacity: 0; inset: 0; }
.time-chip span {
  display: inline-grid; place-items: center; min-width: 88px; min-height: 48px; padding: 0 1rem;
  border: 2px solid var(--borde-campo); border-radius: 999px; font-weight: 700; cursor: pointer;
}
.time-chip input:checked + span { background: var(--noche); border-color: var(--noche); color: #fff; }
.time-chip input:focus-visible + span { outline: 3px solid var(--noche); outline-offset: 2px; box-shadow: 0 0 0 6px var(--estrella); }
.error-summary { margin-bottom: 2rem; padding: 1rem 1.2rem; border: 2px solid var(--error); border-radius: 6px; }
.error-summary h2 { font-size: 1.15rem; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 1.1rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.summary:focus { outline: none; }
.summary__list { margin: 0 0 1.5rem; border-top: 2px solid var(--noche); }
.summary__list > div { display: grid; gap: .15rem; padding: .85rem 0; border-bottom: 1px solid var(--linea); }
@media (min-width: 600px) { .summary__list > div { grid-template-columns: 220px 1fr; gap: 1rem; } }
.summary__list dt { font-weight: 700; }
.summary__list dd { margin: 0; }
.summary__total dd strong { font-size: 1.4rem; font-stretch: 112%; }
.notfound__constellation { width: 200px; margin-bottom: 2rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--noche); color: #e2dff3; padding: 3.5rem 0 calc(6rem + env(safe-area-inset-bottom)); font-size: .97rem; }
.site-footer__inner { display: grid; gap: 2.25rem; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__name { font-size: 1.3rem; font-weight: 800; font-stretch: 122%; color: #fff; margin-bottom: .25rem; }
.site-footer__secondary { font-weight: 600; color: var(--estrella); }
.site-footer__title { font-size: 1rem; font-stretch: 100%; color: #fff; margin-bottom: .75rem; }
.site-footer__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .2rem; }
.site-footer__list a { display: inline-block; padding: .3rem 0; }
.site-footer__small { font-size: .85rem; color: #bdb8d8; }
.site-footer__copy { max-width: var(--wrap); margin: 2.5rem auto 0; padding: 1.5rem var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #bdb8d8; }

/* ---------- Chat flotante ---------- */
.chat-fab {
  position: fixed; z-index: 45;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom) + var(--sticky-bar-h));
}
.chat-fab__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ladera); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 6px 18px rgba(14,107,87,.35);
}
.chat-fab__btn .icon { width: 26px; height: 26px; }
.chat-fab__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-fab__dev {
  position: absolute; top: -8px; right: -6px; padding: 0 .35rem;
  font-size: .65rem; font-weight: 700; line-height: 1.6; background: #ffe7a3; color: #4a3600; border: 1px solid #c99a00; border-radius: 999px;
}
@media (min-width: 960px) {
  .chat-fab__btn { width: auto; height: 52px; padding: 0 1.25rem 0 1rem; border-radius: 999px; }
  .chat-fab__text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.gallery .img-slot__label { margin: .4rem; padding: .35rem .45rem; font-size: .72rem; }
.gallery .img-slot__label code { display: none; }
.hero-dev { padding-top: 3.5rem; }
.hero-dev + .section { padding-top: 1rem; }
@media (min-width: 960px) { .hero-dev { padding-top: 5rem; } }
.other-times { margin: .75rem 0 0; font-size: .95rem; }

/* ---------- Portada rotativa del macromural ---------- */
.hero__media { position: relative; overflow: hidden; background: var(--noche-2); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-slide picture { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__credit { position: absolute; right: .75rem; bottom: .5rem; font-size: .75rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (min-width: 960px) { .hero-slide__credit { bottom: .75rem; } }
.hero-controls {
  position: absolute; z-index: 2; top: .75rem; right: max(.75rem, env(safe-area-inset-right));
  display: flex; align-items: center; gap: .15rem; padding: .2rem .35rem;
  background: rgba(33,26,77,.72); border-radius: 999px;
}
.hero-controls button { display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; }
.hero-controls__toggle { width: 40px; height: 40px; }
.hero-controls__toggle .icon { width: 18px; height: 18px; }
.hero-controls__toggle .icon--play { display: none; }
.hero-controls__toggle[aria-pressed="true"] .icon--play { display: block; }
.hero-controls__toggle[aria-pressed="true"] .icon--pause { display: none; }
.hero-controls__dot { width: 26px; height: 40px; }
.hero-controls__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; }
.hero-controls__dot[aria-current="true"]::before { background: var(--estrella); border-color: var(--estrella); }
@media (min-width: 960px) { .hero-controls { top: 1.25rem; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); } }
.img-slot--illustration { position: relative; }
.img-slot__tag {
  position: absolute; left: .5rem; top: .5rem; z-index: 1; padding: .15rem .5rem; max-width: calc(100% - 1rem);
  font-size: .7rem; line-height: 1.5; color: #4a3600; background: #ffe7a3; border: 1px solid #c99a00; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.img-slot__tag code { font-size: 1em; }
.hero-slide .img-slot__tag { top: auto; bottom: 3.25rem; left: .75rem; }
@media (min-width: 960px) { .hero-slide .img-slot__tag { bottom: auto; top: 1.25rem; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); } }

/* ---------- Murales ---------- */
.murals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .murals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.murals .gallery__item { margin: 0; }
.murals .gallery__cat { font-weight: 600; color: var(--texto); }

/* ---------- Emprendimientos ---------- */
.biz-list { display: grid; gap: 2.5rem; margin-bottom: 2rem; }
@media (min-width: 760px) { .biz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .biz-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.biz__body { padding-top: 1rem; }
.biz__cat { margin: 0 0 .25rem; font-size: .9rem; font-weight: 700; color: var(--ladera); }
.biz__name { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .4rem; }
.biz__links { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.biz__links a { display: inline-block; padding: .4rem 0; font-weight: 600; }
.biz-more { margin-top: 1rem; }

/* ---------- Operador ---------- */
.operator { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linea); }
.operator__logo { height: 56px; width: auto; }
.operator__wordmark { display: inline-flex; align-items: center; height: auto; font-size: 1.35rem; font-weight: 850; font-stretch: 125%; color: var(--noche); letter-spacing: -.01em; }
.operator__text { margin: 0; flex: 1 1 22rem; min-width: 0; max-width: 56ch; }
.operator .dev-note { flex-basis: 100%; margin: 0; }
.operator--large { border-top: 0; padding-top: 0; margin-top: 0; }
.operator--large .operator__text { font-size: 1.15rem; }
.site-footer__operator { display: grid; gap: .5rem; margin-top: 1.25rem; font-size: .9rem; }
.site-footer__operator .operator__wordmark { color: #fff; font-size: 1.1rem; }
.site-footer__operator .operator__logo { height: 48px; }
.site-footer__operator p { margin: 0; color: #d6d2ec; }
.operated-by { font-weight: 600; color: var(--texto); }
.operated-by .icon { color: var(--ladera); }
