/* ==========================================================================
   HOSTEL INN · San Miguel de Allende
   Hoja de estilos principal
   --------------------------------------------------------------------------
   1. Tokens             9. Carruseles y tarjetas     17. Reservar
   2. Base              10. Un día en Hostel Inn      18. Formularios / acordeón
   3. Utilidades        11. Reserva directo           19. Atardecer + footer
   4. Fondos de puntos  12. Opiniones / experiencias  20. WhatsApp flotante
   5. Botones           13. Catálogo de habitaciones  21. Lightbox
   6. Header + menú     14. Página de habitación      22. Responsive
   7. Hero              15. Nosotros
   8. Inicio            16. Servicios
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  --blue: #007DCA;            /* azul del logo */
  --blue-700: #0066A6;
  --blue-50: #E6F2FA;
  --night: #0F2437;           /* noche de San Miguel */
  --night-2: #16324B;
  --night-3: #1E4466;
  --ink: #1B2430;
  --ink-2: #455163;
  --ink-3: #6B7685;
  --cream: #FAF6EF;           /* muros de cal */
  --sand: #F3EBDF;
  --sand-2: #E9DDCB;
  --line: rgba(27, 36, 48, .12);
  --terracotta: #C45A3A;      /* portal del jardín */
  --terracotta-700: #A6472A;
  --terracotta-50: #F8E3D9;
  --ochre: #E3A646;           /* cantera al sol */
  --gold: #FFD99A;
  --wa: #25D366;
  --wa-700: #1DA851;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --arch: 999px 999px var(--radius-lg) var(--radius-lg);
  --shadow-1: 0 1px 2px rgba(15, 36, 55, .05), 0 10px 30px -14px rgba(15, 36, 55, .22);
  --shadow-2: 0 34px 70px -34px rgba(15, 36, 55, .5);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --grad-gold: linear-gradient(100deg, #FFE7B8 0%, #F2B35C 45%, #E07A4E 100%);
  --grad-blue: linear-gradient(120deg, #1BA3F0 0%, #007DCA 50%, #0A5E9C 100%);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 0px;
  --nav-h: 84px;
  --rail-pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  font-variant-numeric: lining-nums;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { /* textura sutil de papel */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ningun adorno (resplandores, animaciones laterales) puede ensanchar la pagina en moviles */
main, .site-footer { overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; font-optical-sizing: auto;
  line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance;
}
em { font-style: normal; }
h1 em, h2 em, h3 em, .h2 em, .h3 em, blockquote em { font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.js body { animation: pageIn .7s var(--ease-out) both; }
.js body.is-leaving { opacity: 0; transition: opacity .25s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }

/* 3. UTILIDADES ============================================================ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(56px, 6.5vw, 96px); }
.section--tight { padding-block: clamp(48px, 5.5vw, 76px); }
.section--sand {
  background:
    radial-gradient(60% 60% at 0% 0%, rgba(227, 166, 70, .26), transparent 72%),
    radial-gradient(60% 65% at 100% 100%, rgba(140, 58, 28, .2), transparent 72%),
    var(--sand);
}
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--night); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top .3s; }
.skip-link:focus { top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-wrap { display: grid; place-items: center; flex: none; }
.arch { border-radius: var(--arch) !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  margin: 0 0 18px;
  font-family: var(--font-body); font-size: .76rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--ochre); }

.h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.3rem); }
.h2 em { color: var(--terracotta); }
.on-dark .h2 em { color: var(--ochre); }
.h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); }
.h2 + .lead, .h2 + p { margin-top: 20px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; color: var(--ink-2); max-width: 58ch; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 46px); }
.section-head .h2 { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; text-wrap: balance; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.section-head--split > .lead { max-width: 42ch; margin: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .55); font-size: .9rem; line-height: 1.3; }
.chip .icon { width: 18px; height: 18px; color: var(--terracotta); }
.on-dark .chip { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; }
.on-dark .chip .icon { color: var(--ochre); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: var(--blue-50); color: var(--blue-700); }
.tag .icon { width: 14px; height: 14px; }
.tag--star { background: var(--ochre); color: var(--night); }
.tag--terracotta { background: var(--terracotta-50); color: var(--terracotta-700); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--blue); }
.link-arrow .icon { transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; }

/* Aparición al hacer scroll (solo con JS activo) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.4s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal][data-tilt].is-in { transition: opacity 1s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out); transition-delay: 0s; }

/* 4. FONDOS CON DEGRADADO RADIAL ========================================== */
/* Manchas de color que nacen en un punto y se difuminan hacia todas direcciones.
   Posición: (por defecto arriba-derecha) --tl, --bl, --br, --pair. Color: --terra, --light, --ochre */
.fx-dots {
  position: relative; isolation: isolate;
  --g1: rgba(140, 58, 28, .34); --g2: rgba(154, 90, 30, .26);
  --p1: 86% 8%; --p2: 6% 94%;
  --r1: clamp(340px, 48vw, 760px); --r2: clamp(280px, 38vw, 600px);
}
.fx-dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle var(--r1) at var(--p1), var(--g1) 0%, color-mix(in srgb, var(--g1) 45%, transparent) 38%, transparent 100%),
    radial-gradient(circle var(--r2) at var(--p2), var(--g2) 0%, color-mix(in srgb, var(--g2) 40%, transparent) 40%, transparent 100%);
}
.fx-dots--tl { --p1: 10% 10%; --p2: 94% 90%; }
.fx-dots--bl { --p1: 8% 90%; --p2: 92% 10%; }
.fx-dots--br { --p1: 90% 90%; --p2: 8% 10%; }
.fx-dots--pair { --p1: 88% 12%; --p2: 10% 88%; --r2: var(--r1); }
.fx-dots--terra { --g1: rgba(110, 42, 26, .32); --g2: rgba(154, 90, 30, .26); }
.fx-dots--ochre { --g1: rgba(227, 166, 70, .4); --g2: rgba(196, 90, 58, .16); }
.fx-dots--light { --g1: rgba(170, 70, 35, .55); --g2: rgba(154, 90, 30, .4); }

/* Mancha de color decorativa detrás de fotos */
.dots-deco { position: relative; }
.dots-deco::after {
  content: ""; position: absolute; z-index: -1; left: -18%; bottom: -18%; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(196, 90, 58, .35), rgba(196, 90, 58, .12) 50%, transparent);
}
/* Separador sutil entre secciones con fondos muy distintos */
.section--sand, .positioning, .direct, .marquee, .mural, .sunset { border-block: 2px solid transparent; border-image: linear-gradient(90deg, transparent 0%, rgba(196, 90, 58, .55) 22%, rgba(227, 166, 70, .9) 50%, rgba(196, 90, 58, .55) 78%, transparent 100%) 1; }
.sunset { border-bottom: 0; }
.section--sand + .section--sand { border-top: 0; }
/* Reservar: fondos blancos y sobrios, sin degradados */
html[data-page="book"] body, html[data-page="book"] .section { background: #fff; }
html[data-page="book"] .section.fx-dots::before, html[data-page="book"] .dots-deco::after { display: none; }
html[data-page="book"] .section--sand { border-image: none; border-block: 0; border-top: 1px solid var(--line); }

/* Páginas de habitación: cabecera blanca y el resto en un tono cálido más oscuro */
html[data-page^="room-"] { --room-bg: #F3EEE7; }
html[data-page^="room-"] body, html[data-page^="room-"] .section { background: var(--room-bg); }
html[data-page^="room-"] .section.fx-dots::before, html[data-page^="room-"] .dots-deco::after, html[data-page^="room-"] .book-card::before { display: none; }
html[data-page^="room-"] .section--sand { border-image: none; border-block: 0; border-top: 1px solid rgba(120, 80, 50, .14); }
html[data-page^="room-"] .room-top { background: #fff; color: var(--ink); border-bottom: 1px solid rgba(120, 80, 50, .16); }
.room-top .breadcrumb { color: var(--ink-3); }
.room-top .breadcrumb a { color: var(--ink-2); }
.room-top .breadcrumb a:hover { color: var(--terracotta); }
.room-top .breadcrumb span[aria-hidden] { color: var(--terracotta); }
.room-top h1 { color: var(--night); }
.room-top .room-top__tagline { color: var(--ink-2); }
.room-top .facts li { background: var(--sand); border-color: var(--line); color: var(--ink); }
.room-top .facts .icon { color: var(--terracotta); }
.room-top .room-top__buy { border-top-color: var(--line); }
.room-top .price-pill small, .room-top .price-pill span { color: var(--ink-3); }
.room-top .price-pill strong { color: var(--night); }
.room-top .btn--ghost { --fg: var(--ink); --bd: rgba(27, 36, 48, .3); --bg: transparent; backdrop-filter: none; }
.room-top .btn--ghost:hover { --bg: var(--night); --fg: #fff; --bd: var(--night); }
.room-top .thumbs button.is-active { border-color: var(--terracotta); }
.room-top .slider--hero { box-shadow: 0 30px 60px -34px rgba(15, 36, 55, .45); }
/* Habitaciones: el catalogo (hasta "Compara") sobre fondo blanco */
html[data-page="rooms"] #lista-habitaciones { background: #fff; }
html[data-page="rooms"] #lista-habitaciones::before { display: none; }

/* Inicio: "Habitaciones" y "Siguenos" sobre fondo blanco */
html[data-page="home"] section[aria-labelledby="rooms-title"], html[data-page="home"] section[aria-labelledby="insta-title"] { background: #fff; border-image: none; border-block: 0; }
html[data-page="home"] section[aria-labelledby="rooms-title"]::before, html[data-page="home"] section[aria-labelledby="insta-title"]::before { display: none; }

/* 5. BOTONES =============================================================== */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 500; font-size: .98rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease-out);
}
.btn .icon { width: 19px; height: 19px; transition: transform .4s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); transition: transform .9s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--grad-blue); background-size: 160% 100%; background-position: 0 0; transition: transform .4s var(--ease-out), background-position .6s var(--ease-out), box-shadow .4s var(--ease-out); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(0, 125, 202, .8); }
.btn--primary:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 30px -14px rgba(0, 125, 202, .85); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: #fff; --fg: var(--night); --bd: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(27, 36, 48, .35); }
.btn--outline:hover { --bg: var(--night); --fg: #fff; --bd: var(--night); }
.btn--light { --bg: #fff; --fg: var(--night); }
.btn--light:hover { --bg: var(--cream); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45); }
.btn--night { --bg: var(--night); --fg: #fff; }
.btn--night:hover { --bg: var(--night-3); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa:hover { --bg: var(--wa-700); box-shadow: 0 16px 30px -14px rgba(37, 211, 102, .8); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.round-btn { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1px solid rgba(27, 36, 48, .25); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .35s, color .35s, border-color .35s; }
.round-btn:hover { background: var(--night); color: #fff; border-color: var(--night); }
.round-btn:disabled { opacity: .35; cursor: default; background: transparent; color: inherit; border-color: rgba(27, 36, 48, .25); }
.round-btn .icon { width: 20px; height: 20px; }

/* 6. HEADER + MENÚ ========================================================= */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .55s var(--ease-out); }
.nav-bar { position: relative; }
.nav-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15, 36, 55, .35);
  opacity: 0; transition: opacity .45s var(--ease);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: grid; width: clamp(180px, 18vw, 250px); flex: none; }
.nav__logo img { grid-area: 1 / 1; width: 100%; height: auto; transition: opacity .45s var(--ease); }
.logo--dark { opacity: 0; }
.nav__menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav__menu > a, .nav__drop > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; color: #fff; text-decoration: none; font-size: .96rem; letter-spacing: .04em; transition: color .35s; }
.nav__menu > a::after, .nav__drop > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__menu > a:hover::after, .nav__drop > a:hover::after, .nav__menu > a[aria-current="page"]::after, .nav__drop > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__caret { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.nav__drop { position: relative; }
.nav__drop:hover .nav__caret, .nav__drop:focus-within .nav__caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: 100%; left: 50%; width: 560px; margin-top: 12px; padding: 12px;
  border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .3s, transform .45s var(--ease-out), visibility .3s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__drop:hover .drop, .nav__drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color .25s; }
.drop__item:hover, .drop__item:focus-visible { background: var(--sand); }
.drop__item img { width: 66px; height: 50px; flex: none; object-fit: cover; border-radius: 10px; }
.drop__item strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.drop__item small { color: var(--ink-3); font-size: .8rem; }
.drop__all { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; font-size: .9rem; transition: background-color .3s; }
.drop__all:hover { background: var(--blue); }
.drop__all .icon { width: 16px; height: 16px; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { gap: .28em; }

.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; transition: border-color .35s, color .35s; }
.lang button { border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 500; letter-spacing: .12em; opacity: .75; transition: background-color .3s, color .3s, opacity .3s; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--night); opacity: 1; }

.nav__toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); cursor: pointer; transition: border-color .35s, background-color .35s; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px; transition: background-color .35s; }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; }

