/* =============================================================================
   Hotel Cultura Plaza — hoja de estilos principal
   ============================================================================= */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens de diseño ---------- */
:root {
  color-scheme: light dark;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #efeae0;
  --ink: #1b201c;
  --ink-2: #4d5650;
  --ink-3: #7a837c;
  --line: rgb(27 32 28 / 0.1);
  --brand: #2e5a3e;
  --brand-strong: #21452e;
  --brand-soft: #e1eadf;
  --on-brand: #ffffff;
  --gold: #a87c22;
  --gold-bright: #d4a640;
  --gold-soft: #f4ead2;
  --danger: #b3261e;
  --shadow-sm: 0 1px 2px rgb(20 30 22 / 0.06), 0 2px 8px rgb(20 30 22 / 0.05);
  --shadow-md: 0 4px 12px rgb(20 30 22 / 0.07), 0 18px 40px -12px rgb(20 30 22 / 0.18);
  --shadow-lg: 0 30px 80px -20px rgb(20 30 22 / 0.35);
  --glass: rgb(255 255 255 / 0.72);
  --glass-line: rgb(255 255 255 / 0.5);

  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --pill: 999px;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 4.5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.6vw, 3.8rem);
  --step-5: clamp(2.8rem, 2rem + 4.4vw, 5.6rem);
}

:root[data-theme="dark"] {
  --bg: #0e1310;
  --surface: #151c17;
  --surface-2: #1c251f;
  --ink: #edf0ea;
  --ink-2: #b0b9b2;
  --ink-3: #848e87;
  --line: rgb(237 240 234 / 0.1);
  --brand: #8cc09a;
  --brand-strong: #a6d2b2;
  --brand-soft: #1f3226;
  --on-brand: #0e1310;
  --gold: #e0b95e;
  --gold-bright: #ecc874;
  --gold-soft: #2c2616;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 0.3), 0 18px 40px -12px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 30px 80px -20px rgb(0 0 0 / 0.7);
  --glass: rgb(21 28 23 / 0.72);
  --glass-line: rgb(255 255 255 / 0.08);
}

