/* =========================================================
   Domotel Aysén — Landing
   Estilo inspirado en izaeats.com: display pesado en mayúsculas,
   fondo crema, un acento fuerte y secciones en bloques de color.
   ========================================================= */

:root {
  --cream: #f6f1e9;
  --sand: #eee6d9;
  --ink: #1d1c1a;
  --text: #4a463f;
  --muted: #7a746a;
  --line: #ddd3c4;
  --copper: #b4471e;
  --copper-dark: #933614;
  --forest: #2c3a31;
  --stone: #6f7568;
  --night: #121412;
  --white: #ffffff;
  --wa: #25d366;

  --f-display: "Dela Gothic One", "Arial Black", sans-serif;
  --f-body: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--copper); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Tipografía ---------- */
.kicker {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.kicker--light { color: #f2e9dc; }
.kicker__marks { color: var(--copper); letter-spacing: .05em; font-size: 10px; }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: .01em;
  color: var(--ink);
}
.h2--light { color: var(--cream); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn--accent:hover { background: var(--copper-dark); border-color: var(--copper-dark); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-dark { background: transparent; color: var(--copper); border-color: var(--copper); }
.btn--outline-dark:hover { background: var(--copper); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #0b2b17; border-color: var(--wa); }
.btn--whatsapp:hover { background: #1fbd59; border-color: #1fbd59; }
.btn--whatsapp .icon { width: 20px; height: 20px; }
.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--night); color: #efe8dc; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar__tagline { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: 12px; text-align: center; }
.topbar__dir { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* ---------- Header ---------- */
.header {
  position: absolute; top: 40px; left: 0; right: 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 22px 0;
}
.header.is-fixed {
  position: fixed; top: 0;
  background: rgba(18, 20, 18, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 12px 0;
  animation: header-in .35s var(--ease);
}
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }
.header__inner { display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo__mark {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--copper); color: var(--copper);
  display: grid; place-items: center; background: rgba(18,20,18,.25);
}
.logo__mark svg { width: 36px; height: 36px; }
.logo__text { font-family: var(--f-display); text-transform: uppercase; font-size: 18px; line-height: .95; letter-spacing: .02em; display: flex; flex-direction: column; }
.logo__text span { color: var(--copper); font-size: 14px; letter-spacing: .14em; margin-top: 3px; }
.header.is-fixed .logo__mark { width: 44px; height: 44px; }
.header.is-fixed .logo__mark svg { width: 30px; height: 30px; }

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav__list a {
  color: #fff; text-decoration: none; text-transform: uppercase;
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  padding: 6px 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.header__cta { padding: 12px 24px; }

.burger { display: none; width: 46px; height: 46px; background: transparent; border: 1.5px solid rgba(255,255,255,.6); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(640px, calc(100svh - 40px), 900px);
  display: flex; align-items: center;
  padding: 170px 0 150px;
  color: #fff; overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 60% 40%; animation: hero-zoom 18s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,16,14,.82) 0%, rgba(14,16,14,.55) 45%, rgba(14,16,14,.15) 100%),
    linear-gradient(180deg, rgba(14,16,14,.55) 0%, rgba(14,16,14,0) 30%, rgba(14,16,14,.35) 100%);
}
.hero__deco {
  position: absolute; z-index: -1;
  right: -4vw; top: 16%;
  width: min(54vw, 760px); height: auto;
  color: var(--copper); opacity: .38;
  mix-blend-mode: screen;
}
.hero__content { position: relative; }
.hero__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 104px); line-height: .98; letter-spacing: .005em;
  color: var(--cream); margin: 6px 0 26px;
  display: flex; flex-direction: column;
}
.hero__title .accent { color: var(--copper); -webkit-text-stroke: 0; }
.hero__lead { max-width: 520px; font-size: clamp(16px, 1.4vw, 18px); color: #ede6da; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__card {
  position: absolute; right: 0; bottom: 0;
  background: var(--copper); color: #fff;
  padding: 26px clamp(24px, 3vw, 44px) 28px;
  min-width: 340px; text-align: right;
}
.hero__card-title { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.hero__card li { display: flex; justify-content: flex-end; align-items: baseline; gap: 12px; font-size: 14px; line-height: 1.9; }
.hero__card strong { font-family: var(--f-display); font-weight: 400; font-size: 18px; order: 2; min-width: 78px; }
.hero__card span { opacity: .95; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); }
.section--stone { background: var(--stone); }
.section--tight-top { padding-top: 0; }
.section--strip { padding-bottom: clamp(56px, 6vw, 88px); }
.section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .kicker { justify-content: center; }

/* Historia */
.story {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-areas:
    "head body"
    "main side";
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 36px;
  align-items: start;
}
.story__head { grid-area: head; }
.story__body { grid-area: body; font-size: 15.5px; color: var(--text); }
.story__body .btn { margin-top: 10px; }
.story__img { overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__img:hover img { transform: scale(1.04); }
.story__img--main { grid-area: main; aspect-ratio: 4 / 3; }
.story__img--side { grid-area: side; aspect-ratio: 4 / 3.4; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.facts li { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts strong { font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--copper); line-height: 1.1; }
.facts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Tarjetas destacadas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.card { background: var(--cream); padding: 22px 22px 24px; display: flex; flex-direction: column; text-align: center; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; margin: 0 0 24px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 19px; margin-bottom: 10px; }
.card__text { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.card__tag { font-family: var(--f-display); text-transform: uppercase; font-size: 24px; color: var(--ink); line-height: 1; }

/* Tabs + ítems */
.tabs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 3vw, 44px); }
.tabs-head .section-head { margin-bottom: 0; max-width: 560px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  padding: 12px 22px; background: transparent; color: var(--copper);
  border: 1.5px solid rgba(180, 71, 30, .55);
  font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab:hover { background: rgba(180, 71, 30, .08); }
.tab.is-active { background: var(--copper); color: #fff; border-color: var(--copper); }

.panel { animation: fade-up .45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 26px; }
.item { background: var(--sand); padding: 22px 24px 20px; }
.item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.item h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; }
.item__top span { font-family: var(--f-display); font-size: 19px; color: var(--ink); white-space: nowrap; }
.item p { margin: 0; font-size: 14.5px; color: var(--text); }

/* Tira de fotos */
.strip { margin-top: clamp(40px, 5vw, 64px); overflow: hidden; }
.strip__track { display: flex; gap: 16px; width: max-content; animation: strip 60s linear infinite; padding-left: var(--gutter); }
.strip:hover .strip__track { animation-play-state: paused; }
.strip img { height: clamp(220px, 26vw, 340px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; }
@keyframes strip { to { transform: translateX(-50%); } }

/* Banda reservar */
.band { position: relative; isolation: isolate; padding-block: clamp(80px, 9vw, 120px); color: #f2ece2; overflow: hidden; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18,20,18,.9) 0%, rgba(18,20,18,.72) 55%, rgba(18,20,18,.5) 100%); }
.band__inner { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band__copy p { max-width: 480px; font-size: 16.5px; }
.band__copy .h2 { margin-bottom: 20px; }
.tinaja { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(242,236,226,.3); max-width: 480px; background: rgba(18,20,18,.35); }
.tinaja__icon { width: 44px; height: 44px; color: var(--copper); flex: none; }
.tinaja strong { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: #fff; font-size: 17px; }
.tinaja span { font-size: 14px; opacity: .9; }

.booking { background: var(--cream); color: var(--ink); padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.check { display: flex; align-items: center; gap: 10px; margin: 2px 0 18px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--copper); }
.booking__error { color: #a5281b; font-size: 14px; font-weight: 500; margin: -6px 0 14px; }
.booking__note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Galería */
.gallery { columns: 3; column-gap: 16px; }
.gallery__item {
  break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden;
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in;
}
.gallery__item img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.gallery__item::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px; text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }
.gallery__more { text-align: center; margin-top: 26px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq__aside .h2 { margin-bottom: 22px; }
.faq__img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 22px; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.acc { border-bottom: 1px solid var(--line); }
.acc h3 { font: inherit; }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px 18px; background: transparent; border: 0; text-align: left;
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  transition: background-color .25s, color .25s;
}
.acc__btn:hover { color: var(--copper); }
.acc.is-open .acc__btn { background: var(--copper); color: #fff; }
.acc__icon { width: 14px; height: 14px; position: relative; flex: none; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon::after { transform: rotate(0); }
.acc__panel { padding: 16px 18px 20px; font-size: 15px; }
.acc__panel p { margin: 0; }
.acc__panel a { color: var(--copper); font-weight: 700; }

/* Reseñas */
.section--stone { background: var(--stone) url("../img/banda-resenas.webp") center / cover no-repeat; isolation: isolate; }
.section--stone::before { content: ""; position: absolute; inset: 0; background: rgba(44, 58, 49, .9); z-index: -1; }
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--copper); color: #fff; }
.ratings__item { padding: 20px 26px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid rgba(255,255,255,.22); }
.ratings__item:last-child { border-right: 0; }
.ratings__brand { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.ratings__score { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.2; }
.ratings__score .stars { font-size: 15px; letter-spacing: .06em; color: #ffd27a; vertical-align: middle; }
.ratings__meta { font-size: 14px; }
.subscores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255,255,255,.14); margin-top: 1px; }
.subscores li { background: rgba(18,20,18,.35); padding: 14px 16px; display: flex; flex-direction: column; color: #efe8dc; }
.subscores strong { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: #fff; line-height: 1.2; }
.subscores span { font-size: 13px; }
.subscores em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }

.reviews { position: relative; margin-top: 26px; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--copper); color: #fff;
  padding: 20px 20px 18px; display: flex; flex-direction: column;
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--copper); font-family: var(--f-display); font-size: 17px; flex: none; }
.review__name { font-weight: 700; line-height: 1.25; display: block; }
.review__meta { font-size: 12.5px; opacity: .88; line-height: 1.3; }
.review__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__platform { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.55); padding: 3px 7px; white-space: nowrap; }
.review__stars { color: #ffd27a; letter-spacing: .08em; font-size: 14px; margin-bottom: 8px; }
.review__text { font-size: 14.5px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-expanded .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { margin-top: 10px; align-self: flex-start; background: none; border: 0; padding: 0; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.review__tr { font-size: 11px; opacity: .8; font-style: italic; }
.reviews__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); display: grid; place-items: center; padding-bottom: 3px;
  transition: transform .2s, opacity .2s;
}
.reviews__nav:hover { transform: translateY(-50%) scale(1.08); }
.reviews__nav[disabled] { opacity: 0; pointer-events: none; }
.reviews__nav--prev { left: -22px; }
.reviews__nav--next { right: -22px; }
.reviews__source { margin: 22px 0 0; font-size: 12.5px; color: rgba(239,232,220,.75); }

/* Ubicación */
.location { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.location__map { aspect-ratio: 4 / 3; background: var(--sand); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.12); }
.location__info .h2 { margin-bottom: 20px; }
.distances { margin: 6px 0 28px; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.distances strong { font-family: var(--f-display); font-weight: 400; color: var(--copper); white-space: nowrap; }

/* Footer */
.footer {
  background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: #d9d2c6; padding-top: clamp(56px, 6vw, 80px); font-size: 15px;
}
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.logo--lg .logo__mark { width: 84px; height: 84px; }
.logo--lg .logo__mark svg { width: 56px; height: 56px; }
.logo--lg .logo__text { font-size: 26px; }
.logo--lg .logo__text span { font-size: 18px; }
.footer__claim { font-family: var(--f-display); text-transform: uppercase; color: var(--cream); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.04; text-align: right; max-width: 620px; margin: 0; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: 40px 0 56px; }
.footer__col h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--cream); font-size: 19px; margin-bottom: 18px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__col--cta p { max-width: 380px; }
.footer__col--cta .btn { max-width: 380px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact .icon { color: var(--copper); width: 18px; height: 18px; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; background: var(--copper); color: #fff; display: grid; place-items: center; transition: background-color .25s; }
.social a:hover { background: var(--copper-dark); }
.social svg { width: 18px; height: 18px; }
.footer__bar { background: var(--copper); color: #fff; }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer__bar p { margin: 0; }
.footer__bar a { text-decoration: none; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float.is-visible:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,13,12,.95); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox__figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: min(1200px, 100%); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 24px; width: 100%; color: #e8e1d5; font-size: 14px; padding-top: 14px; }
.lightbox figcaption span:last-child { font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.lightbox__close, .lightbox__nav { position: absolute; background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; width: 50px; height: 50px; display: grid; place-items: center; font-size: 30px; line-height: 1; transition: background-color .2s, border-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--copper); border-color: var(--copper); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list { gap: 16px; }
  .nav__list a { font-size: 12px; }
  .reviews__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .subscores { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .topbar__tagline { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: var(--night);
    display: flex; flex-direction: column; justify-content: center; gap: 36px;
    padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
    margin: 0;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-family: var(--f-display); font-size: clamp(26px, 7vw, 38px); letter-spacing: .01em; font-weight: 400; display: inline-block; padding: 4px 0; }
  .nav__cta-mobile { display: inline-flex; align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }

  .hero { padding: 150px 0 0; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero__content { padding-bottom: 48px; }
  .hero__card { position: relative; min-width: 0; text-align: left; }
  .hero__card li { justify-content: flex-start; }
  .hero__card strong { order: 0; }
  .hero__deco { width: 90vw; right: -24vw; top: 30%; opacity: .25; }

  .story { grid-template-columns: 1fr; grid-template-areas: "head" "main" "body" "side"; }
  .story__img--side { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tabs-head { flex-direction: column; align-items: flex-start; }
  .band__inner { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .faq { grid-template-columns: 1fr; }
  .faq__img { display: none; }
  .faq__aside .btn { display: none; }
  .ratings { grid-template-columns: 1fr; }
  .ratings__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .ratings__item:last-child { border-bottom: 0; }
  .reviews__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .reviews__nav--prev { left: -8px; }
  .reviews__nav--next { right: -8px; }
  .location { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__claim { text-align: left; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__col--cta { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .topbar__inner { justify-content: center; }
  .logo__mark { width: 46px; height: 46px; }
  .logo__mark svg { width: 30px; height: 30px; }
  .logo__text { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts li { padding-right: 16px; margin-right: 16px; }
  .facts strong { font-size: 22px; }
  .items { grid-template-columns: 1fr; }
  .tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tab { padding: 11px 10px; font-size: 11.5px; }
  .tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .booking__row { grid-template-columns: 1fr; gap: 0; }
  .subscores { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-auto-columns: 86%; }
  .reviews__nav { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar-inner { flex-direction: column; justify-content: center; padding-block: 14px; text-align: center; letter-spacing: .08em; }
  .lightbox { padding: 60px 8px 72px; }
  .lightbox__nav { top: auto; bottom: 12px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .strip__track { animation: none; }
  .strip { overflow-x: auto; }
}

/* =========================================================
   Actualización nov 2026: tour 360°, tinaja, cómo llegar
   y animaciones
   ========================================================= */

/* Barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left; }

/* Hero: título línea por línea y domo que se dibuja */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; animation: line-up 1.1s var(--ease) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .25s; }
.hero__title .line:nth-child(2) > span { animation-delay: .4s; }
.hero__title .line:nth-child(3) > span { animation-delay: .55s; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.hero__kicker { animation: fade-up .9s .1s var(--ease) both; }
.hero__fade { animation: fade-up 1s .8s var(--ease) both; }
.hero__actions.hero__fade { animation-delay: .95s; }
.hero__card { animation: card-in 1s 1.1s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.hero__bg { will-change: transform; }
.hero__deco { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.6s .5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Variantes de aparición */
/* La cortina se aplica a la foto (no al contenedor observado), para que el observador de scroll la detecte */
.reveal--clip { opacity: 1; transform: none; }
.reveal--clip img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease) .1s !important; }
.reveal--clip.is-visible img { clip-path: inset(0 0 0 0); }
.reveal--zoom { transform: scale(.94); }
.stagger > .reveal { transition-delay: calc(var(--i, 0) * 110ms); }
[data-parallax] { transition: none !important; will-change: transform; }

/* Galería: entrada escalonada */
.gallery__item.is-in { animation: gal-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes gal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

#gallery-filters { gap: 8px; }
@media (min-width: 961px) { #gallery-filters { flex-wrap: nowrap; } #gallery-filters .tab { padding: 12px 16px; } }

/* ---------- Tour virtual 360° ---------- */
.tour__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.tour__head .section-head { margin: 0; }
.tour__lead { margin: 0; font-size: 16px; max-width: 520px; }
.tour__frame { position: relative; aspect-ratio: 16 / 9; max-height: 680px; width: 100%; overflow: hidden; background: var(--night); box-shadow: 0 30px 70px rgba(29, 28, 26, .22); }
.tour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .6s; }
.tour__frame:hover .tour__poster { transform: scale(1.08); }
.tour__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18,20,18,.25) 0%, rgba(18,20,18,.7) 100%); }
.tour__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: none; border: 0; color: #fff; width: 100%; }
.tour__ring { width: clamp(84px, 9vw, 112px); height: clamp(84px, 9vw, 112px); border-radius: 50%; background: var(--copper); display: grid; place-items: center; position: relative; box-shadow: 0 12px 34px rgba(0,0,0,.35); transition: transform .35s var(--ease), background-color .3s; }
.tour__ring::before, .tour__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--copper); animation: pulse 2.6s ease-out infinite; }
.tour__ring::after { animation-delay: 1.3s; }
.tour__ring svg { width: 52%; height: 52%; }
.tour__ring circle { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; }
.tour__ring path { fill: #fff; }
.tour__play:hover .tour__ring { transform: scale(1.08); background: var(--copper-dark); }
.tour__label { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.tour__badge { position: absolute; top: 18px; left: 18px; font-family: var(--f-display); font-size: 20px; color: #fff; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.7); background: rgba(18,20,18,.35); }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.tour__frame.is-live iframe { opacity: 1; }
.tour__frame.is-live .tour__poster, .tour__frame.is-live .tour__shade, .tour__frame.is-live .tour__play, .tour__frame.is-live .tour__badge { display: none; }
.tour__frame.is-loading .tour__ring svg { animation: spin 1s linear infinite; }
.tour__frame.is-loading .tour__label::after { content: "…"; }
@keyframes spin { to { transform: rotate(360deg); } }
.tour__note { margin: 14px 0 0; text-align: right; font-size: 13px; }
.tour__note a { color: var(--copper); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.tour__note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tinaja ---------- */
.section--night {
  background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: #d9d2c6; overflow: hidden;
}
.tinaja-sec__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.tinaja-sec__copy .h2 { margin-bottom: 22px; }
.tinaja-sec__copy > p { font-size: 16px; max-width: 500px; }
.tinaja-sec__steam { position: absolute; right: 4%; top: 24px; width: clamp(110px, 11vw, 170px); height: auto; fill: none; stroke: var(--copper); stroke-width: 2.2; stroke-linecap: round; opacity: .35; }
.tinaja-sec__steam path { stroke-dasharray: 60 260; animation: steam 4.5s linear infinite; }
.tinaja-sec__steam path:nth-child(2) { animation-delay: -1.5s; }
.tinaja-sec__steam path:nth-child(3) { animation-delay: -3s; }
@keyframes steam { from { stroke-dashoffset: 320; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }

.ficha { margin: 28px 0 30px; border-top: 1px solid rgba(242,236,226,.18); max-width: 520px; }
.ficha__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(242,236,226,.18); }
.ficha dt { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); padding-top: 3px; }
.ficha dd { margin: 0; color: var(--cream); font-size: 15px; }

.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: clamp(240px, 25vw, 360px) clamp(130px, 12vw, 180px); gap: 10px; }
.mini-gallery__item { position: relative; overflow: hidden; padding: 0; border: 0; background: #222; cursor: zoom-in; }
.mini-gallery__item--big { grid-column: 1 / -1; }
.mini-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.mini-gallery__item:hover img, .mini-gallery__item:focus-visible img { transform: scale(1.06); }
.mini-gallery__item::after { content: "+"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--copper); color: #fff; font-size: 22px; line-height: 1; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.mini-gallery__item:hover::after, .mini-gallery__item:focus-visible::after { opacity: 1; transform: none; }
.tinaja span a { color: #fff; font-weight: 700; }

/* ---------- Cómo llegar ---------- */
.aerial { position: relative; aspect-ratio: 21 / 9; overflow: hidden; margin-bottom: clamp(40px, 5vw, 72px); background: var(--sand); }
.aerial img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.aerial__tag { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 14px; background: var(--copper); color: #fff; padding: 16px 24px; font-size: 14px; }
.aerial__tag .icon { width: 22px; height: 22px; }
.aerial__tag strong { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 19px; line-height: 1.2; }
.location { grid-template-columns: 1fr 1.2fr; }
.location__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 22px; margin-bottom: 14px; }
.location__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.location__btns .icon { width: 18px; height: 18px; }

.routes { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route { background: var(--sand); padding: 24px 22px 22px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.route:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,28,26,.1); }
.route__num { font-family: var(--f-display); font-size: 34px; color: var(--copper); line-height: 1; display: block; margin-bottom: 14px; }
.route h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 17px; line-height: 1.2; margin-bottom: 6px; }
.route__meta { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; }
.route p:last-child { margin: 0; font-size: 14.5px; }
.route--sign { padding: 0; background: var(--ink); color: #e9e2d6; display: flex; flex-direction: column; }
.route--sign img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.route--sign > div { padding: 18px 20px 20px; }
.route--sign h3 { color: var(--cream); }

@media (max-width: 1100px) {
  .routes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .tour__head { grid-template-columns: 1fr; align-items: start; }
  .tour__frame { aspect-ratio: 4 / 5; max-height: 78svh; }
  .tour__note { text-align: left; }
  .tinaja-sec__grid { grid-template-columns: 1fr; }
  .aerial { aspect-ratio: 16 / 10; }
  .location { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .mini-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; gap: 8px; }
  .ficha__row { grid-template-columns: 96px 1fr; gap: 12px; }
  .routes { grid-template-columns: 1fr; }
  .aerial { aspect-ratio: 4 / 3; }
  .aerial__tag { padding: 12px 16px; }
  .aerial__tag strong { font-size: 16px; }
  .location__btns .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span, .hero__kicker, .hero__fade, .hero__card { animation: none; }
  .hero__deco { stroke-dasharray: none; animation: none; }
  .tinaja-sec__steam path { animation: none; stroke-dasharray: none; }
  .reveal--clip img { clip-path: none; }
  .reveal--zoom { transform: none; }
}
.no-js .reveal--clip img { clip-path: none; }

/* =========================================================
   Ambiente: texturas, marcos, frases, luciérnagas y mouse
   ========================================================= */
:root { --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.btn { transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), translate .45s var(--ease); }

/* ---------- Texturas de fondo ---------- */
.section--cream {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--deco { isolation: isolate; overflow: hidden; }
.section--deco > .container { position: relative; z-index: 1; }
.section--deco::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none;
  background: url("../img/topo.svg") center / 1200px auto repeat;
  opacity: .11;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 88% 18%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 55% 60% at 88% 18%, #000 10%, transparent 70%);
  animation: topo-drift 50s ease-in-out infinite alternate;
}
.section--deco::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(60vw, 760px); aspect-ratio: 1; left: -12%; bottom: -25%;
  background: radial-gradient(closest-side, rgba(180, 71, 30, .10), rgba(140, 154, 123, .06) 55%, transparent);
  border-radius: 50%; filter: blur(10px);
  animation: blob 28s ease-in-out infinite alternate;
}
#tour::before { -webkit-mask-image: radial-gradient(ellipse 50% 55% at 10% 15%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 50% 55% at 10% 15%, #000 10%, transparent 70%); }
#tour::after { left: auto; right: -15%; bottom: auto; top: -20%; }
#galeria::before { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 92% 85%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 50% 50% at 92% 85%, #000 10%, transparent 70%); }
#ubicacion::before { -webkit-mask-image: radial-gradient(ellipse 55% 50% at 8% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 55% 50% at 8% 10%, #000 10%, transparent 70%); }
#ubicacion::after { left: auto; right: -18%; bottom: 10%; }
@keyframes topo-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-60px, 30px, 0); } }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, -6vh) scale(1.12); } 100% { transform: translate(14vw, 4vh) scale(.95); } }

/* Helecho dibujado */
.deco-fern { position: absolute; z-index: 0; pointer-events: none; width: clamp(110px, 13vw, 210px); height: auto; opacity: .45; transform-origin: 50% 100%; animation: sway 8s ease-in-out infinite alternate; }
.deco-fern--story { right: 1.5%; bottom: -14px; }
@keyframes sway { from { rotate: -3deg; } to { rotate: 3.5deg; } }

/* ---------- Historia: marcos y frase ---------- */
.pullquote { margin: 6px 0 28px; padding: 4px 0 4px 22px; border-left: 2px solid var(--copper); }
.pullquote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.28; color: var(--ink); }
.story__img { overflow: visible; position: relative; }
.story__crop { width: 100%; height: 100%; overflow: hidden; }
.story__crop img { width: 100%; height: 100%; object-fit: cover; }
.frame-offset { position: relative; }
.frame-offset::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1.5px solid var(--copper); transform: translate(18px, 18px);
  transition: transform .7s var(--ease);
}
.frame-offset:hover::before { transform: translate(9px, 9px); }
.frame-offset--sm::before { transform: translate(12px, 12px); }
.faq__img.frame-offset { overflow: visible; }
.faq__img.frame-offset img { position: relative; }
.photo-tag { position: absolute; left: -14px; bottom: 26px; z-index: 2; background: var(--copper); color: #fff; font-family: var(--serif); font-style: italic; font-size: 21px; padding: 6px 18px 7px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.polaroid { background: #fff; padding: 12px 12px 0; box-shadow: 0 24px 50px rgba(29, 28, 26, .16); rotate: 2.5deg; margin-top: 34px; }
.story__img--side.polaroid { aspect-ratio: auto; }
.polaroid .story__crop { aspect-ratio: 4 / 4.1; height: auto; }
.polaroid figcaption { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); text-align: center; padding: 10px 0 13px; }

/* Tarjetas: paspartú */
.card__img { position: relative; }
.card__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.7); pointer-events: none; transition: inset .6s var(--ease); }
.card:hover .card__img::after { inset: 18px; }

/* Galería: marco interior al pasar el mouse */
.gallery__item::before { content: ""; position: absolute; inset: 12px; z-index: 1; border: 1px solid rgba(255,255,255,.75); opacity: 0; transform: scale(1.04); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.gallery__item:hover::before, .gallery__item:focus-visible::before { opacity: 1; transform: none; }

/* Tira de fotos tipo polaroid */
.strip { padding-block: 22px; }
.strip__track { gap: 26px; }
.strip img { background: #fff; padding: 10px 10px 34px; box-shadow: 0 16px 32px rgba(29, 28, 26, .14); transition: rotate .6s var(--ease), scale .6s var(--ease); }
.strip img:nth-child(odd) { rotate: -1.8deg; }
.strip img:nth-child(even) { rotate: 1.5deg; }
.strip img:hover { rotate: 0deg; scale: 1.04; }

/* ---------- Cerros entre secciones ---------- */
.section--night { overflow: visible; }
.footer { position: relative; }
.ridge { position: absolute; left: -24px; right: -24px; bottom: calc(100% - 1px); height: clamp(56px, 8vw, 120px); pointer-events: none; z-index: 2; color: var(--forest); }
.ridge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ridge path { fill: currentColor; }
.ridge__back { opacity: .22; }
.ridge__mid { opacity: .45; }
.ridge--night { color: var(--night); }

/* ---------- Luciérnagas y luz del mouse ---------- */
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .fireflies { z-index: -1; }
.section--forest > .container { position: relative; z-index: 1; }
[data-spotlight] { --mx: 50%; --my: 40%; }
@media (hover: hover) and (pointer: fine) {
  [data-spotlight]::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(560px circle at var(--mx) var(--my), rgba(255, 196, 128, .10), transparent 70%);
    opacity: 0; transition: opacity .8s;
  }
  [data-spotlight]:hover::after { opacity: 1; }
}

/* Indicador de scroll en la portada */
.scroll-cue { position: absolute; left: 50%; bottom: 30px; z-index: 1; width: 26px; height: 42px; translate: -50% 0; border: 1.5px solid rgba(255,255,255,.65); border-radius: 14px; animation: fade-up 1s 1.6s var(--ease) both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Banda "Respira" ---------- */
.calm { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(90px, 11vw, 160px); color: #f2ece2; }
.calm__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.calm__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(14,16,14,.9) 0%, rgba(14,16,14,.72) 50%, rgba(14,16,14,.5) 100%); }
.calm .fireflies { z-index: -1; }
.calm__inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.breath { width: clamp(200px, 22vw, 300px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.breath__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242,236,226,.35); animation: breathe 10s ease-in-out infinite; }
.breath__ring--2 { inset: -14%; border-color: rgba(214,120,70,.5); border-style: dashed; animation: breathe 10s ease-in-out infinite, spin 90s linear infinite; }
.breath__core {
  width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(222,132,80,.95), rgba(150,55,20,.92));
  box-shadow: 0 0 70px rgba(214,110,50,.45), inset 0 0 30px rgba(255,220,180,.25);
  animation: breathe 10s ease-in-out infinite;
}
.breath__word { grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.3vw, 32px); color: #fff; }
.breath__word--in { animation: word-in 10s ease-in-out infinite; }
.breath__word--out { animation: word-out 10s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.78); } 45%, 55% { transform: scale(1); } }
@keyframes word-in { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes word-out { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease); }
.quote.is-active { opacity: 1; transform: none; filter: none; }
.quote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.1; color: #fbf6ee; max-width: 760px; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #e0a47c; }
.quotes__dots { display: flex; gap: 10px; margin-top: 34px; }
.quotes__dots button { width: 28px; height: 19px; padding: 8px 0; border: 0; background: rgba(255,255,255,.3); background-clip: content-box; transition: width .5s var(--ease), background-color .5s; }
.quotes__dots button.is-active { width: 48px; background-color: var(--copper); }

/* ---------- Franja de palabras ---------- */
.marquee { overflow: hidden; background: var(--cream); padding-block: clamp(26px, 4vw, 50px); border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 80s linear infinite; }
.marquee__track > * { margin-right: clamp(22px, 3vw, 46px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(36px, 5.6vw, 82px); line-height: 1.1; color: var(--ink); white-space: nowrap; }
.marquee span.o { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--copper); }
.marquee i { font-style: normal; color: var(--copper); font-size: clamp(16px, 1.8vw, 26px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee + .section--tight-top { padding-top: var(--section); }

/* ---------- Cursor e inclinación ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s, background-color .4s; }
.cursor.is-on { opacity: .9; }
.cursor.is-hover { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(255,255,255,.14); }
[data-tilt] { position: relative; }
.tilt-ready { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) !important; transition: transform .8s var(--ease) !important; }
.tilt-ready.is-tilting { transition: transform .2s ease-out !important; }
@media (hover: hover) and (pointer: fine) {
  [data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%); opacity: 0; transition: opacity .5s; }
  [data-tilt].is-tilting::after { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .scroll-cue { display: none; }
  .calm__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .quote p { margin-inline: auto; }
  .quotes__dots { justify-content: center; }
  .calm .kicker { justify-content: center; }
  .photo-tag { left: 10px; bottom: 14px; font-size: 18px; }
  .frame-offset::before { transform: translate(10px, 10px); }
  .deco-fern { opacity: .3; }
}
@media (max-width: 600px) {
  .breath { width: 190px; }
  .deco-fern { width: 90px; }
  .strip img { padding: 7px 7px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .section--deco::before, .section--deco::after, .deco-fern, .breath__ring, .breath__core, .breath__word, .marquee__track, .scroll-cue span { animation: none !important; }
  .breath__word--out { opacity: 0; }
  .marquee { overflow-x: auto; }
}

/* Números animados dentro de los datos del domo */
.facts strong span { font-size: inherit; letter-spacing: inherit; text-transform: none; color: inherit; font-weight: inherit; }
#equipamiento::before { -webkit-mask-image: radial-gradient(ellipse 45% 50% at 6% 45%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 45% 50% at 6% 45%, #000 10%, transparent 70%); }
#equipamiento::after { left: auto; right: -20%; bottom: auto; top: 10%; }
.deco-fern--equipo { right: 3%; top: 70px; scale: -1 1; width: clamp(90px, 10vw, 160px); opacity: .35; }
.deco-fern--story { bottom: 60px; }
#equipamiento .strip { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .story__img--side.polaroid { display: block; width: min(78%, 360px); justify-self: center; margin-top: 8px; }
}