.site-header.is-solid { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-solid .nav-bar::before { opacity: 1; }
.site-header.is-solid .logo--light { opacity: 0; }
.site-header.is-solid .logo--dark { opacity: 1; }
.site-header.is-solid .nav__menu > a, .site-header.is-solid .nav__drop > a { color: var(--ink); }
.site-header.is-solid .lang { border-color: var(--line); color: var(--ink); }
.site-header.is-solid .lang button[aria-pressed="true"] { background: var(--night); color: #fff; }
.site-header.is-solid .nav__toggle { border-color: var(--line); background: #fff; }
.site-header.is-solid .nav__toggle span { background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 28px;
  background: var(--night); color: #fff; overflow-y: auto;
  /* cerrado queda recortado DENTRO de la pantalla: moverlo fuera (translateX) ensanchaba la pagina en moviles */
  clip-path: inset(0 0 0 100%); visibility: hidden; pointer-events: none;
  transition: clip-path .7s var(--ease-out), visibility .7s;
}
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; pointer-events: auto; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-menu__top img { width: 180px; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.mobile-menu nav > a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.2; color: #fff; text-decoration: none; }
.mobile-menu nav > a small { font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--ochre); letter-spacing: .1em; }
.mobile-menu nav > a[aria-current="page"] { color: var(--ochre); }
.mobile-menu nav > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.mobile-menu.is-open nav > * { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms + 160ms); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 16px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.mobile-menu .lang { justify-self: start; border-color: rgba(255, 255, 255, .3); }
body.menu-open { overflow: hidden; }

/* 7. HERO ================================================================== */
.hero { position: relative; isolation: isolate; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__slide.is-active img { animation: kenburns 11s var(--ease-out) both; }
.hero__slide:nth-child(2) img { --kx: 2%; --ky: -1%; }
.hero__slide:nth-child(3) img { --kx: -2%; --ky: 1.5%; }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.03) translate3d(var(--kx, -1.5%), var(--ky, -1%), 0); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 22, 36, .6) 0%, rgba(10, 22, 36, 0) 20%, rgba(10, 22, 36, 0) 64%, rgba(10, 22, 36, .8) 100%),
  linear-gradient(90deg, rgba(8, 18, 30, .97) 0%, rgba(8, 18, 30, .92) 30%, rgba(8, 18, 30, .74) 50%, rgba(8, 18, 30, .38) 72%, rgba(8, 18, 30, .1) 100%),
  radial-gradient(55% 70% at 8% 55%, rgba(110, 42, 26, .45), transparent 72%); }