/* ---------- Reset moderno ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  interpolate-size: allow-keywords;
}
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--gold-bright); color: #1b201c; }
:focus-visible { outline: 2.5px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utilidades ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden {
  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; top: 0.75rem; left: 0.75rem; z-index: 1000;
  padding: 0.75rem 1.25rem; border-radius: var(--pill);
  background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none;
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; pointer-events: none; }
.icon-lg { width: 1.6rem; height: 1.6rem; }
[hidden] { display: none !important; }
html[lang="en"] [data-only="es"], html[lang="es"] [data-only="en"] { display: none !important; }

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--surface-2); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.title { font-size: var(--step-4); }
.title em { font-style: italic; color: var(--brand); font-weight: 400; }
.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.6; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-line: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border-radius: var(--pill); border: 1.5px solid var(--btn-line);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), background-color 0.25s, color 0.25s, box-shadow 0.3s, border-color 0.25s;
  isolation: isolate; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon--move { transform: translateX(4px); }
.btn--gold { --btn-bg: var(--gold-bright); --btn-fg: #1b201c; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--line); }
.btn--ghost:hover { --btn-line: var(--ink); }
.btn--light { --btn-bg: rgb(255 255 255 / 0.12); --btn-fg: #fff; --btn-line: rgb(255 255 255 / 0.4); backdrop-filter: blur(10px); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: #1b201c; }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #06351b; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; color: inherit; transition: background-color 0.2s, transform 0.3s var(--ease-spring);
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.icon-btn:active { transform: scale(0.92); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--brand); text-decoration: none;
}
.link-arrow .icon { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: transform 0.45s var(--ease-out), background-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.45), transparent);
  transition: opacity 0.35s;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header--solid { color: var(--ink); background: var(--glass); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.site-header--solid::before { display: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 2.75rem; height: 2.75rem; padding: 0.3rem; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); flex: none;
}
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; display: flex; gap: 0.4rem; align-items: center; }
.brand-stars { color: var(--gold-bright); letter-spacing: 0.1em; }

.main-nav { display: none; }
.main-nav ul { display: flex; }
.main-nav a {
  position: relative; display: block; padding: 0.5rem 0.35rem; border-radius: var(--pill);
  font-size: 0.9rem; font-weight: 600; text-decoration: none; opacity: 0.9; white-space: nowrap;
  transition: opacity 0.2s, background-color 0.2s;
}.main-nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.main-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0.15rem; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-bright); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem; height: 2.5rem; padding-inline: 0.75rem;
  border-radius: var(--pill); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em;
  text-decoration: none; transition: background-color 0.2s;
}
.lang-toggle:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.lang-toggle .opt { opacity: 0.5; }
.lang-toggle .opt.is-active { opacity: 1; }
.header-cta { display: none; }
.theme-toggle .i-moon, :root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }

.brand-name, .brand-sub { white-space: nowrap; }
@media (max-width: 479px) {
  .header-inner { gap: 0.25rem; }
  .brand { gap: 0.55rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { letter-spacing: 0.12em; font-size: 0.6rem; }
  .lang-toggle { padding-inline: 0.45rem; }
  .lang-toggle > .icon { display: none; }
  .icon-btn { width: 2.5rem; height: 2.5rem; }
}
@media (min-width: 1280px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 640px) { .header-cta { display: inline-flex; margin-left: 0.5rem; } }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--bg); color: var(--ink);
  clip-path: circle(0% at calc(100% - 2.5rem) 2.25rem);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease-out), visibility 0s 0.6s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.25rem); visibility: visible; transition: clip-path 0.7s var(--ease-out); }
.mobile-menu ul { display: grid; gap: 0.25rem; align-content: start; }
.mobile-menu a.nav-link {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.6rem 0;
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); text-decoration: none;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out), color 0.2s;
}
.mobile-menu a.nav-link small { font-family: var(--font-body); font-size: 0.8rem; color: var(--gold); font-weight: 700; }
.mobile-menu a.nav-link:hover { color: var(--brand); }
.mobile-menu.is-open a.nav-link { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-menu-foot { display: grid; gap: 1rem; }
.mobile-menu-foot .contact-mini { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--ink-2); font-size: 0.95rem; }
.mobile-menu-foot .contact-mini a { display: inline-flex; gap: 0.5rem; align-items: center; text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
body.menu-open .site-header::before { opacity: 0; }
.menu-toggle .i-x { display: none; }
body.menu-open .menu-toggle .i-x { display: block; }
body.menu-open .menu-toggle .i-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; isolation: isolate; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5svh, 3rem));
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #23302a; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 16 12 / 0.25) 0%, rgb(10 16 12 / 0.1) 35%, rgb(10 16 12 / 0.75) 100%),
    radial-gradient(ellipse at 20% 90%, rgb(10 16 12 / 0.5), transparent 60%);
}
.hero-content { display: grid; gap: clamp(0.9rem, 2.2svh, 1.5rem); padding-bottom: clamp(1rem, 3svh, 2rem); max-width: 52rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem; border-radius: var(--pill);
  background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.25);
  backdrop-filter: blur(12px); font-size: 0.85rem; font-weight: 600;
}
.hero-kicker .dot {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--gold-bright); color: #1b201c;
}
.hero h1 { font-size: clamp(2.5rem, min(2rem + 4.4vw, 9.5svh), 5.6rem); font-weight: 400; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-lead { font-size: var(--step-1); max-width: 38rem; color: rgb(255 255 255 / 0.88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-bottom { padding-bottom: clamp(1.25rem, 4vw, 2.5rem); }
.hero-dots { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.hero-dot {
  width: 2.5rem; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.35); overflow: hidden; position: relative;
}
.hero-dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* Buscador de disponibilidad */
.booking-bar {
  display: grid; gap: 0.5rem;
  padding: 0.6rem; border-radius: var(--radius);
  background: var(--glass); color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-lg);
}
.booking-field {
  display: grid; gap: 0.1rem; padding: 0.55rem 1rem; border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}
