/* ==========================================================================
   Cabañas Del Alto — estilos
   Mobile-first. Paleta serrana: crema, terracota, verde monte.
   ========================================================================== */

:root {
  --bg: #f3ece0;
  --bg-2: #e9dfcd;
  --paper: #fbf8f2;
  --ink: #1f1b16;
  --ink-soft: #3b342b;
  --ink-mute: #6f6557;
  --accent: #b4552f;        /* terracota */
  --accent-deep: #8f3f1f;
  --moss: #3f5a3c;          /* verde monte */
  --moss-soft: #dfe5d3;
  --wa: #1f8f4e;
  --line: rgba(31, 27, 22, 0.12);
  --shadow: 0 1px 2px rgba(31, 27, 22, .06), 0 12px 32px -12px rgba(60, 40, 20, .22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 72px; }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2 em, .hero-title em, .nav-brand em, .footer-brand em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--accent);
}
.eyebrow {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--moss); font-weight: 600; margin: 0 0 14px;
}
.lead { font-size: 1.06rem; color: var(--ink-soft); margin: 0 0 24px; max-width: 34em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border: 0; border-radius: 999px; text-decoration: none; font-weight: 600;
  padding: 13px 22px; font-size: .95rem; line-height: 1.15;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 85, 47, .7); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 143, 78, .8); }