/* La primera pantalla termina en los botones; el buscador queda justo debajo */
.hero__content { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--topbar-h) + var(--nav-h) + 12px); padding-bottom: clamp(36px, 7svh, 80px); }
.hero__title { font-size: clamp(2.8rem, min(5.6vw, 13svh), 6.8rem); line-height: .95; letter-spacing: -.04em; margin-bottom: 18px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 18px; padding: 5px 14px 5px 5px; opacity: .92; border-radius: 12px 999px 999px 12px; background: linear-gradient(100deg, #FFE7B8 0%, #F2B35C 55%, #E07A4E 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-transform: none; line-height: 1.2; color: var(--night); }
.hero__kicker::before { content: "\2605"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--night); color: var(--gold); font-size: .66rem; flex: none; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
@media (min-width: 901px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line > span { display: inline-block; background: linear-gradient(180deg, #fff 30%, #D9E9F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title em { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .btn--ghost { background: linear-gradient(120deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03)); border-color: rgba(255, 255, 255, .45); }
.hero .btn--ghost:hover { background: #fff; color: var(--night); }
.hero__ctas .btn--primary { background: linear-gradient(120deg, #F2B35C 0%, #E07A4E 50%, #C45A3A 100%); background-size: 160% 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 30px -14px rgba(224, 122, 78, .9); }
.hero__ctas .btn--primary:hover { background-position: 100% 0; }
.js .hero__title .line > span { transform: translateY(105%); animation: rise 1.2s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * .12s + .25s); }
.js .hero__kicker, .js .hero__sub, .js .hero__ctas { opacity: 0; animation: fadeUp 1s var(--ease-out) forwards; }
.js .hero__kicker { animation-delay: .1s; }
.js .hero__sub { animation-delay: .7s; }
.js .hero__ctas { animation-delay: .85s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__sub { max-width: 62ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .9); margin-bottom: 24px; }
.hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero__indicator { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-bottom: 8px; }
.hero__caption { font-size: .85rem; letter-spacing: .08em; color: rgba(255, 255, 255, .8); min-height: 1.4em; margin: 0; transition: opacity .5s; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { position: relative; width: 46px; height: 22px; border: 0; background: none; cursor: pointer; padding: 0; }
.hero__dots button::before, .hero__dots button::after { content: ""; position: absolute; left: 0; top: 10px; height: 2px; border-radius: 2px; }
.hero__dots button::before { right: 0; background: rgba(255, 255, 255, .3); }
.hero__dots button::after { width: 0; background: #fff; }
.hero__dots button.is-active::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
@keyframes progress { to { width: 100%; } }
.hero__bottom { position: relative; z-index: 3; padding-bottom: clamp(28px, 4vw, 52px); }

.booking-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch; gap: 6px; padding: 12px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: var(--shadow-2), 0 0 0 1px rgba(15, 36, 55, .04); }
.booking-bar__field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 10px 18px; border-radius: 16px; transition: background-color .3s; }
.booking-bar__field + .booking-bar__field::before { content: ""; position: absolute; left: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.booking-bar__field:hover, .booking-bar__field:focus-within { background: var(--sand); }
.booking-bar__field label { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.booking-bar__field label .icon { width: 15px; height: 15px; color: var(--terracotta); }
.booking-bar__field input, .booking-bar__field select { width: 100%; min-width: 0; padding: 2px 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.04rem; font-weight: 500; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.booking-bar__field input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.booking-bar .btn { min-height: 68px; border-radius: 18px; padding: 0 30px; }
.booking-bar__note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 2px 18px 4px; font-size: .84rem; color: var(--ink-3); }
.booking-bar__note span { display: inline-flex; align-items: center; gap: 6px; }
.booking-bar__note .icon { width: 16px; height: 16px; color: var(--blue); }
.booking-bar__note .save { padding: 3px 10px; border-radius: 999px; background: var(--terracotta-50); color: var(--terracotta-700); font-weight: 600; }

.page-hero { position: relative; isolation: isolate; min-height: clamp(420px, 60vh, 620px); display: flex; align-items: flex-end; color: #fff; background: var(--night); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 16s var(--ease-out) both; }
@keyframes slowZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 36, .66) 0%, rgba(10, 22, 36, .18) 38%, rgba(10, 22, 36, .86) 100%); }
html[data-page="about"] .page-hero::after, html[data-page="book"] .page-hero::after, html[data-page="rooms"] .page-hero::after { background:
  linear-gradient(180deg, rgba(8, 18, 30, .6) 0%, rgba(8, 18, 30, .2) 30%, rgba(8, 18, 30, .35) 60%, rgba(8, 18, 30, .9) 100%),
  linear-gradient(90deg, rgba(8, 18, 30, .9) 0%, rgba(8, 18, 30, .75) 35%, rgba(8, 18, 30, .4) 65%, rgba(8, 18, 30, .15) 100%); }
.page-hero__content { width: 100%; padding-top: calc(var(--topbar-h) + var(--nav-h) + 40px); padding-bottom: clamp(52px, 7vw, 90px); }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); line-height: 1.02; margin-bottom: 20px; max-width: 16ch; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lead { color: rgba(255, 255, 255, .88); }
.page-hero .chip { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.page-hero .chip .icon { color: var(--gold); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { color: var(--gold); }
.js .page-hero__content > * { opacity: 0; animation: fadeUp 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * .12s + .15s); }

/* 8. INICIO ================================================================ */
.intro { padding-top: clamp(64px, 7.5vw, 110px); }
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.intro__statement { font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3.1rem); line-height: 1.12; margin-bottom: 26px; }
.intro__statement em { color: var(--blue); }
.intro__sign { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--terracotta); margin: 24px 0 30px; }
.collage { position: relative; aspect-ratio: 4 / 4.1; max-height: 72svh; max-width: 480px; width: 100%; justify-self: center; }
.collage::before { content: ""; position: absolute; z-index: -1; left: -22%; bottom: -20%; width: 85%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(140, 58, 28, .32), rgba(140, 58, 28, .1) 50%, transparent); }
.collage__a, .collage__b, .collage__c { position: absolute; overflow: hidden; margin: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { inset: 0 20% 14% 0; border-radius: var(--arch); }
.collage__b { right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow-2); }
.collage__c { right: 4%; top: 8%; width: 28%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--cream); box-shadow: var(--shadow-1); }
.badge-rotate { position: absolute; left: -46px; bottom: 10%; width: 150px; height: 150px; display: grid; place-items: center; background: var(--cream); border-radius: 50%; box-shadow: var(--shadow-1); }
.badge-rotate svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 26s linear infinite; }
.badge-rotate text { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; fill: var(--ink); text-transform: uppercase; }
.badge-rotate img { width: 52px; height: 52px; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.stat { padding: 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.stat__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.stat__icon .icon { width: 22px; height: 22px; }
.stat:nth-child(even) .stat__icon { background: var(--terracotta-50); color: var(--terracotta); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.5rem); line-height: 1; color: var(--night); letter-spacing: -.02em; }
.stat__num small { font-size: .45em; color: var(--terracotta); margin-left: 3px; }
.stat__label { display: block; margin-top: 8px; font-size: .92rem; color: var(--ink-2); }

.marquee { position: relative; overflow: hidden; padding: 16px 0; color: #FFF3E6; background: linear-gradient(90deg, #B4502F 0%, #C45A3A 50%, #B4502F 100%); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, .95rem + .75vw, 1.6rem); line-height: 1.2; white-space: nowrap; }
.marquee__group i { font-style: normal; font-size: .6em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

.pillars { display: flex; gap: 14px; height: clamp(340px, calc(100svh - 380px), 540px); }
.pillar { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); color: #fff; cursor: pointer; outline: none; transition: flex-grow .9s var(--ease-out); }
.pillar.is-active { flex-grow: 2.3; }
.pillar img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.pillar.is-active img { transform: scale(1); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 22, 36, .9) 0%, rgba(10, 22, 36, .25) 55%, rgba(10, 22, 36, .1) 100%); }
.pillar:focus-visible { box-shadow: 0 0 0 3px var(--blue); }
.pillar__num { position: absolute; top: 26px; left: 28px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold); }
.pillar__icon { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: var(--gold); backdrop-filter: blur(8px); }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); }
.pillar__body h3 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.2rem); }
.pillar__text { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease-out), opacity .6s var(--ease), margin .8s var(--ease-out); }
.pillar__text > div { overflow: hidden; }
.pillar__text p { max-width: 40ch; color: rgba(255, 255, 255, .88); margin: 0; }
.pillar.is-active .pillar__text { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }

