/* =========================================================
   Cabañas Conguillío — sistema visual
   Colores tomados del sitio original (navy #002E5D, azul #397DCF,
   celeste #6AA4E9, turquesa #41BAAE). Estructura inspirada en DESIGN.md:
   hero fotográfico redondeado + buscador tipo píldora.
   ========================================================= */
:root {
  --navy: #002e5d;
  --navy-900: #001a37;
  --blue: #397dcf;
  --blue-600: #2c68b3;
  --sky: #6aa4e9;
  --sky-100: #e8f1fc;
  --teal: #41baae;
  --sand: #c9a77c;
  --ink: #111111;
  --text: #2f2e2e;
  --graphite: #606060;
  --placeholder: #9a9a9a;
  --cloud: #f6f6f6;
  --mist: #ededed;
  --line: #d9d9d9;
  --white: #ffffff;
  --danger: #c0392b;
  --success: #1f8a5b;

  --font: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-wide: 'Montserrat', 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;

  --r-card: 16px;
  --r-img: 32px;
  --r-ctrl: 12px;
  --r-pill: 9999px;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-pop: 0 18px 50px -12px rgba(0, 26, 55, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--font-wide);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.display {
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.display strong, .display em { font-weight: 800; font-style: normal; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--graphite); line-height: 1.7; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--blue); }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.5; cursor: pointer; text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { padding: 7px 18px; font-size: 15px; }
.btn--lg { padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(57, 125, 207, .8); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky-100); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .9); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 12px 12px auto 12px; z-index: 50;
  transition: transform .45s var(--ease);
}
.site-header__inner {
  max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
  padding: 12px 16px 12px 20px; border-radius: 24px;
  transition: background .35s, box-shadow .35s, padding .35s, border-radius .35s;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; line-height: 1.05; font-size: 13px; letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; }