.btn-wa:hover { background: #17753f; transform: translateY(-2px); }
.btn-note {
  display: block; font-size: .7rem; font-weight: 500; opacity: .85; letter-spacing: .02em;
}
.hero-actions .btn-primary { flex-wrap: wrap; text-align: center; }
.hero-actions .btn-primary .btn-note { flex-basis: 100%; order: 3; margin-top: -2px; }

.chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 9px 16px; font-size: .88rem; font-weight: 500; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-sm { padding: 6px 12px; font-size: .8rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  color: #fff;
  transition: background-color .4s, color .4s, box-shadow .4s, padding .4s var(--ease);
}
.nav.is-solid {
  background: rgba(243, 236, 224, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.01em;
}
.nav-brand em { color: inherit; }
.nav.is-solid .nav-brand em { color: var(--accent); }
.nav-logo {
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .35);
  transition: width .4s var(--ease), height .4s var(--ease);
}
.nav.is-solid .nav-logo { width: 38px; height: 38px; box-shadow: 0 0 0 1px var(--line); }
.nav-links { display: none; gap: 28px; font-size: .9rem; }
.nav-links a { text-decoration: none; opacity: .85; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: 96px;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img {
  object-fit: cover; object-position: 50% 60%;
  animation: kenburns 22s var(--ease) both;
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, .45) 0%, rgba(20, 16, 12, 0) 26%),
    linear-gradient(0deg, rgba(20, 16, 12, .88) 0%, rgba(20, 16, 12, .35) 48%, rgba(20, 16, 12, 0) 72%);
}
.hero-content { padding: 0 var(--gutter) calc(56px + env(safe-area-inset-bottom)); width: 100%; max-width: 1180px; margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--serif); font-weight: 350;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(2.9rem, 13vw, 6.4rem); line-height: .96; letter-spacing: -.03em;
  margin: 0 0 18px;
}
.hero-title em { color: #f1b58f; }
.hero-sub { font-size: 1.05rem; max-width: 32em; margin: 0 0 28px; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-score { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hero-score strong { display: block; font-size: .95rem; }
.hero-score small { display: block; font-size: .78rem; opacity: .8; }
.score-chip {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 12px 12px 12px 3px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 1.05rem;
}
.hero-in { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; animation-delay: calc(.25s + var(--d) * .12s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-scroll { display: none; }

/* ---------- Beneficios ---------- */
.perks { position: relative; z-index: 2; margin-top: -26px; padding: 0 var(--gutter); }
.perks-list {
  list-style: none; margin: 0 auto; padding: 8px; max-width: 1180px;
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow);
  scrollbar-width: none;
}
.perks-list::-webkit-scrollbar { display: none; }
.perk {
  flex: none; scroll-snap-align: start;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; background: var(--bg);
  font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.perk .ic { color: var(--accent); width: 1.4em; height: 1.4em; }
.perk strong { color: var(--moss); }

/* ---------- Secciones ---------- */
.section { padding: 88px var(--gutter); max-width: 1180px; margin: 0 auto; }
.section-head { margin-bottom: 28px; }

/* Chalet */
.chalet-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.specs li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.specs .ic { color: var(--accent); width: 1.5em; height: 1.5em; margin-top: 2px; }
.specs strong { display: block; font-weight: 600; }
.specs span { display: block; color: var(--ink-mute); font-size: .9rem; }
.chalet-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frame { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.06); }
.frame-a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.frame-b, .frame-c { aspect-ratio: 1; }

/* Marquesina */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
  padding: 18px 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  color: var(--ink-soft);
}
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: .9rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Galería */
.filters { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  grid-auto-rows: 150px; grid-auto-flow: dense;
}
.g {
  position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg-2); cursor: zoom-in;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.g:hover img { transform: scale(1.07); filter: saturate(1.12); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g.is-hidden { display: none; }
.g.is-entering { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* Cotizador */
.booking { max-width: none; background: var(--moss); color: #f4f1e8; }
.booking-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.booking .eyebrow { color: #c9d6b4; }
.booking .h2 em { color: #f1b58f; }
.booking .lead { color: rgba(244, 241, 232, .85); }
.assure { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure .ic { color: #f1b58f; }

.quote {
  background: var(--paper); color: var(--ink); border-radius: 24px;
  padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
  display: grid; gap: 16px;
}
.quote-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field { display: grid; gap: 6px; }
.field > span, .field-label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
}
.field input {
  width: 100%; min-width: 0; min-height: 50px; border: 1.5px solid var(--line); border-radius: 14px;
  -webkit-appearance: none; appearance: none;
  padding: 10px 12px; font: 500 1rem var(--sans); color: var(--ink); background: var(--bg);
  transition: border-color .2s, background-color .2s;
}
.field input:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.is-invalid { border-color: #c0392b; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -4px; }

.field-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.stepper { display: flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 999px; padding: 4px; }
.stepper button {
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper);
  font-size: 1.2rem; line-height: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  transition: transform .2s var(--ease), opacity .2s;
}
.stepper button:active { transform: scale(.9); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.toggle { cursor: pointer; }
.toggle .ic { color: var(--accent); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  width: 48px; height: 28px; border-radius: 999px; background: var(--bg-2); position: relative; flex: none;
  transition: background-color .3s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease);
}
.toggle input:checked + .switch { background: var(--moss); }
.toggle input:checked + .switch::after { transform: translateX(20px); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 3px; }

.compare { background: var(--bg); border-radius: 18px; padding: 16px; }
.compare-empty { margin: 0; color: var(--ink-mute); font-size: .92rem; text-align: center; }
.compare-full { display: none; }
.compare[data-state="full"] .compare-empty { display: none; }
.compare[data-state="full"] .compare-full { display: grid; gap: 14px; animation: pop .45s var(--ease); }
.compare-nights { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-mute); }
.compare-nights span:first-child { font-weight: 600; color: var(--ink); }
.bars { display: grid; gap: 12px; }
.bar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .88rem; margin-bottom: 6px; }
.bar-top small { color: var(--ink-mute); font-size: .75rem; }
.bar-top s { color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.bar-top strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; color: var(--moss); }
.bar-track { height: 10px; border-radius: 999px; background: rgba(31, 27, 22, .06); overflow: hidden; }
.bar-track i {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  transition: width .8s var(--ease);
}
.bar-ota i { background: #c9bfae; }
.bar-direct i { background: var(--moss); }
.saving {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--moss-soft); color: var(--moss); border-radius: 14px; padding: 12px 14px;
}
.saving span { font-weight: 600; font-size: .9rem; }
.saving strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.form-error { margin: 0; min-height: 0; color: #b03a2e; font-size: .88rem; font-weight: 500; }
.form-error:empty { display: none; }
.fine { margin: -4px 0 0; font-size: .76rem; color: var(--ink-mute); text-align: center; }

/* Reseñas */
.reviews-grid { display: grid; gap: 20px; }
.big-score {
  font-family: var(--serif); font-weight: 350; font-size: clamp(5rem, 26vw, 9rem);
  line-height: .9; letter-spacing: -.04em; color: var(--accent);
}
.big-score small { font-size: .3em; color: var(--ink-mute); letter-spacing: 0; margin-left: 4px; }
.score-label { margin: 8px 0 22px; font-weight: 500; }
.metrics { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.metrics li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .9rem; }
.metrics b {
  grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 99px; background: var(--bg-2); position: relative; overflow: hidden;
}
.metrics b::after {
  content: ""; position: absolute; inset: 0; width: var(--v); background: var(--moss); border-radius: inherit;
  transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease) .2s;
}
.is-in .metrics b::after, .metrics.is-in b::after { transform: scaleX(1); }
.metrics em { font-style: normal; font-weight: 600; }

.quote-card {
  position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.quote-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20, 16, 12, .9), rgba(20, 16, 12, .15) 70%);
}
.quote-card blockquote { margin: 0; padding: 26px; }
.quote-card p {
  font-family: var(--serif); font-style: italic; font-variation-settings: "SOFT" 100;
  font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.15; margin: 0 0 18px;
}
.quote-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; }
.quote-card figcaption small { font-weight: 400; opacity: .8; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #5fa56b; display: grid; place-items: center; font-size: .9rem;
}
.couples {
  background: var(--paper); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
  display: grid; gap: 10px; align-content: start;
}
.couples > .ic { width: 2rem; height: 2rem; color: var(--accent); }
.couples p { margin: 0; font-size: 1.05rem; }
.link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent);
  text-decoration: none; margin-top: 6px;
}
.link .ic { transition: transform .35s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

/* Pet friendly */
.pets { background: var(--bg-2); padding: 72px var(--gutter); }
.pets-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.pets img { border-radius: 24px; width: 100%; max-width: 340px; height: auto; box-shadow: var(--shadow); transform: rotate(-2deg); }

/* Ubicación */
.loc-grid { display: grid; gap: 24px; }
.map {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(circle at 60% 45%, rgba(180, 85, 47, .18), transparent 40%),
    repeating-linear-gradient(35deg, transparent 0 22px, rgba(63, 90, 60, .08) 22px 23px),
    repeating-linear-gradient(-55deg, transparent 0 34px, rgba(63, 90, 60, .08) 34px 35px),
    var(--moss-soft);
  box-shadow: var(--shadow);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  border: 0; background: transparent; font-weight: 600; color: var(--moss);
}
.map-load .ic { width: 44px; height: 44px; color: var(--accent); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li > .ic { color: var(--accent); width: 1.5em; height: 1.5em; margin-top: 2px; }
.steps strong { display: block; }
.steps span { display: block; color: var(--ink-mute); font-size: .92rem; }
.steps-cta { border-top: 0 !important; }

/* CTA final */
.final {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: 120px var(--gutter); overflow: hidden;
}
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(28, 22, 16, .62); }
.final .h2 em { color: #f1b58f; }
.final p { margin: 0 0 26px; opacity: .9; }
.final .btn { flex-direction: column; gap: 2px; }

/* Footer */
.footer { padding: 40px var(--gutter) 120px; text-align: center; color: var(--ink-mute); font-size: .9rem; }
.footer-logo { width: 112px; height: 112px; margin: 0 auto 14px; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 6px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  color: var(--wa); font-weight: 600; text-decoration: none;
}
.footer-wa:hover { text-decoration: underline; }
.footer p { margin: 4px 0; }
.footer-small { font-size: .75rem; opacity: .8; }

/* Barra fija mobile */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(251, 248, 242, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 20px; padding: 10px 10px 10px 16px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .35);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.dock.is-on { transform: none; }
.dock-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; line-height: 1.1; }
.dock-price small { font-size: .72rem; color: var(--ink-mute); }
.dock-price small:first-child { flex-basis: 100%; }
.dock-price strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 14, 10, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }
.lb-stage { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 12px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 160px); border-radius: 12px; object-fit: contain; }
.lb-stage img.is-swap { animation: pop .35s var(--ease); }
.lb-stage figcaption { font-size: .88rem; opacity: .8; text-align: center; }
.lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-prev .ic { transform: rotate(180deg); }
.lb-next { right: 10px; }

/* Reveal al scrollear (el contenido es visible sin JS: la clase .js la pone main.js) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .nav-links { display: flex; }
  .hero-content { padding-bottom: 96px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; }
  .hero-scroll {
    display: block; position: absolute; right: var(--gutter); bottom: 96px;
    width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 20px;
  }
  .hero-scroll span {
    position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
    background: #fff; border-radius: 2px; animation: wheel 1.8s var(--ease) infinite;
  }
  @keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }
  .perks-list { justify-content: space-between; overflow: visible; flex-wrap: wrap; }
  .perk { flex: 1 1 auto; justify-content: center; }
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
  .quote { padding: 28px; }
  .dock { display: none; }
  .footer { padding-bottom: 48px; }
  .pets-inner { grid-template-columns: 360px 1fr; gap: 64px; }
}

@media (min-width: 1000px) {
  .section { padding-block: 128px; }
  .chalet-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .chalet-media { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; }
  .frame-a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .frame-c { transform: translateY(40px); }
  .booking-wrap { grid-template-columns: 1fr 440px; gap: 80px; align-items: center; }
  .reviews-grid { grid-template-columns: 1.05fr 1.2fr; grid-template-rows: auto auto; gap: 24px 48px; }
  .reviews-score { grid-row: span 2; align-self: center; }
  .quote-card { min-height: 360px; }
  .loc-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  .grid { grid-auto-rows: 220px; }
}

/* Solo se apaga lo intrusivo con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .marquee-track { animation-duration: 120s; }
  .map-load .ic, .hero-scroll span { animation: none; }
}