.positioning { background: radial-gradient(55% 60% at 100% 0%, rgba(170, 70, 35, .42), transparent 70%), var(--night); color: rgba(255, 255, 255, .78); overflow: hidden; }
.positioning .h2 { color: #fff; }
.positioning__grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.positioning .chips { margin-top: 30px; }
.compare { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__head { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.compare__head span:first-child { color: rgba(255, 255, 255, .45); }
.compare__head span:last-child { color: var(--ochre); display: flex; align-items: center; gap: 8px; }
.compare__head img { width: 20px; height: 20px; }
.compare__rows { list-style: none; padding: 0; margin: 0; }
.compare__row { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .98rem; line-height: 1.45; }
.compare__row:last-child { border-bottom: 0; padding-bottom: 0; }
.compare__no, .compare__yes { display: flex; gap: 12px; align-items: flex-start; }
.compare__no { color: rgba(255, 255, 255, .42); }
.compare__no .icon { color: rgba(255, 255, 255, .3); margin-top: 2px; }
.compare__yes { color: #fff; }
.compare__yes .icon { color: var(--ochre); margin-top: 2px; }
.compare__no s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0 1.5px; transition: background-size .8s var(--ease-out); transition-delay: calc(var(--i) * 180ms + 300ms); }
.compare.is-in .compare__no s { background-size: 100% 1.5px; }
.js .compare__yes .icon path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .7s var(--ease-out); transition-delay: calc(var(--i) * 180ms + 600ms); }
.compare.is-in .compare__yes .icon path { stroke-dashoffset: 0; }

/* 9. CARRUSELES Y TARJETAS ================================================= */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 80vw, 370px); gap: clamp(16px, 2vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad);
  padding: 12px var(--rail-pad) 34px; scrollbar-width: none; cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail__track.is-dragging a, .rail__track.is-dragging img { pointer-events: none; }
.rail__controls { display: flex; align-items: center; gap: 20px; }
.rail__progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__progress span { display: block; height: 100%; width: 30%; background: var(--night); border-radius: 2px; transition: width .2s linear, margin .2s linear; }

.room-card { position: relative; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); will-change: transform; }
.room-card:hover { box-shadow: var(--shadow-2); }
.room-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.room-card__media { position: relative; margin: 0; aspect-ratio: 4 / 3.3; overflow: hidden; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__media .tag { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .94); color: var(--ink); }
.room-card__media .tag--star { background: var(--ochre); color: var(--night); }
.room-card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 55%); opacity: 0; transition: opacity .4s; }
.room-card:hover .room-card__glare { opacity: 1; }
.room-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.room-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.room-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .88rem; color: var(--ink-2); }
.room-card__meta li { display: flex; align-items: center; gap: 6px; }
.room-card__meta .icon { width: 17px; height: 17px; color: var(--terracotta); }
.room-card__price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
.room-card__price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--blue); }
.room-card__price .go { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--night); transition: background-color .35s, color .35s, transform .45s var(--ease-out); }
.room-card:hover .room-card__price .go { background: var(--blue); color: #fff; transform: rotate(-45deg); }
.room-card--more { display: grid; place-items: center; text-align: center; background: var(--night); color: #fff; padding: 32px; }
.room-card--more a { color: #fff; text-decoration: none; display: grid; gap: 18px; justify-items: center; }
.room-card--more em { color: var(--ochre); }

/* Tarjetas de experiencias (slider) */
.rail--exp .rail__track { grid-auto-columns: clamp(250px, 74vw, 330px); }
.exp-card { position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 3 / 3.7; border-radius: var(--radius-lg); color: #fff; background: var(--night); }
.exp-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.exp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 22, 36, .92) 0%, rgba(10, 22, 36, .3) 50%, rgba(10, 22, 36, 0) 72%); }
.exp-card:hover img { transform: scale(1.07); }
.exp-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.exp-card .tag { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); margin-bottom: 12px; }
.exp-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.exp-card p { font-size: .95rem; color: rgba(255, 255, 255, .86); margin: 0; }
.exp-card--tours { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 26px; background: linear-gradient(160deg, var(--terracotta) 0%, #7E3320 100%); }
.exp-card--tours::after { display: none; }
.exp-card--tours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle 360px at 100% 0%, rgba(200, 90, 45, .5), transparent 70%), radial-gradient(circle 300px at 0% 100%, rgba(196, 90, 58, .35), transparent 70%); }
.exp-card--tours .icon-wrap { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .16); color: #fff; margin-bottom: auto; }
.exp-card--tours .icon-wrap .icon { width: 28px; height: 28px; }
.exp-card--tours p { margin-bottom: 8px; }