.booking-field:hover, .booking-field:focus-within { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.booking-field label {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.booking-field input, .booking-field select {
  width: 100%; border: 0; background: transparent; padding: 0.15rem 0; font-weight: 700; font-size: 1rem; outline: none;
  min-height: 1.8rem;
}
.booking-field select { appearance: none; cursor: pointer; }
.booking-bar .btn { min-height: 3.5rem; border-radius: calc(var(--radius) - 0.4rem); }
.booking-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: 0.9rem; font-size: 0.88rem; color: rgb(255 255 255 / 0.85); }
.booking-note a { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-weight: 700; }
.booking-note .sep { opacity: 0.5; }
.booking-bar { grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) {
  .booking-bar { gap: 0.25rem; padding: 0.45rem; }
  .booking-field { padding: 0.45rem 0.7rem; }
  .booking-field input, .booking-field select { font-size: 0.92rem; }
  .booking-bar .btn { min-height: 3.1rem; padding-inline: 0.75rem; font-size: 0.88rem; white-space: normal; line-height: 1.2; }
  .booking-bar .btn .icon { display: none; }
  .hero-lead { font-size: 1.02rem; }
}
@media (min-width: 640px) and (max-width: 899px) { .booking-bar .btn { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .booking-bar { grid-template-columns: 1fr 1fr 0.8fr auto; align-items: center; border-radius: var(--pill); padding: 0.5rem; }
  .booking-field { border-radius: var(--pill); padding-inline: 1.5rem; }
  .booking-field + .booking-field { position: relative; }
  .booking-field + .booking-field::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
  .booking-bar .btn { grid-column: auto; border-radius: var(--pill); padding-inline: 2rem; }
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2rem; display: none;
  writing-mode: vertical-rl; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgb(255 255 255 / 0.7);
}
.scroll-cue::after { content: ""; display: block; width: 1px; height: 3rem; margin: 0.75rem auto 0; background: linear-gradient(#fff, transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@media (min-width: 1300px) { .scroll-cue { display: block; } }

/* ---------- Marquesina de lugares ---------- */
.marquee {
  overflow: hidden; padding-block: 1.4rem; background: var(--brand-strong); color: #f3efe4;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
:root[data-theme="dark"] .marquee { background: #18241c; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: var(--step-2); font-style: italic; white-space: nowrap; }
.marquee-item .icon { color: var(--gold-bright); width: 1.4rem; height: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre el hotel ---------- */
.about { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.05fr 1fr; } }
.about-text { display: grid; gap: 1.25rem; }
.about-text p { color: var(--ink-2); }
.about-visual { position: relative; min-height: 28rem; }
.about-visual .img-a, .about-visual .img-b {
  position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .img-a { inset: 0 18% 14% 0; }
.about-visual .img-b { inset: 46% 0 0 46%; border: 6px solid var(--bg); }
.about-badge {
  position: absolute; left: -0.5rem; bottom: 2rem; z-index: 2;
  display: grid; gap: 0.15rem; padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-md);
}
.about-badge .stars { color: var(--gold-bright); display: flex; gap: 2px; }
.about-badge .stars .icon { fill: currentColor; width: 1rem; height: 1rem; }
.about-badge strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.about-badge span { font-size: 0.8rem; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1rem; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 1.25rem; display: grid; gap: 0.15rem; }
.stat strong { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; color: var(--brand); line-height: 1; }
.stat span { font-size: 0.88rem; color: var(--ink-2); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Servicios (bento) ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature, .bento-wide { grid-column: 1 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) { .bento-feature { min-height: 22rem; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(13rem, auto); }
  .bento-feature { grid-column: span 2; grid-row: span 2; }
  .bento-wide { grid-column: span 2; }
}
.bento-card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.bento-card h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.bento-card p { color: var(--ink-2); font-size: 0.95rem; }
.bento-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem;
  background: var(--brand-soft); color: var(--brand); margin-bottom: auto;
  transition: transform 0.45s var(--ease-spring);
}
.bento-card:hover .bento-icon { transform: rotate(-8deg) scale(1.08); }
.bento-card .bento-icon + * { margin-top: 1.5rem; }
.bento-feature { padding: 0; color: #fff; min-height: 26rem; justify-content: flex-end; border: 0; }
.bento-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform 1.2s var(--ease-out); }
.bento-feature:hover img { transform: scale(1.05); }
.bento-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgb(10 16 12 / 0.88)); }
.bento-feature .bento-body { position: relative; z-index: 2; padding: 2rem; display: grid; gap: 0.75rem; }
.bento-feature h3 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; }
.bento-feature p { color: rgb(255 255 255 / 0.85); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: var(--pill);
  font-size: 0.82rem; font-weight: 700; background: rgb(255 255 255 / 0.15); border: 1px solid rgb(255 255 255 / 0.3); backdrop-filter: blur(8px);
}
.bento-accent { background: var(--brand); color: var(--on-brand); border: 0; }
.bento-accent p { color: color-mix(in srgb, var(--on-brand) 82%, transparent); }
.bento-accent .bento-icon { background: rgb(255 255 255 / 0.15); color: var(--on-brand); }
:root[data-theme="dark"] .bento-accent .bento-icon { background: rgb(0 0 0 / 0.12); }
.bento-accent .price { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; }
.bento-accent .price small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; opacity: 0.8; }
.bento-gold { background: var(--gold-soft); border-color: transparent; }
.bento-gold .bento-icon { background: var(--gold-bright); color: #1b201c; }

/* ---------- Habitaciones ---------- */
.rooms-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 760px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
.room-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.room-card:hover .room-media img { transform: scale(1.06); }
.room-badge {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem; border-radius: var(--pill); background: var(--glass); backdrop-filter: blur(12px);
  font-size: 0.78rem; font-weight: 800; color: var(--ink);
}
.room-badge .icon { color: var(--gold); width: 1rem; height: 1rem; }
.room-photos {
  position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: var(--pill); background: rgb(0 0 0 / 0.55); color: #fff; font-size: 0.78rem; font-weight: 700;
  backdrop-filter: blur(6px);
}
.room-photos .icon { width: 1rem; height: 1rem; }
.room-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.room-body h3 { font-size: var(--step-2); }
.room-body p { color: var(--ink-2); font-size: 0.95rem; }
.specs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.spec {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.8rem; border-radius: var(--pill);
  background: var(--surface-2); font-size: 0.82rem; font-weight: 700; color: var(--ink-2);
}
.spec .icon { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.room-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.room-actions .btn { flex: 1 1 auto; }
@media (min-width: 760px) {
  .room-card--featured { grid-column: 1 / -1; flex-direction: row; }
  .room-card--featured .room-media { flex: 0 0 58%; aspect-ratio: auto; min-height: 24rem; }
  .room-card--featured .room-body { justify-content: center; padding: clamp(1.75rem, 3vw, 2.75rem); }
}

.amenities {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--brand-soft); display: grid; gap: 1.5rem;
}
.amenities h3 { font-size: var(--step-2); }
.amenities ul { display: grid; gap: 0.9rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.amenities li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 0.95rem; }
.amenities li .icon {
  width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 0.8rem; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm);
}

/* ---------- Galería ---------- */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter {
  padding: 0.55rem 1.1rem; border-radius: var(--pill); border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.9rem; transition: all 0.25s;
}
.filter:hover { border-color: var(--ink-3); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { columns: 2 12rem; column-gap: 1rem; }
@media (min-width: 900px) { .gallery { columns: 3; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gallery-item {
  position: relative; display: block; width: 100%; margin-bottom: 1rem; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface-2);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.gallery-item img { width: 100%; transition: transform 0.9s var(--ease-out), filter 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0; padding: 2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.7)); color: #fff; font-weight: 700; font-size: 0.85rem; text-align: left;
  opacity: 0; transform: translateY(8px); transition: all 0.35s var(--ease-out);
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

/* ---------- Cafetería ---------- */
.section--cafe {
  --cafe-bg: #211b15;
  background: radial-gradient(60rem 32rem at 90% 0%, rgb(212 166 64 / 0.13), transparent 60%), var(--cafe-bg);
  color: #f3ece0;
}
:root[data-theme="dark"] .section--cafe { --cafe-bg: #16120e; }
.section--cafe .eyebrow, .section--cafe .title em { color: var(--gold-bright); }
.section--cafe .lead { color: rgb(243 236 224 / 0.78); }
.cafe { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .cafe { grid-template-columns: 1fr 1.1fr; } }
.cafe-text { display: grid; gap: 1.25rem; }
.cafe-menu { display: grid; gap: 0.65rem; margin-block: 0.25rem; }
@media (min-width: 640px) {
  .cafe-menu { grid-template-columns: 1fr 1fr; }
  .cafe-menu li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.cafe-menu li {
  display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem 1rem;
  border-radius: var(--radius); background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.09);
}
.cafe-menu strong { display: block; font-weight: 800; }
.cafe-menu small { display: block; font-size: 0.88rem; line-height: 1.45; color: rgb(243 236 224 / 0.7); }
.cafe-ico {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.8rem;
  background: rgb(212 166 64 / 0.16); color: var(--gold-bright);
}
.cafe-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }

.cafe-mosaic {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  grid-auto-rows: clamp(8rem, 30vw, 11rem);
}
.cafe-tile { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: #2c241d; }
.cafe-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.cafe-tile:hover img { transform: scale(1.05); }
.cafe-tile--main { grid-column: 1 / -1; grid-row: span 2; }
.cafe-tile--tall { grid-row: span 2; }
@media (min-width: 640px) {
  .cafe-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(8.5rem, 12vw, 11rem); }
  .cafe-tile--main { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cafe-tile--tall { grid-column: 3; grid-row: 1 / 4; }
}
.cafe-badge {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: 0.65rem; padding: 0.35rem 1rem 0.35rem 0.35rem;
  border-radius: var(--pill); background: rgb(20 16 12 / 0.55); border: 1px solid rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff;
}
.cafe-badge img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.cafe-badge strong { display: block; font-size: 0.95rem; font-weight: 800; line-height: 1.15; }
.cafe-badge small { display: block; font-size: 0.75rem; opacity: 0.8; }

/* ---------- Ubicación ---------- */
.location { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .location { grid-template-columns: 1.3fr 1fr; } }
.map-card {
  position: relative; min-height: 26rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map-card iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); }
.consent-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 22px, color-mix(in srgb, var(--ink) 4%, transparent) 22px 23px),
    var(--surface-2);
}
.consent-placeholder .icon-lg { width: 3rem; height: 3rem; color: var(--brand); }
.consent-placeholder p { max-width: 26rem; color: var(--ink-2); font-size: 0.92rem; }
.consent-placeholder .row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.map-address {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem; border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md); font-size: 0.9rem;
}
.map-address strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.map-address .row { display: flex; gap: 0.4rem; }
.map-card.has-map .consent-placeholder { display: none; }
.nearby { display: grid; gap: 1rem; align-content: start; }
.nearby-list { display: grid; gap: 0.5rem; }
.nearby-item {
  display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.nearby-item:hover { transform: translateX(4px); border-color: var(--brand); }
.nearby-item .icon { width: 2.5rem; height: 2.5rem; padding: 0.6rem; border-radius: 0.8rem; background: var(--gold-soft); color: var(--gold); }
.nearby-item strong { display: block; font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.nearby-item span { font-size: 0.85rem; color: var(--ink-3); }

.transport { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 800px) { .transport { grid-template-columns: repeat(3, 1fr); } }
.transport-card {
  position: relative; display: grid; gap: 0.75rem; align-content: start; padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.transport-card .tag {
  position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.3rem 0.7rem; border-radius: var(--pill);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand);
}
.transport-card .icon-lg { color: var(--brand); width: 2.25rem; height: 2.25rem; }
.transport-card h3 { font-family: var(--font-body); font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
.transport-card p { color: var(--ink-2); font-size: 0.95rem; }
.transport-card .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.transport-card--featured { background: var(--ink); color: var(--bg); border: 0; }
.transport-card--featured p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.transport-card--featured .icon-lg { color: var(--gold-bright); }
.transport-card--featured .tag { background: var(--gold-bright); color: #1b201c; }
.transport-card--featured .spec { background: rgb(255 255 255 / 0.1); color: inherit; }
:root[data-theme="dark"] .transport-card--featured .spec { background: rgb(0 0 0 / 0.08); }
.transport-card--featured .spec .icon { color: var(--gold-bright); }
:root[data-theme="dark"] .transport-card--featured .spec .icon { color: var(--gold); }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq details[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem;
  font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 2rem; height: 2rem; padding: 0.4rem; border-radius: 50%; background: var(--surface-2);
  transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s;
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* ---------- Llamado a la acción ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem); color: #fff;
  display: grid; gap: 1.5rem; justify-items: start;
}
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(20 40 28 / 0.92) 20%, rgb(20 40 28 / 0.35)); }
.cta-band h2 { font-size: var(--step-4); max-width: 32rem; font-weight: 400; }
.cta-band h2 em { color: var(--gold-bright); }
.cta-band p { max-width: 32rem; color: rgb(255 255 255 / 0.85); font-size: var(--step-1); }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 3rem); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.25fr; } }
.contact-cards { display: grid; gap: 0.75rem; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card > .icon { width: 3rem; height: 3rem; padding: 0.75rem; border-radius: 1rem; background: var(--brand-soft); color: var(--brand); }
.contact-card.is-whatsapp > .icon { background: #25d366; color: #fff; padding: 0.7rem; }
.contact-card small { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact-card strong { display: block; font-weight: 700; overflow-wrap: anywhere; }
.contact-card .go { margin-left: auto; color: var(--ink-3); }
.socials { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.social {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: transform 0.3s var(--ease-spring), background-color 0.25s, color 0.25s;
}
.social:hover { transform: translateY(-3px) rotate(-6deg); background: var(--brand); color: var(--on-brand); border-color: transparent; }
.social .icon { width: 1.2rem; height: 1.2rem; }

.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.form-card > p { color: var(--ink-2); margin-bottom: 1.5rem; font-size: 0.95rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { position: relative; display: grid; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.5rem 1rem 0.6rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; color: var(--ink-3); font-size: 0.98rem; pointer-events: none;
  transform-origin: left top; transition: transform 0.2s var(--ease-out), color 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); background: var(--surface); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-0.6rem) scale(0.78); color: var(--brand); font-weight: 700; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field .error { display: none; margin-top: 0.35rem; font-size: 0.82rem; color: var(--danger); font-weight: 600; }
.field input:user-invalid ~ .error, .field textarea:user-invalid ~ .error { display: block; }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: var(--danger); }
.was-validated .field input:invalid ~ .error, .was-validated .field textarea:invalid ~ .error { display: block; }
.was-validated .check input:invalid { outline: 2px solid var(--danger); outline-offset: 2px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--brand); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; }
.form-status.is-ok { background: var(--brand-soft); color: var(--brand); }
.form-status.is-error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* ---------- Pie de página ---------- */
.site-footer { background: #101712; color: #c9d1ca; padding-top: clamp(3.5rem, 8vw, 6rem); margin-top: var(--section); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand img { width: 11rem; background: #fff; padding: 0.9rem 1.1rem; border-radius: var(--radius); }
.footer-brand p { font-size: 0.92rem; max-width: 22rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 0.6rem; font-size: 0.94rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer button.link { padding: 0; text-align: left; transition: color 0.2s; }
.site-footer button.link:hover { color: var(--gold-bright); }
.site-footer .social { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.1); color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.85rem; color: #8e988f;
}
.footer-bottom .dev { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-bottom .dev img { height: 1.9rem; width: auto; filter: brightness(0) invert(1); opacity: 0.75; transition: opacity 0.2s; }
.footer-bottom .dev:hover img { opacity: 1; }

/* ---------- Elementos flotantes ---------- */
.fab-whatsapp {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgb(37 211 102 / 0.6);
  transition: transform 0.35s var(--ease-spring);
}
.fab-whatsapp:hover { transform: scale(1.08) rotate(-6deg); }
.fab-whatsapp .icon { width: 1.9rem; height: 1.9rem; }
.fab-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-tooltip {
  position: absolute; right: calc(100% + 0.75rem); white-space: nowrap; padding: 0.5rem 0.9rem; border-radius: var(--pill);
  background: var(--surface); color: var(--ink); font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(8px); transition: all 0.3s var(--ease-out); pointer-events: none;
}
.fab-whatsapp:hover .fab-tooltip { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 1.6rem; bottom: 5.9rem; z-index: 80;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); border: 1px solid var(--line);
  opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; transition: all 0.35s var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.mobile-bar { display: none; }
@media (max-width: 639px) {
  .fab-whatsapp { display: none; }
  .to-top { bottom: 5.5rem; right: 1rem; }
  .mobile-bar {
    position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 80;
    display: flex; gap: 0.5rem; padding: 0.5rem; border-radius: var(--pill);
    background: var(--glass); backdrop-filter: saturate(180%) blur(18px); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg);
    transform: translateY(150%); transition: transform 0.45s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 2.9rem; }
  .mobile-bar .btn--whatsapp { flex: 0 0 auto; width: 2.9rem; padding: 0; }
}

/* ---------- Diálogos (habitación, galería, cookies) ---------- */
dialog {
  padding: 0; border: 0; color: var(--ink); background: var(--surface);
  max-width: min(100% - 1.5rem, 64rem); max-height: calc(100svh - 1.5rem);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}
dialog[open] { opacity: 1; transform: none; }
@starting-style { dialog[open] { opacity: 0; transform: translateY(24px) scale(0.98); } }
dialog::backdrop { background: rgb(8 12 9 / 0); backdrop-filter: blur(0); transition: all 0.35s allow-discrete; }
dialog[open]::backdrop { background: rgb(8 12 9 / 0.65); backdrop-filter: blur(6px); }
@starting-style { dialog[open]::backdrop { background: rgb(8 12 9 / 0); backdrop-filter: blur(0); } }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 5; background: var(--glass); backdrop-filter: blur(10px); color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Diálogo de habitación */
.room-dialog { width: 64rem; overflow: hidden; }
.room-dialog-inner { display: grid; max-height: calc(100svh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 900px) { .room-dialog-inner { grid-template-columns: 1.25fr 1fr; overflow: hidden; } .room-dialog .rd-info { overflow-y: auto; max-height: calc(100svh - 1.5rem); } }
.carousel { position: relative; background: #111; min-height: 16rem; }
.carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: center; }
@media (min-width: 900px) { .carousel-track img { aspect-ratio: auto; min-height: 36rem; } }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: var(--glass); color: var(--ink); backdrop-filter: blur(10px);
}
.carousel-btn.prev { left: 0.75rem; } .carousel-btn.next { right: 0.75rem; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 1rem; display: flex; justify-content: center; gap: 0.4rem; }
.carousel-dots button { width: 0.5rem; height: 0.5rem; border-radius: var(--pill); background: rgb(255 255 255 / 0.5); transition: all 0.3s; }
.carousel-dots button[aria-current="true"] { width: 1.5rem; background: #fff; }
.rd-info { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.5rem, 4vw, 2.5rem); }
.rd-info h2 { font-size: var(--step-3); padding-right: 2.5rem; }
.rd-info p { color: var(--ink-2); }
.rd-info h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.rd-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; padding: 0; list-style: none; }
.rd-amenities li { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; font-weight: 600; }
.rd-amenities .icon { color: var(--brand); width: 1.1rem; height: 1.1rem; }
.rd-actions { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.rd-note { font-size: 0.82rem; color: var(--ink-3); }

/* Visor de galería */
.lightbox { width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh; border-radius: 0; background: rgb(8 12 9 / 0.96); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: grid; place-items: center; height: 100%; padding: 4rem 1rem 5rem; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); user-select: none; }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 1.5rem; text-align: center; font-weight: 600; font-size: 0.95rem; color: rgb(255 255 255 / 0.85); }
.lightbox .dialog-close { background: rgb(255 255 255 / 0.12); color: #fff; }
.lightbox .carousel-btn { background: rgb(255 255 255 / 0.12); color: #fff; }
.lightbox .counter { position: absolute; top: 1.4rem; left: 1.5rem; font-size: 0.85rem; font-weight: 700; color: rgb(255 255 255 / 0.7); }

/* ---------- Consentimiento de cookies ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 30rem; padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; gap: 1rem;
  transform: translateY(calc(100% + 2rem)); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
}
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-banner .head { display: flex; align-items: center; gap: 0.75rem; }
.cookie-banner .head .icon { width: 2.5rem; height: 2.5rem; padding: 0.55rem; border-radius: 0.9rem; background: var(--gold-soft); color: var(--gold); }
.cookie-banner h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-2); }
.cookie-banner p a { color: var(--brand); font-weight: 700; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cookie-actions .btn { min-height: 2.75rem; font-size: 0.88rem; }
.cookie-actions .btn--wide { grid-column: 1 / -1; }
@media (max-width: 639px) { .cookie-banner { bottom: max(0.75rem, env(safe-area-inset-bottom)); left: 0.75rem; right: 0.75rem; padding: 1.25rem; } }

.lang-suggest {
  position: fixed; top: calc(var(--header-h) + 0.75rem); right: 1rem; z-index: 150;
  display: flex; align-items: center; gap: 0.75rem; max-width: calc(100vw - 2rem);
  padding: 0.6rem 0.5rem 0.6rem 1.1rem; border-radius: var(--pill);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 0.88rem; font-weight: 600;
  transform: translateY(-1rem); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.4s;
}
.lang-suggest.is-visible { transform: none; opacity: 1; }
.lang-suggest .btn { flex: none; }
.lang-suggest .icon-btn { width: 2.25rem; height: 2.25rem; flex: none; }
@media (max-width: 479px) {
  .lang-suggest { left: 0.75rem; right: 0.75rem; border-radius: var(--radius); flex-wrap: wrap; padding: 0.75rem; }
  .lang-suggest span { flex: 1 1 60%; }
}

.cookie-dialog { width: 38rem; }
.cookie-dialog form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.25rem); max-height: calc(100svh - 1.5rem); overflow-y: auto; }
.cookie-dialog h2 { font-size: var(--step-2); padding-right: 2.5rem; }
.cookie-dialog > form > p { color: var(--ink-2); font-size: 0.92rem; }
.cookie-cat { display: grid; gap: 0.4rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface-2); }
.cookie-cat .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-cat strong { font-weight: 800; }
.cookie-cat p { font-size: 0.85rem; color: var(--ink-2); }
.cookie-cat .always { font-size: 0.75rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; }
.switch { position: relative; width: 3rem; height: 1.75rem; flex: none; }
.switch input { appearance: none; position: absolute; inset: 0; margin: 0; border-radius: var(--pill); background: var(--ink-3); cursor: pointer; transition: background-color 0.25s; }
.switch input::after {
  content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-spring);
}
.switch input:checked { background: var(--brand); }
.switch input:checked::after { transform: translateX(1.25rem); }
.cookie-dialog .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.no-js .reveal-img { clip-path: none; }

/* Transición de tema (View Transitions API): el círculo lo anima JavaScript */
.vt-theme::view-transition-old(root), .vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

/* ---------- Páginas legales / 404 ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2rem, 5vw, 3rem); }
.page-hero h1 { font-size: var(--step-4); margin-top: 1rem; }
.page-hero p { margin-top: 1rem; color: var(--ink-2); }
.prose { max-width: 48rem; display: grid; gap: 1.1rem; padding-bottom: var(--section); }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.prose a { color: var(--brand); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 36rem; }
.prose th, .prose td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter) 3rem; }
.not-found .code { font-family: var(--font-display); font-size: clamp(6rem, 25vw, 14rem); line-height: 0.9; color: var(--brand); font-style: italic; }
.not-found h1 { font-size: var(--step-3); margin: 1rem 0; }
.not-found p { color: var(--ink-2); max-width: 30rem; margin: 0 auto 2rem; }
.not-found .row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- Impresión ---------- */
@media print {
  .site-header, .fab-whatsapp, .to-top, .mobile-bar, .cookie-banner, .marquee, .hero-media, .booking-bar { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .reveal { opacity: 1 !important; transform: none !important; }
}