.brand__text strong { font-family: var(--font-wide); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a {
  color: #fff; font-weight: 600; font-size: 15.5px; padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid transparent; transition: border-color .25s, background .25s, color .25s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.main-nav a.is-active { border-color: rgba(255, 255, 255, .9); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Header sólido al hacer scroll */
.site-header.is-solid .site-header__inner { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 30px -14px rgba(0, 26, 55, .35); padding-top: 8px; padding-bottom: 8px; }
.site-header.is-solid .brand, .site-header.is-solid .main-nav a { color: var(--navy); }
.site-header.is-solid .main-nav a:hover { background: var(--cloud); }
.site-header.is-solid .main-nav a.is-active { border-color: var(--navy); }
.site-header.is-solid .header-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-header.is-solid .menu-toggle { border-color: var(--navy); }
.site-header.is-solid .menu-toggle span { background: var(--navy); }
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px;
  animation: menuIn .4s var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { color: #fff; font-size: 28px; font-weight: 300; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.mobile-menu__wa { color: var(--sky); font-weight: 700; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.menu-open .site-header .brand, .menu-open .site-header .main-nav a { color: #fff; }
.menu-open .site-header .site-header__inner { background: transparent; box-shadow: none; }
.menu-open .site-header .menu-toggle { border-color: #fff; }
.menu-open .site-header .menu-toggle span { background: #fff; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 12px; border-radius: var(--r-img); overflow: hidden;
  min-height: 560px; height: calc(100svh - 24px); max-height: 980px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  background: var(--navy);
}
.hero--page { height: clamp(420px, 62svh, 640px); min-height: 420px; }
.hero__media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 45, .45) 0%, rgba(0, 20, 45, .05) 35%, rgba(0, 20, 45, .25) 60%, rgba(0, 20, 45, .72) 100%); }
.hero__content { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 8vh, 88px); text-align: center; }
.hero--page .hero__content { text-align: left; max-width: 1240px; }
.hero__title { color: #fff; font-weight: 300; font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 18px; text-wrap: balance; }
.hero__title em { font-style: normal; font-weight: 800; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 auto 32px; }
.hero--page .hero__lead { margin-left: 0; }
.hero__search { display: flex; justify-content: center; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-anim { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .24s; }
.hero-anim:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Buscador píldora ---------- */
.search-pill {
  position: relative; display: flex; align-items: center; background: #fff; color: var(--ink);
  border-radius: var(--r-pill); padding: 6px 6px 6px 8px; width: 100%; max-width: 760px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .45); text-align: left;
}
.search-pill__field {
  flex: 1 1 0; min-width: 0; background: none; border: 0; padding: 10px 20px; border-radius: var(--r-pill);
  display: flex; flex-direction: column; cursor: pointer; text-align: left; transition: background .2s;
}
.search-pill__field:hover, .search-pill__field.is-active { background: var(--cloud); }
.search-pill__label { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.search-pill__value { font-size: 15px; color: var(--placeholder); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-pill__value.is-set { color: var(--ink); font-weight: 600; }
.search-pill__sep { width: 1px; height: 32px; background: var(--line); flex: none; }
.search-pill__submit {
  flex: none; height: 56px; min-width: 56px; padding: 0 22px 0 18px; border: 0; border-radius: var(--r-pill);
  background: var(--blue); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.search-pill__submit:hover { background: var(--blue-600); }
.search-pill__submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.search-pill.has-error { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.popover {
  /* Montado en <body> y posicionado por JS (placePopover) dentro de la vista actual */
  position: fixed; top: 0; left: 0; z-index: 70; background: #fff; color: var(--ink);
  border-radius: 24px; box-shadow: var(--shadow-pop); padding: 20px; animation: popIn .25s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stepper strong { display: block; color: var(--ink); }
.stepper small { color: var(--graphite); font-size: 13px; }
.stepper__ctrl { display: flex; align-items: center; gap: 12px; }
.stepper__ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper__ctrl button:hover:not(:disabled) { border-color: var(--ink); }
.stepper__ctrl button:disabled { opacity: .3; cursor: not-allowed; }
.stepper__ctrl output { min-width: 20px; text-align: center; font-weight: 700; }

/* ---------- Calendario de rango ---------- */
.cal { user-select: none; }
.cal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cal__summary { font-size: 14px; color: var(--graphite); text-align: center; flex: 1; }
.cal__summary strong { color: var(--ink); }
.cal__months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cal__month h4 { text-align: center; font-size: 16px; color: var(--ink); margin: 6px 0 10px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal__dow { font-size: 12px; font-weight: 700; color: var(--graphite); text-align: center; padding: 4px 0; }
.cal__day {
  position: relative; aspect-ratio: 1; border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; border-radius: 50%; z-index: 0;
}
.cal__day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__day:disabled { color: #c4c4c4; cursor: not-allowed; }
.cal__day.is-occupied { text-decoration: line-through; color: #b9b9b9; }
.cal__day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.cal__day.in-range { background: var(--sky-100); border-radius: 0; }
.cal__day.is-start, .cal__day.is-end { background: var(--navy); color: #fff; border-radius: 50%; }
.cal__day.is-start.has-range { border-radius: 50% 0 0 50%; box-shadow: none; }
.cal__day.is-end { border-radius: 0 50% 50% 0; }
.cal__day.is-start.is-end { border-radius: 50%; }
.cal__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); gap: 12px; }
.cal__legend { font-size: 13px; color: var(--graphite); display: flex; gap: 14px; flex-wrap: wrap; }
.cal__legend s { color: #b9b9b9; }
.cal__clear { background: none; border: 0; text-decoration: underline; font-weight: 700; cursor: pointer; color: var(--ink); }

/* ---------- Chips / facts ---------- */
.chips { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--navy); background: #fff; }
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.facts { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.facts li { padding: 16px 18px; display: flex; flex-direction: column; }
.facts li + li { border-left: 1px solid var(--line); }
.facts span { font-size: 13px; color: var(--graphite); }
.facts strong { color: var(--navy); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__media { position: relative; padding: 0 0 60px 60px; }
.frame { margin: 0; border-radius: var(--r-img); overflow: hidden; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--badge { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid #fff; border-radius: 28px; box-shadow: 0 20px 40px -18px rgba(0, 26, 55, .45); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--white); }
.marquee__track { display: flex; gap: 32px; width: max-content; will-change: transform; align-items: center; }
.marquee__track span { font-family: var(--font-wide); font-weight: 800; font-size: clamp(22px, 3.4vw, 44px); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); white-space: nowrap; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.4px var(--navy); }
.marquee__track i { color: var(--sky); font-style: normal; font-size: 22px; }

/* ---------- Alojamientos (scroll horizontal) ---------- */
.stays { padding-bottom: 0; }
.stays__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.stays__lead { color: var(--graphite); font-size: 17px; margin-bottom: 30px; }
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 40px; }
.hscroll__track { display: flex; gap: 24px; padding: 0 var(--gutter); will-change: transform; width: max-content; }
.hscroll__progress { margin-top: 32px; height: 3px; background: none; position: relative; }
.hscroll__progress::before { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 3px; background: var(--mist); border-radius: 3px; }
.hscroll__progress span { position: absolute; left: var(--gutter); top: 0; height: 3px; width: 0; background: var(--blue); border-radius: 3px; }

.cabin-card {
  flex: none; width: clamp(290px, 30vw, 420px); background: var(--cloud); border-radius: var(--r-card); overflow: hidden;
  color: var(--text); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s;
}
.cabin-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0, 26, 55, .5); color: var(--text); }
.cabin-card__media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--mist); }
.cabin-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cabin-card:hover .cabin-card__media img { transform: scale(1.06); }
.cabin-card__tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .94); color: var(--navy); font-family: var(--font-wide); font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); }
.cabin-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cabin-card__title { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.cabin-card__tagline { color: var(--graphite); font-size: 15px; margin: 0; }
.cabin-card__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--graphite); margin-top: 6px; }
.cabin-card__meta span { display: inline-flex; gap: 6px; align-items: center; }
.cabin-card__meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cabin-card__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); }
.price { color: var(--ink); }
.price small { color: var(--graphite); font-size: 13px; }
.price strong { font-size: 20px; font-weight: 800; }
.cabin-card__cta { font-weight: 700; color: var(--blue); }
.cabin-card--skeleton { height: 460px; background: linear-gradient(90deg, var(--cloud), var(--mist), var(--cloud)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Promo ---------- */
.promo-wrap { padding-bottom: 0; }
.promo-tile { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--blue); color: #fff; border-radius: var(--r-img); overflow: hidden; min-height: 420px; }
.promo-tile__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo-tile__title { color: #fff; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; margin-bottom: 14px; }
.promo-tile__price { font-size: 20px; margin: 4px 0 26px; display: flex; gap: 14px; align-items: baseline; }
.promo-tile__price del { opacity: .7; }
.promo-tile__price strong { font-size: 44px; font-weight: 800; }
.promo-tile__media { margin: 0; position: relative; overflow: hidden; }
.promo-tile__media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(44px, 6vw, 80px); font-weight: 300; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--graphite); font-size: 15px; }

/* ---------- Explora ---------- */
.section-head { max-width: 760px; margin-bottom: 40px; }
.explore { background: var(--cloud); }
.explore__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(240px, 30vw)); gap: 16px; margin-bottom: 36px; }
.explore-card { position: relative; border-radius: var(--r-card); overflow: hidden; color: #fff; display: block; background: var(--navy); }
.explore-card--big { grid-row: span 2; }
.explore-card img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transition: scale 1.1s var(--ease); }
.explore-card:hover img { scale: 1.05; }
.explore-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 20, 45, .75)); }
.explore-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; }
.explore-card__body small { font-family: var(--font-wide); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.explore-card__body strong { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.explore-card:hover { color: #fff; }

/* ---------- Cita ---------- */
.quote-band { position: relative; margin: 12px; border-radius: var(--r-img); overflow: hidden; min-height: 78svh; display: grid; place-items: center; text-align: center; color: #fff; isolation: isolate; }
.quote-band__media { position: absolute; inset: -15% 0; margin: 0; z-index: -1; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ''; position: absolute; inset: 0; background: rgba(0, 20, 45, .35); z-index: -1; }
.quote-band__text { margin: 0; padding: 0 var(--gutter); max-width: 980px; }
.quote-band__text p { font-size: clamp(30px, 5vw, 64px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.quote-band__text cite { font-style: normal; font-family: var(--font-wide); font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Ubicación ---------- */
.location__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.map-frame { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1 / .85; background: var(--mist); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA + Footer ---------- */
.cta-band { margin: 12px; border-radius: var(--r-img); background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(106, 164, 233, .35), transparent 65%); }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-weight: 300; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.02em; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: var(--mist); margin: 0 12px 12px; border-radius: var(--r-img); padding: 64px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.site-footer__brand img { width: 88px; height: 88px; border-radius: 50%; background: #fff; margin-bottom: 16px; }
.site-footer__brand p { color: var(--graphite); max-width: 320px; }
.footer-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--graphite); font-size: 15px; }
.footer-links a { color: var(--blue); }
.pay-badge { display: inline-flex; gap: 6px; align-items: baseline; }
.pay-badge strong { color: #d5006c; font-weight: 800; }
.sercotec { margin-top: 18px; border-radius: 8px; opacity: .9; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--navy); border-color: var(--navy); }
.socials svg, .wa-float svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; }
.socials svg .fill { fill: var(--navy); stroke: none; }
.socials a:hover svg { stroke: #fff; }
.socials a:hover svg .fill { fill: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--graphite); font-size: 14px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; stroke: #fff; }
.wa-float svg .fill { fill: #fff; stroke: none; }

/* ---------- Animaciones al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-parallax], [data-parallax-img] { will-change: transform; }

/* ---------- Páginas internas ---------- */
.page-intro { padding: var(--section) 0 calc(var(--section) / 2); }
.prose { max-width: 720px; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split + .split { margin-top: clamp(64px, 10vw, 120px); }
.split__media { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 5 / 4; position: relative; background: var(--mist); }
.split__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 16px; }
.split h2 strong { font-weight: 800; }
.tag { display: inline-block; font-family: var(--font-wide); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 8px 18px; font-weight: 700; cursor: pointer; color: var(--navy); transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cabin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.cabin-grid .cabin-card { width: auto; }

.info-banner { display: flex; gap: 16px; align-items: flex-start; background: var(--sky-100); border-radius: var(--r-card); padding: 20px 24px; color: var(--navy); margin-top: 48px; }
.info-banner svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.info-banner p { margin: 0; }

.grid-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-photos figure { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 1; }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Detalle cabaña ---------- */
.cabin-hero-head { padding-top: 120px; }
.crumbs { font-size: 14px; color: var(--graphite); margin-bottom: 14px; }
.crumbs a { color: var(--graphite); text-decoration: underline; }
.cabin-title { font-size: clamp(34px, 5vw, 60px); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 8px; }
.cabin-title strong { font-weight: 800; }
.cabin-sub { color: var(--graphite); font-size: 18px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(160px, 22vw)); gap: 10px; border-radius: var(--r-img); overflow: hidden; position: relative; }
.gallery button { border: 0; padding: 0; margin: 0; cursor: zoom-in; overflow: hidden; background: var(--mist); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(.92); }
.gallery__all { position: absolute; right: 16px; bottom: 16px; }
.cabin-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 56px; padding-bottom: var(--section); }
.cabin-facts { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 36px; }
.cabin-facts div { flex: 1 1 130px; padding: 16px 20px; }
.cabin-facts div + div { border-left: 1px solid var(--line); }
.cabin-facts span { display: block; font-size: 13px; color: var(--graphite); }
.cabin-facts strong { color: var(--navy); font-size: 17px; }
.amenities { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h3 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.other-cabins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.other-cabins .cabin-card { width: auto; }

.book-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: #fff; box-shadow: 0 24px 50px -30px rgba(0, 26, 55, .35); }
.book-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.book-card__price strong { font-size: 26px; color: var(--ink); }
.book-card__price span { color: var(--graphite); }
.field-group { border: 1px solid var(--line); border-radius: var(--r-ctrl); overflow: visible; position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; }
.field-row > * + * { border-left: 1px solid var(--line); }
.field-btn { background: none; border: 0; text-align: left; padding: 10px 14px; cursor: pointer; width: 100%; display: flex; flex-direction: column; }
.field-btn + .field-btn, .field-row + .field-btn { border-top: 1px solid var(--line); }
.field-btn small { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.field-btn span { color: var(--placeholder); }
.field-btn span.is-set { color: var(--ink); font-weight: 600; }
.breakdown { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; }
.breakdown li span:first-child { color: var(--graphite); }
.breakdown .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 800; color: var(--ink); font-size: 17px; }
.breakdown .total span:first-child { color: var(--ink); }
.breakdown .promo span { color: var(--teal) !important; font-weight: 700; }
.note { font-size: 13px; color: var(--graphite); margin: 12px 0 0; text-align: center; }
.alert { border-radius: var(--r-ctrl); padding: 12px 14px; font-size: 14.5px; margin: 12px 0; }
.alert--error { background: #fdecea; color: #8a1f13; }
.alert--ok { background: #e6f6ee; color: #135c3b; }
.alert--info { background: var(--sky-100); color: var(--navy); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 10, 25, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; animation: menuIn .3s var(--ease); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.lightbox__stage { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox__stage img { max-height: calc(100svh - 150px); max-width: calc(100vw - 144px); width: auto; height: auto; object-fit: contain; border-radius: 12px; } /* tamaño según la ventana: nunca se corta */
.lightbox button { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; margin-top: -23px; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__count { padding: 16px; text-align: center; font-size: 14px; opacity: .8; }

/* ---------- Reservar (flujo por pasos) ---------- */
.booking-page { padding: 120px 0 var(--section); background: var(--cloud); min-height: 100svh; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--graphite); font-weight: 700; font-size: 14px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--graphite); font-size: 13px; }
.steps li.is-current { color: var(--navy); border-color: var(--navy); }
.steps li.is-current::before { background: var(--navy); color: #fff; }
.steps li.is-done::before { content: '✓'; background: var(--teal); color: #fff; }
.booking-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.panel { background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); }
.panel + .panel { margin-top: 20px; }
.panel__title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.panel__sub { color: var(--graphite); margin-bottom: 20px; }
.search-inline { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; position: relative; align-items: center; }
.search-inline .search-pill__field { padding: 8px 18px; }
.search-inline .search-pill__submit { height: 48px; }
.result-list { display: grid; gap: 16px; margin-top: 24px; }
.result {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--r-card); background: #fff; transition: border-color .2s, box-shadow .2s, transform .3s var(--ease);
}
.result:hover { border-color: var(--sky); }
.result.is-selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57, 125, 207, .2); }
.result.is-unavailable { opacity: .55; }
.result__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.result__img img { width: 100%; height: 100%; object-fit: cover; }
.result h3 { font-size: 20px; margin-bottom: 4px; }
.result p { margin: 0; color: var(--graphite); font-size: 14.5px; }
.result__price { text-align: right; padding-right: 8px; }
.result__price strong { display: block; font-size: 22px; color: var(--ink); }
.result__price small { color: var(--graphite); display: block; margin-bottom: 8px; }
.result__badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); background: var(--mist); color: var(--graphite); margin-top: 6px; }

.extra-list { display: grid; gap: 14px; }
.extra {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.extra.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57, 125, 207, .15); }
.extra--promo { border-color: var(--teal); background: linear-gradient(120deg, #f0fbf9, #fff 60%); }
.extra__img { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--sky-100); display: grid; place-items: center; }
.extra__img img { width: 100%; height: 100%; object-fit: cover; }
.extra__img svg { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.extra h3 { font-size: 17px; margin-bottom: 2px; }
.extra p { margin: 0; color: var(--graphite); font-size: 14px; }
.extra__price { font-weight: 800; color: var(--ink); margin-top: 4px; display: flex; gap: 8px; align-items: baseline; }
.extra__price del { color: var(--graphite); font-weight: 400; font-size: 14px; }
.badge-promo { display: inline-block; font-family: var(--font-wide); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--teal); border-radius: var(--r-pill); padding: 3px 9px; margin-bottom: 4px; }
.toggle { position: relative; width: 52px; height: 30px; flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.toggle span { position: absolute; inset: 0; border-radius: 30px; background: var(--line); transition: background .25s; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.toggle input:checked + span { background: var(--blue); }
.toggle input:checked + span::after { transform: translateX(22px); }
.toggle input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--graphite); }
.input, .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-ctrl); padding: 12px 14px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57, 125, 207, .2); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 13px; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: 100px; }
.summary__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 16px; background: var(--mist); }
.summary__img img { width: 100%; height: 100%; object-fit: cover; }
.summary h3 { font-size: 20px; }
.summary__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; margin: 14px 0; }
.summary__dates div { padding: 10px 14px; }
.summary__dates div + div { border-left: 1px solid var(--line); }
.summary__dates small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--graphite); }
.summary__empty { color: var(--graphite); text-align: center; padding: 20px 0; }
.webpay-note { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--graphite); margin-top: 14px; }
.webpay-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--success); stroke-width: 2; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.result-page { padding: 140px 0 var(--section); background: var(--cloud); min-height: 80svh; }
.result-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); text-align: center; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.result-icon svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.result-icon--ok { background: var(--success); animation: pop .6s var(--ease); }
.result-icon--bad { background: var(--danger); }
.result-icon--wait { background: var(--sky); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } }
.result-card .breakdown { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-header__inner { justify-content: space-between; }
  .booking-layout, .cabin-layout { grid-template-columns: 1fr; }
  .summary, .book-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .intro__grid, .stays__head, .location__grid, .split, .promo-tile { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .promo-tile__media { min-height: 260px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .explore__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .explore-card--big { grid-column: span 2; grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 140px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .other-cabins { grid-template-columns: 1fr; }
  .result { grid-template-columns: 120px 1fr; }
  .result__price { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
  .result__price small { margin: 0; }
  .grid-photos { grid-template-columns: 1fr 1fr; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months .cal__month:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
  .hero { margin: 8px; border-radius: 24px; height: calc(100svh - 16px); }
  .site-header { inset: 8px 8px auto 8px; }
  .brand__text { display: none; }
  .search-pill { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; }
  .search-pill__sep { width: auto; height: 1px; margin: 0 14px; }
  .search-pill__field { border-radius: 14px; padding: 10px 14px; }
  .search-pill__submit { justify-content: center; margin-top: 6px; height: 50px; }
  .search-inline { grid-template-columns: 1fr; border-radius: 20px; }
  .popover { position: fixed; top: auto; left: 8px !important; right: 8px !important; bottom: 8px; width: auto !important; max-height: 85svh; overflow: auto; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .extra { grid-template-columns: 64px 1fr; }
  .extra__img { width: 64px; height: 64px; }
  .extra .toggle { grid-column: 2; justify-self: start; }
  .intro__media { padding: 0 0 40px 30px; }
  .cabin-facts div + div { border-left: 0; }
  .cabin-facts div { flex-basis: 45%; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
}
.results-count { text-align: left; margin: 20px 0 0; }
.step-actions--center, .result-card .step-actions { justify-content: center; }
.extra .muted { font-size: 12px; text-align: center; display:block; }
.extra__ctrl { display: flex; flex-direction: column; align-items: center; gap: 2px; }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- v2: video, volver arriba, volver a resultados ---------- */
.video-section { padding-bottom: 0; }
.video-frame { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .95); color: var(--navy); border: 0; border-radius: var(--r-pill); padding: 10px 24px 10px 10px;
  font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.video-frame__play:hover { transform: scale(1.05); }
.video-frame__play svg { width: 48px; height: 48px; padding: 13px 11px 13px 15px; border-radius: 50%; background: var(--blue); fill: #fff; }
.video-frame.is-playing .video-frame__play { display: none; }

.to-top {
  position: fixed; right: 20px; bottom: 90px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 26, 55, .45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); color: #fff; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 76px; width: 44px; height: 44px; } }

.back-results { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 16px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--navy); background: #fff; }
.back-results:hover { border-color: var(--navy); color: var(--navy); }

/* Selector de país + teléfono */
.phone-row { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.phone-row input:first-child { text-align: center; }

/* Métodos de pago */
.pay-methods { display: grid; gap: 10px; margin: 8px 0 4px; }
.pay-method { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay-method:hover { border-color: var(--sky); }
.pay-method:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57, 125, 207, .15); }
.pay-method input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.pay-method strong { display: block; color: var(--ink); }
.pay-method small { color: var(--graphite); }
.bank-box { background: var(--cloud); border-radius: var(--r-card); padding: 16px 18px; text-align: left; white-space: pre-line; margin: 16px 0; font-size: 15px; }
.phone-row .field__err { grid-column: 1 / -1; }
.facts--stack { grid-template-columns: 1fr; }
.facts--stack li + li { border-left: 0; border-top: 1px solid var(--line); }
.facts--stack strong { word-break: break-word; }
.field .pay-method { display: grid; grid-template-columns: auto 1fr; margin: 0; font-weight: 400; }
.field .pay-method input { width: 20px; height: 20px; padding: 0; box-shadow: none; }
.field .pay-method strong { font-size: 16px; }
.field .pay-method small { font-size: 14px; display: block; }
.site-header:not(.is-ready), .site-header:not(.is-ready) * { transition: none !important; }

/* ---------- F2: tema base genérico ---------- */
.brand__mono { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-family: var(--font-wide); font-weight: 800; font-size: 15px; letter-spacing: .04em; flex: none; }
.brand__mono--lg { width: 88px; height: 88px; font-size: 28px; margin-bottom: 16px; background: var(--navy); color: #fff; }
.brand img { object-fit: cover; }
.brand__text strong { font-size: 15px; }
.intro__media--single { padding: 0; }
.intro__media:empty { display: none; }
.intro__grid:has(.intro__media:empty) { grid-template-columns: 1fr; max-width: 820px; }
.lead p { margin: 0 0 1em; }
.powered a { color: var(--graphite); text-decoration: underline; }
.cabin-card__media:empty::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--sky-100), var(--mist)); }
.hero__media:not(:has(img, video)) { background: radial-gradient(120% 80% at 70% 0%, var(--blue), var(--navy) 70%); }
.test-banner { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 90; background: #fff4d6; color: #7a5a00; border: 1px solid #f1d98a; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); pointer-events: none; }

/* ---------- Opiniones reales (nota, categorías, menciones y reseñas) ---------- */
.reviews__grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 48px; }
.rv-score { text-align: center; padding: 36px 28px; border-radius: var(--r-img); background: var(--sky-100); }
.rv-score__num { font-size: clamp(64px, 9vw, 112px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--navy); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.rv-score__meta { margin: 12px 0 4px; font-weight: 700; color: var(--navy); }
.rv-score__badge { margin: 0; font-size: 14px; color: var(--graphite); }
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars svg { width: 20px; height: 20px; fill: var(--blue); }
.rv-score .stars { justify-content: center; }
.rv-score .stars svg { width: 24px; height: 24px; }
.rv-cats, .rv-hl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 40px; grid-template-columns: repeat(2, 1fr); }
.rv-cats li, .rv-hl__list li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; }
.rv-cat__label, .rv-hl__label { font-weight: 600; color: var(--navy); }
.rv-cat__score { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.rv-hl__count { color: var(--graphite); font-variant-numeric: tabular-nums; }
.rv-hl__count small { font-size: 13px; }
.rv-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.rv-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 100%); border-radius: inherit; background: var(--blue); transition: width 1.4s var(--ease); }
.rv-hl { margin-bottom: 48px; }
.rv-hl__title { font-size: 20px; margin-bottom: 20px; }
.rv-hl__list { grid-template-columns: repeat(3, 1fr); }
.rv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-bottom: 36px; }
.rv-card { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.rv-card blockquote { margin: 0; flex: 1; }
.rv-card blockquote p { margin: 0 0 .6em; line-height: 1.65; }
.rv-card figcaption { display: flex; gap: 12px; align-items: center; }
.rv-card figcaption small { display: block; color: var(--graphite); font-size: 13px; }
.rv-card__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
@media (max-width: 860px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .rv-hl__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rv-cats, .rv-hl__list { grid-template-columns: 1fr; }
}

/* Visor de fotos en celular: la foto usa todo el ancho; las flechas quedan abajo */
@media (max-width: 640px) {
  .lightbox__stage { padding: 0 8px; }
  .lightbox__stage img { max-width: calc(100vw - 16px); max-height: calc(100svh - 170px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; margin-top: 0; }
}

/* Títulos que reciben el foco por código (al cambiar de paso): sin recuadro de foco */
[tabindex="-1"]:focus { outline: none; }

/* Servicios con emoji (en vez del ✓) */
.amen-emoji { width: 24px; flex: none; text-align: center; font-size: 20px; line-height: 1; }

/* Sugerencia de fechas cuando no hay disponibilidad */
.suggest { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 16px; border: 1px solid var(--blue); border-radius: var(--r-card); background: var(--sky-100); }
.suggest strong { display: block; color: var(--navy); }
.suggest span { color: var(--graphite); font-size: 14px; }
.suggest--compact { padding: 12px 14px; margin: 8px 0 12px; }
.suggest--compact .btn { width: 100%; }