/* Instagram: franja de fotos en movimiento */
.insta__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.insta__handle { display: flex; align-items: center; gap: 16px; }
.insta__avatar { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); }
.insta__avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--cream); border: 3px solid var(--cream); }
.insta__avatar img { width: 36px; height: 36px; }
.insta__handle strong { display: block; font-size: 1.15rem; }
.insta__handle small { color: var(--ink-3); font-size: .9rem; }
.photo-marquee { overflow: hidden; padding-bottom: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.photo-marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.photo-marquee:hover .photo-marquee__track { animation-play-state: paused; }
.photo-marquee__tile { position: relative; display: block; flex: none; width: clamp(180px, 21vw, 270px); aspect-ratio: 1; overflow: hidden; border-radius: 20px; }
.photo-marquee__tile:nth-child(even) { translate: 0 22px; }
.photo-marquee__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.photo-marquee__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 125, 202, .75), rgba(196, 90, 58, .75)); opacity: 0; transition: opacity .45s; }
.photo-marquee__tile .icon { position: absolute; left: 50%; top: 50%; z-index: 1; width: 34px; height: 34px; color: #fff; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .45s, transform .6s var(--ease-out); }
.photo-marquee__tile:hover img { transform: scale(1.1); }
.photo-marquee__tile:hover::after { opacity: 1; }
.photo-marquee__tile:hover .icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.stars-field i { position: absolute; width: var(--s, 2px); height: var(--s, 2px); border-radius: 50%; background: #fff; animation: twinkle var(--t, 3s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }

/* 11. RESERVA DIRECTO (talavera) ========================================== */
.direct { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.direct::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='white' stroke-width='1.3'%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Cpath d='M40 12c6 9 6 17 0 28c-6-11-6-19 0-28zM40 68c6-9 6-17 0-28c-6 11-6 19 0 28zM12 40c9-6 17-6 28 0c-11 6-19 6-28 0zM68 40c-9-6-17-6-28 0c11 6 19 6 28 0z'/%3E%3Cpath d='M0 10a10 10 0 0 0 10-10M70 0a10 10 0 0 0 10 10M80 70a10 10 0 0 0-10 10M10 80a10 10 0 0 0-10-10'/%3E%3C/g%3E%3Cg fill='white'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='0' cy='0' r='3.5'/%3E%3Ccircle cx='80' cy='0' r='3.5'/%3E%3Ccircle cx='0' cy='80' r='3.5'/%3E%3Ccircle cx='80' cy='80' r='3.5'/%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3Ccircle cx='60' cy='20' r='1.5'/%3E%3Ccircle cx='20' cy='60' r='1.5'/%3E%3Ccircle cx='60' cy='60' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 92px; animation: tiles 70s linear infinite;
}
@keyframes tiles { to { background-position: 92px 184px; } }
.direct::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle clamp(300px, 40vw, 620px) at 12% 30%, rgba(110, 200, 255, .45), transparent 70%), radial-gradient(circle clamp(320px, 45vw, 700px) at 92% 85%, rgba(110, 42, 26, .6), transparent 72%), radial-gradient(ellipse at 40% 50%, rgba(0, 60, 110, 0) 20%, rgba(0, 40, 80, .75) 100%); }
.direct__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.direct .h2 { color: #fff; }
.direct .h2 em, .direct .eyebrow { color: var(--gold); }
.direct .lead { color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 28px); transition: transform .5s var(--ease-out), box-shadow .5s; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .6); }
.benefit:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.benefit:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.benefit__big { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 2.1rem + 1.8vw, 3.5rem); line-height: 1; color: var(--terracotta); margin-bottom: 12px; letter-spacing: -.03em; }
.benefit .icon-wrap { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.benefit .icon-wrap .icon { width: 26px; height: 26px; }
.benefit h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; letter-spacing: 0; }
.benefit p { font-size: .94rem; color: var(--ink-2); line-height: 1.5; }

/* 12. OPINIONES / UBICACIÓN =============================================== */
.reviews__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rating-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-1); text-align: center; }
.rating-card__g { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.rating-card__g svg { width: 22px; height: 22px; }
.rating-card__score { font-family: var(--font-display); font-weight: 600; font-size: clamp(4.6rem, 3.8rem + 3.4vw, 7rem); line-height: .95; color: var(--night); margin: 12px 0 8px; letter-spacing: -.04em; }
.stars { position: relative; display: inline-flex; color: #E8DCCB; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; display: flex; color: var(--ochre); width: calc(var(--rating, 5) / 5 * 100%); }
.stars .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; flex: none; }
.rating-card .btn-row { justify-content: center; margin-top: 24px; }
.rating-card small { display: block; margin-top: 12px; color: var(--ink-3); font-size: .86rem; }
.trust { display: grid; gap: 12px; margin-top: 30px; }
.trust__item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.trust__item .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--terracotta); box-shadow: var(--shadow-1); }
.trust__item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.trust__item p { font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.reviews-widget:empty { display: none; }
.reviews-widget { margin-top: 48px; }

.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.distance { display: flex; gap: 24px; align-items: flex-end; margin: 26px 0 30px; flex-wrap: wrap; }
.distance__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.6rem); line-height: .9; color: var(--blue); letter-spacing: -.03em; }
.distance__num small { font-size: .42em; color: var(--ink-2); }
.distance__label { font-size: .95rem; color: var(--ink-2); line-height: 1.45; padding-bottom: 6px; }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: center; }
.info-list .icon-wrap { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--terracotta); box-shadow: var(--shadow-1); }
.info-list .icon-wrap .icon { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--blue); }
.map { position: relative; aspect-ratio: 4 / 3; max-height: 62svh; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map__card { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1); font-size: .88rem; line-height: 1.35; pointer-events: none; }
.map__card img { width: 38px; height: 38px; }
.map__card strong { display: block; font-size: .95rem; }

/* 13. CATÁLOGO DE HABITACIONES ============================================ */
.filters { position: sticky; top: calc(var(--nav-h) + 12px); z-index: 20; display: flex; justify-content: center; margin-bottom: clamp(32px, 4.5vw, 52px); pointer-events: none; }
.filters__inner { position: relative; display: inline-flex; gap: 4px; max-width: 100%; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-1); overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.filters__inner::-webkit-scrollbar { display: none; }
.filters button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: .92rem; white-space: nowrap; transition: color .4s; }
.filters button .icon { width: 17px; height: 17px; }
.filters button[aria-pressed="true"] { color: #fff; }
.filters__pill { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--night); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }

.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.cat-card.is-hidden { display: none; }
.cat-card.is-shown { animation: cardIn .7s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.cat-card__media { position: relative; aspect-ratio: 4 / 3.1; background: var(--sand-2); }
.cat-card__media .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 255, 255, .94); color: var(--ink); pointer-events: none; }
.cat-card__media .tag--star { background: var(--ochre); color: var(--night); }
.cat-card__price { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 8px 14px; border-radius: 14px; background: var(--night); color: rgba(255, 255, 255, .8); font-size: .76rem; line-height: 1.15; text-align: right; pointer-events: none; }
.cat-card__price strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.cat-card .slider__dots { left: 16px; transform: none; }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.cat-card__title { font-size: 1.55rem; margin-bottom: 6px; }
.cat-card__title a { color: inherit; text-decoration: none; }
.cat-card__title a:hover { color: var(--blue); }
.cat-card__body > p { color: var(--ink-2); font-size: .98rem; margin-bottom: 14px; }
.cat-card__meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.cat-card__meta li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--sand); font-size: .84rem; }
.cat-card__meta .icon { width: 16px; height: 16px; color: var(--terracotta); }
.cat-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-card--help { position: relative; isolation: isolate; justify-content: center; align-items: flex-start; gap: 16px; padding: 32px; background: var(--night); color: #fff; }
.cat-card--help::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle 340px at 100% 0%, rgba(200, 90, 45, .45), transparent 70%), radial-gradient(circle 280px at 0% 100%, rgba(196, 90, 58, .3), transparent 70%); }
.cat-card--help .icon-wrap { width: 58px; height: 58px; border-radius: 18px; background: rgba(37, 211, 102, .16); color: var(--wa); }
.cat-card--help .icon-wrap .icon { width: 28px; height: 28px; }
.cat-card--help .cat-card__title { font-size: 1.7rem; color: #fff; }
.cat-card--help .cat-card__title em { color: var(--ochre); }
.cat-card--help p { color: rgba(255, 255, 255, .8); }

.compare-table { overflow-x: auto; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); }
.compare-table table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); background: var(--cream); white-space: nowrap; }
.compare-table thead .icon { width: 16px; height: 16px; color: var(--terracotta); display: inline-block; vertical-align: -3px; margin-right: 6px; }
.compare-table tbody th a { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.compare-table tbody th img { width: 64px; height: 48px; flex: none; object-fit: cover; border-radius: 10px; }
.compare-table tbody tr { transition: background-color .25s; }
.compare-table tbody tr:hover { background: var(--cream); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table .num { font-weight: 600; color: var(--blue); white-space: nowrap; }

/* 14. PÁGINA DE HABITACIÓN =================================================== */
.room-top { position: relative; z-index: 2; background: #fff; color: var(--ink); padding: calc(var(--topbar-h) + var(--nav-h) + 30px) 0 clamp(56px, 7vw, 90px); }
.room-top__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.room-top .breadcrumb { margin-bottom: 26px; }
.room-top h1 { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; margin: 16px 0 14px; }
.room-top__tagline { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: rgba(255, 255, 255, .85); max-width: 40ch; margin-bottom: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; }
.facts .icon { width: 18px; height: 18px; color: var(--gold); }
.room-top__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.price-pill { line-height: 1.15; }
.price-pill small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.price-pill strong { font-family: var(--font-display); font-size: clamp(2.2rem, 1.9rem + 1.2vw, 3rem); color: #fff; letter-spacing: -.02em; }
.price-pill span { font-size: .88rem; color: rgba(255, 255, 255, .78); }
.price-pill--ask strong { font-size: 1.6rem; }
.room-top__gallery { position: relative; min-width: 0; }
.slider--hero { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); overflow: hidden; background: var(--night-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.slider--hero .slider__count { top: auto; bottom: 18px; right: 18px; }
.room-top__photos { position: absolute; left: 18px; bottom: 18px; z-index: 3; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .3s, border-color .3s, transform .3s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: .85; }
.thumbs button.is-active { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }

.overview { display: grid; grid-template-columns: 1fr 380px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.overview__label { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.overview__subtitle { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin: 46px 0 18px; }
.overview__subtitle .icon { color: var(--terracotta); width: 26px; height: 26px; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1); font-size: .96rem; line-height: 1.3; }
.amenities .icon-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.amenities li:nth-child(4n+2) .icon-wrap, .amenities li:nth-child(4n+3) .icon-wrap { background: var(--terracotta-50); color: var(--terracotta); }
.amenities .icon-wrap .icon { width: 21px; height: 21px; }
.book-card { position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; isolation: isolate; }
.book-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle 320px at 100% 0%, rgba(140, 58, 28, .15), transparent 70%); }
.book-card__label { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.book-card__price { margin-bottom: 18px; line-height: 1.2; }
.book-card__price strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--night); letter-spacing: -.02em; }
.book-card__price span { color: var(--ink-3); font-size: .9rem; }
.book-card__price--ask strong { font-size: 1.7rem; }
.book-card__perks { list-style: none; padding: 16px 0; margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: .94rem; }
.book-card__perks li { display: flex; gap: 10px; align-items: center; }
.book-card__perks .icon { width: 20px; height: 20px; color: var(--wa-700); }
.book-card .btn + .btn { margin-top: 10px; }
.book-card__note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: .84rem; color: var(--ink-3); line-height: 1.5; }
.book-card__note .icon { width: 17px; height: 17px; margin-top: 2px; }

.rail--gallery .rail__track { grid-auto-columns: clamp(250px, 76vw, 440px); }
.gal-card { margin: 0; }
.gal-card a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gal-card a:hover img { transform: scale(1.06); }
.gal-card figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.gal-card figcaption .icon { width: 18px; height: 18px; color: var(--terracotta); }

.know { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.know__times { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 24px; }
.know__times > div { flex: 1 1 150px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); }
.know__times .icon { width: 26px; height: 26px; color: var(--terracotta); margin-bottom: 8px; stroke-width: 1.5; }
.know__times small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.know__times strong { font-family: var(--font-display); font-size: 1.7rem; }
.know__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.know__list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 1rem; }
.know__list .icon-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--terracotta-50); color: var(--terracotta-700); }
.know__list .icon-wrap .icon { width: 22px; height: 22px; }

/* 15. NOSOTROS ============================================================ */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.big-year {
  font-family: var(--font-display); font-weight: 700; line-height: .85; letter-spacing: -.05em;
  font-size: clamp(6rem, 2.6rem + 11vw, 14rem);
  color: transparent; -webkit-text-fill-color: transparent;
  background-image: url("../img/hotel/jardin-portal-sm.jpg"); background-size: cover; background-position: 50% var(--by, 50%);
  -webkit-background-clip: text; background-clip: text;
  margin: 0 0 14px;
}
.big-year + p { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--terracotta); }
.story__text p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; }
.story__text .intro__statement { font-size: clamp(1.8rem, 1.25rem + 1.7vw, 2.7rem); }

.mural { position: relative; isolation: isolate; min-height: clamp(440px, 74vh, 680px); display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.mural__img { position: absolute; inset: -12% 0; z-index: -2; }
.mural__img img { width: 100%; height: 100%; object-fit: cover; }
.mural::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8, 18, 30, .7), rgba(8, 18, 30, .92)); }
.mural blockquote { margin: 0 auto; max-width: 20ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 3vw, 4rem); line-height: 1.1; letter-spacing: -.02em; }
.mural blockquote em { color: var(--gold); font-weight: 500; }
.mural cite { display: block; margin-top: 22px; font-family: var(--font-body); font-style: normal; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

.timeline { position: relative; max-width: 940px; margin-inline: auto; list-style: none; padding: 0; }
.timeline::before, .timeline__fill { content: ""; position: absolute; left: 50%; top: 0; width: 2px; transform: translateX(-50%); border-radius: 2px; }
.timeline::before { bottom: 0; background: var(--sand-2); }
.timeline__fill { height: var(--fill, 0%); background: linear-gradient(var(--terracotta), var(--blue)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 26px 0; }
.timeline__dot { position: absolute; left: 50%; top: 26px; z-index: 1; width: 54px; height: 54px; border-radius: 50%; transform: translateX(-50%); background: var(--cream); border: 2px solid var(--sand-2); color: var(--ink-3); transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.timeline__dot .icon { width: 22px; height: 22px; }
.timeline__item.is-passed .timeline__dot { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 0 0 8px rgba(196, 90, 58, .14); }
.timeline__card { grid-column: 1; text-align: right; }
.timeline__item.alt .timeline__card { grid-column: 2; text-align: left; }
.timeline__when { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; color: var(--terracotta); margin-bottom: 10px; letter-spacing: -.02em; }
.timeline__card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.timeline__card p { color: var(--ink-2); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 50px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .5s, transform .6s var(--ease-out); }
.mv__card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0, 125, 202, .35), transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.mv__card:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-4px); }
.mv__card:hover::before { opacity: 1; }
.mv__card .icon-wrap { width: 58px; height: 58px; border-radius: 18px; background: rgba(227, 166, 70, .14); color: var(--ochre); margin-bottom: 24px; }
.mv__card .icon-wrap .icon { width: 28px; height: 28px; }
.mv__card h3 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.mv__card p { position: relative; font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, .84); }

.strengths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.strength { position: relative; padding: 28px 22px 26px; border-radius: var(--radius); background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s; }
.strength:hover { transform: translateY(-8px); box-shadow: var(--shadow-1); }
.strength::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 24px; right: 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--terracotta); }
.strength .icon-wrap { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.strength:nth-child(even) .icon-wrap { background: var(--terracotta-50); color: var(--terracotta); }
.strength .icon-wrap .icon { width: 25px; height: 25px; }
.strength h3 { font-size: 1.3rem; margin-bottom: 8px; }
.strength p { font-size: .93rem; color: var(--ink-2); line-height: 1.55; }

.guests__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.guests__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.guests__list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1); font-size: 1rem; transition: transform .5s var(--ease-out); }
.guests__list li:hover { transform: translateX(8px); }
.guests__list .icon-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--terracotta-50); color: var(--terracotta); }
.guests__list .icon-wrap .icon { width: 21px; height: 21px; }
.guests__photos { position: relative; aspect-ratio: 1 / .95; max-height: 70svh; }
.guests__photos::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -20%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(140, 58, 28, .32), rgba(140, 58, 28, .1) 50%, transparent); }
.guests__photos figure { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--shadow-2); }
.guests__photos figure img { width: 100%; height: 100%; object-fit: cover; }
.guests__photos figure:nth-child(1) { inset: 0 28% 20% 0; border-radius: var(--arch); }
.guests__photos figure:nth-child(2) { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); border: 8px solid var(--cream); }

.house .rail__track { grid-auto-columns: clamp(250px, 70vw, 340px); }
.house__card { margin: 0; }
.house__card a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; cursor: zoom-in; }
.house__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.house__card a:hover img { transform: scale(1.06); }
.house__card figcaption { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.house__card figcaption .icon-wrap { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--terracotta); box-shadow: var(--shadow-1); }
.house__card figcaption .icon-wrap .icon { width: 19px; height: 19px; }
.house__card figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.house__card figcaption small { color: var(--ink-3); font-size: .86rem; }

/* 16. SERVICIOS =========================================================== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out), box-shadow .5s; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.service .icon-wrap { width: 50px; height: 50px; border-radius: 15px; background: var(--sand); color: var(--terracotta); transition: background-color .45s, color .45s, transform .6s var(--ease-out); }
.service .icon-wrap .icon { width: 24px; height: 24px; }
.service:hover .icon-wrap { background: var(--terracotta); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.service p { font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.extras { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed rgba(27, 36, 48, .25); background: rgba(255, 255, 255, .5); }
.extras > strong { margin-right: 6px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.extras .chip { background: #fff; }

/* 17. RESERVAR ============================================================ */
.book__benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.mini-benefit { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); font-size: .94rem; line-height: 1.35; }
.mini-benefit .icon-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.mini-benefit strong { display: block; }
.engine { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
.engine__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 24px; background: var(--night); color: rgba(255, 255, 255, .85); font-size: .88rem; }
.engine__bar span { display: inline-flex; align-items: center; gap: 8px; }
.engine__bar .icon { width: 17px; height: 17px; color: var(--ochre); }
.engine__bar a { color: #fff; text-underline-offset: 3px; }
.engine__search { padding: 16px; background: var(--sand); }
.engine__search .booking-bar { box-shadow: none; }
.engine__frame { position: relative; height: clamp(660px, 86vh, 920px); background: #fff; }
.engine__frame iframe { width: 100%; height: 100%; border: 0; }
.engine__loader { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; background: #fff; color: var(--ink-3); font-size: .95rem; transition: opacity .5s, visibility .5s; }
.engine__loader::before { content: ""; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--blue-50); border-top-color: var(--blue); animation: spin 1s linear infinite; }
.engine.is-loaded .engine__loader { opacity: 0; visibility: hidden; }

.channels__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.panel { padding: clamp(26px, 3.4vw, 42px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); }
.panel .h3 { margin-bottom: 8px; }
.panel > p { color: var(--ink-2); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); text-decoration: none; transition: transform .45s var(--ease-out), box-shadow .45s; }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-2); }
.contact-card .icon-wrap { width: 50px; height: 50px; border-radius: 50%; background: var(--sand); color: var(--terracotta); }
.contact-card--wa .icon-wrap { background: #E4F8EC; color: var(--wa-700); }
.contact-card small { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.contact-card strong { font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.contact-card .arrow { margin-left: auto; color: var(--ink-3); }

.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.schedule__item { padding: 24px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); }
.schedule__item .icon-wrap { width: 50px; height: 50px; border-radius: 15px; background: var(--terracotta-50); color: var(--terracotta); margin-bottom: 14px; }
.schedule__item:nth-child(even) .icon-wrap { background: var(--blue-50); color: var(--blue); }
.schedule__item .icon-wrap .icon { width: 24px; height: 24px; }
.schedule__item small { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.schedule__item strong { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.15; color: var(--night); margin: 4px 0 6px; letter-spacing: -.02em; }
.schedule__item p { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

.policies__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.policies__aside { position: sticky; top: calc(var(--nav-h) + 30px); }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s; }
.rule:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); border-color: transparent; }
.rule .icon-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.rule:nth-child(even) .icon-wrap { background: var(--terracotta-50); color: var(--terracotta); }
.rule h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; line-height: 1.3; }
.rule p { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }

/* 18. FORMULARIOS / ACORDEÓN =============================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid rgba(27, 36, 48, .16); border-radius: 14px; background: var(--cream); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.input:hover { border-color: rgba(27, 36, 48, .3); }
.input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 125, 202, .14); }
textarea.input { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B2430' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form-note { font-size: .85rem; color: var(--ink-3); margin-top: 14px; }

.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--blue); }
.acc__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-50); color: var(--blue); transition: background-color .4s, color .4s; }
.acc__ico .icon { width: 21px; height: 21px; }
.acc[open] .acc__ico { background: var(--terracotta); color: #fff; }
.acc__icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon { transform: rotate(135deg); background: var(--night); border-color: var(--night); color: #fff; }
.acc__body { padding: 0 4px 22px 64px; color: var(--ink-2); max-width: 72ch; overflow: hidden; }

/* 19. ATARDECER + FOOTER =================================================== */
.sunset { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(80px, 9vw, 130px); text-align: center; color: #fff; background: radial-gradient(50% 45% at 50% 100%, rgba(90, 130, 170, .12), transparent 70%), linear-gradient(180deg, #08131F 0%, #0B1A2B 30%, #0E2338 55%, #122C45 78%, #163451 100%); }
.stars-field { position: absolute; inset: 0 0 55% 0; z-index: -1; pointer-events: none; }
.sunset__sun { position: absolute; left: 50%; bottom: clamp(20px, 5vw, 70px); z-index: -1; width: clamp(220px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(190, 210, 226, .32) 0%, rgba(140, 170, 196, .16) 34%, rgba(120, 160, 196, .05) 55%, rgba(120, 160, 196, 0) 70%); }
.sunset__content { position: relative; }
.sunset .h2 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); margin-bottom: 18px; }
.sunset .h2 em { background: linear-gradient(100deg, #DCE8F1 0%, #AFC9DD 50%, #8DB2CF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sunset .eyebrow { color: #A9C3D8; justify-content: center; }
.sunset .lead { color: rgba(255, 255, 255, .9); margin: 0 auto 32px; text-wrap: balance; }
.sunset .btn-row { justify-content: center; }
.skyline { position: relative; z-index: 1; display: block; width: 100%; height: clamp(130px, 18vw, 260px); margin-top: clamp(50px, 7vw, 90px); }
.skyline__hills { fill: #10263C; opacity: .6; }
.skyline__city { fill: var(--night); }
.skyline__palms { stroke: var(--night); }

.site-footer { position: relative; margin-top: -1px; padding: clamp(36px, 5vw, 64px) 0 30px; background: var(--night); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand img { width: 220px; margin-bottom: 20px; }
.footer__brand p { max-width: 32ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color .35s, border-color .35s, transform .45s var(--ease-out); }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer__social .icon { width: 19px; height: 19px; }
.footer__badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); font-size: .84rem; line-height: 1.35; }
.footer__badge .icon { width: 22px; height: 22px; color: var(--ochre); }
.site-footer h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links, .footer__contact { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; transition: color .3s; }
.footer__links .icon { width: 15px; height: 15px; color: var(--ochre); transition: transform .35s var(--ease-out); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover .icon { transform: translateX(3px); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--ochre); margin-top: 3px; }
.footer__contact a { text-decoration: none; transition: color .3s; }
.footer__contact a:hover { color: #fff; }
.footer__contact strong { color: #fff; font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__credit a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 4px; transition: color .3s; }
.footer__credit a:hover { color: var(--ochre); }

/* 20. WHATSAPP FLOTANTE ==================================================== */
.wa-float { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .45s var(--ease-out), background-color .3s; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s var(--ease-out) infinite; }
.wa-float__btn:hover { transform: scale(1.08) rotate(-6deg); background: var(--wa-700); }
.wa-float__btn svg { width: 32px; height: 32px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-float__bubble { position: relative; max-width: 250px; padding: 14px 40px 14px 16px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-2); font-size: .92rem; line-height: 1.45; transform-origin: bottom right; animation: bubbleIn .7s var(--ease-out) both; }
.wa-float__bubble[hidden] { display: none; }
.wa-float__bubble strong { display: block; font-size: .8rem; color: var(--wa-700); letter-spacing: .06em; }
.wa-float__bubble a { color: inherit; text-decoration: none; }
.wa-float__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; display: grid; place-items: center; }
.wa-float__close .icon { width: 14px; height: 14px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(12px) scale(.85); } }

/* Sliders de fotos (una foto por vista, deslizable) */
.slider { position: absolute; inset: 0; }
.slider--hero { position: relative; inset: auto; }
.slider__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { position: relative; display: block; flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slider__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.slider__slide[data-lightbox] { cursor: zoom-in; }
.slider__btn { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; transform: translateY(-50%); opacity: 0; transition: opacity .35s, background-color .3s; }
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }
.slider:hover .slider__btn, .slider__btn:focus-visible { opacity: 1; }
.slider__btn:hover { background: #fff; }
.slider__dots { position: absolute; left: 50%; bottom: 16px; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .45s var(--ease-out), background-color .3s; }
.slider__dots button.is-active { width: 24px; background: #fff; }
.slider__count { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 22, 36, .6); color: #fff; font-size: .8rem; backdrop-filter: blur(6px); pointer-events: none; }
.slider__count .icon { width: 15px; height: 15px; }

/* 21. LIGHTBOX ============================================================= */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 70px 80px; background: rgba(8, 16, 27, .95); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: min(100%, 1400px); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transition: opacity .35s, transform .5s var(--ease-out); }
.lightbox__img.is-changing { opacity: 0; transform: scale(.97); }
.lightbox__cap { color: rgba(255, 255, 255, .82); font-size: .95rem; text-align: center; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .3s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 18px; right: 20px; }
.lightbox__count { position: absolute; top: 34px; left: 28px; color: rgba(255, 255, 255, .75); font-size: .8rem; letter-spacing: .22em; }

/* 22. RESPONSIVE =========================================================== */
@media (max-width: 1100px) {
  .strengths { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .book__benefits { grid-template-columns: repeat(2, 1fr); }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .booking-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-bar .btn { grid-column: 1 / -1; min-height: 58px; }
  .overview { grid-template-columns: 1fr 340px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__menu, .nav__actions > .lang { display: none; }
  .nav__toggle { display: block; }
  .nav__logo { width: 168px; }
  .nav__cta { min-height: 40px; padding: 0 16px; font-size: .86rem; }


  .hero__grid { grid-template-columns: 1fr; }
  .hero__indicator { align-items: flex-start; }
  .hero__bottom { margin-bottom: 0; padding-bottom: 28px; }
  .booking-bar { background: rgba(255, 255, 255, .96); }


  .intro__grid, .positioning__grid, .direct__grid, .reviews__grid, .location__grid, .story__grid, .guests__grid, .channels__grid, .policies__grid, .room-top__grid, .overview, .know { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; }
  .badge-rotate { left: -10px; width: 124px; height: 124px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .pillars { flex-direction: column; height: auto; }
  .pillar { flex: none; height: 400px; }
  .pillar .pillar__text { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
  .pillar img { transform: none; }

  .mv { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .timeline::before, .timeline__fill { left: 26px; transform: none; }
  .timeline__item { grid-template-columns: 1fr; gap: 0; padding-left: 78px; }
  .timeline__dot { left: 0; transform: none; top: 22px; }
  .timeline__card, .timeline__item.alt .timeline__card { grid-column: 1; text-align: left; }
  .policies__aside { position: static; }
  .book-card { position: relative; top: auto; }
  .room-top__gallery { order: -1; }
  .lightbox { padding: 64px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .slider__btn { opacity: 1; width: 40px; height: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav { gap: 12px; }
  .nav__logo { width: 140px; }
  .nav__actions { gap: 8px; }
  .nav__cta-more { display: none; }
  .nav__toggle { width: 42px; height: 42px; }
  .nav__toggle span { left: 12px; right: 12px; }
  .nav__toggle span:nth-child(1) { top: 16px; }
  .nav__toggle span:nth-child(2) { top: 24px; }
  /* Telefono: oscuro detras del texto y los botones; abajo la foto queda limpia */
  .hero__shade { background: linear-gradient(180deg, rgba(8, 18, 30, .82) 0%, rgba(8, 18, 30, .72) 38%, rgba(8, 18, 30, .5) 56%, rgba(8, 18, 30, .1) 70%, rgba(8, 18, 30, 0) 84%, rgba(8, 18, 30, .35) 100%); }
  /* Telefono: titulo y botones arriba; la foto se luce abajo */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 24px, 0); }
  .hero__content { justify-content: flex-start; padding-top: calc(var(--nav-h) + clamp(28px, 9svh, 90px)); padding-bottom: 26px; }
  .hero__grid { flex: 1; display: flex; flex-direction: column; }
  .hero__slide.is-active img { animation-name: kenburnsM; }
  @keyframes kenburnsM { from { transform: scale(1.07); } to { transform: scale(1); } }
  .hero__indicator { margin-top: auto; }
  .hero__kicker { font-size: .76rem; margin-bottom: 14px; }
  .hero__title { font-size: clamp(2.15rem, 10.2vw, 3rem); margin-bottom: 16px; }
  .hero__sub { font-size: .98rem; line-height: 1.55; margin-bottom: 20px; }
  .hero__ctas { flex-wrap: nowrap; gap: 8px; }
  .hero__ctas .btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; font-size: .92rem; }
  .hero__grid { gap: 16px; }
  .hero__caption { display: none; }
  .hero__indicator { padding-bottom: 0; }
  .hero__bottom { padding-bottom: 16px; }

  .hero .booking-bar .btn { min-height: 50px; }
  .booking-bar { grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 20px; }
  .booking-bar__field { padding: 10px 12px; }
  .booking-bar__field:nth-child(3) { grid-column: 1 / -1; }
  .booking-bar__field + .booking-bar__field::before { display: none; }
  .booking-bar__note { margin-inline: 8px; font-size: .8rem; }
  .stats { gap: 10px; }
  .stat { padding: 20px 16px; }
  .compare__head, .compare__row { grid-template-columns: 1fr; gap: 8px; }
  .compare__head span:first-child { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .services, .strengths, .rules, .schedule, .book__benefits, .catalog, .amenities { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .wa-float__btn { width: 56px; height: 56px; }
  .wa-float__bubble { max-width: 220px; }
  .distance { gap: 18px; }
  .engine__frame { height: 78svh; min-height: 600px; }
  .acc summary { gap: 12px; }
  .acc__ico { width: 38px; height: 38px; border-radius: 12px; }
  .acc__body { padding-left: 4px; }
  .thumbs button { width: 74px; }
  .room-top__buy .btn-row, .room-top__buy .btn { width: 100%; }
  .cat-card__foot { flex-wrap: wrap; }
}

@media (hover: none) {
  .slider__btn { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track, .photo-marquee__track { animation: none; }
}
