/* =========================================================
   Hostal Real Maqueda — styles
   Design system: antracita · azul · cal · aluminio · roble · musgo · luz
   ========================================================= */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Brand */
  --antracita: #24282C;
  --azul: #8FB3C2;
  --cal: #FAF7F2;
  --aluminio: #B9BDC1;
  --roble: #D9C4A6;
  --musgo: #5F8F2E;
  --luz: #F2D7A0;
  --paper: #FBF6EE;
  --warm: #F3EEE6;
  --ink: #24282C;
  --ink-soft: #565D64;
  --line: rgba(36, 40, 44, 0.12);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 24px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Scroll-story variables (driven by script.js) */
  --mx: 0; --my: 0;
  --intro: 0;      /* 0 → 1 : hero copy leaves */
  --vid: 1;        /* video opacity */
  --still: 0;      /* facade stills opacity */
  --split: 0;      /* 0 → 1 : facade halves part */
  --patio-scale: 1.18;
  --patio-blur: 0px;
  --shade: 0;
  --p1: 0; --p1y: 40px;
  --stairs: 0; --stairs-scale: 1.12;
  --p2: 0; --p2y: 40px;
  --hero-pos: 50% 50%;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--cal);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cal);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.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; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--antracita); color: var(--paper); text-decoration: none;
  transform: translateY(-160%); transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 2px solid var(--musgo); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--antracita); color: var(--paper); }
.btn-solid:hover { background: #111416; }
.btn-line { border-color: rgba(36, 40, 44, 0.35); color: var(--antracita); background: transparent; }
.btn-line:hover { border-color: var(--antracita); background: rgba(36, 40, 44, 0.04); }
.btn-cream { background: var(--paper); color: var(--antracita); }
.btn-cream:hover { background: #fff; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  color: var(--paper);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), padding 400ms var(--ease), box-shadow 400ms var(--ease);
}
.nav.is-solid {
  padding-top: 12px; padding-bottom: 12px;
  color: var(--antracita);
  background: rgba(250, 247, 242, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-mono {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--serif); font-size: 19px; letter-spacing: -0.04em; line-height: 1;
}
.nav-name { font-family: var(--serif); font-size: 24px; line-height: 1; white-space: nowrap; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav-links a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500;
  text-shadow: 0 1px 14px rgba(20, 28, 36, 0.25);
}
.nav.is-solid .nav-links a { text-shadow: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; }
.lang-btn {
  min-width: 34px; height: 34px; padding: 0 6px; border: 0; border-radius: 999px;
  background: transparent; font-size: 13px; font-weight: 600; opacity: 0.7;
  transition: opacity 200ms, background-color 200ms;
}
.lang-btn:hover { opacity: 1; }
.lang-btn[aria-pressed="true"] { opacity: 1; background: rgba(251, 246, 238, 0.18); }
.nav.is-solid .lang-btn[aria-pressed="true"] { background: rgba(36, 40, 44, 0.08); }
.nav .nav-book { min-height: 42px; padding: 0 22px; background: var(--paper); color: var(--antracita); }
.nav.is-solid .nav-book { background: var(--antracita); color: var(--paper); }
.nav-burger {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 999px;
  background: transparent; position: relative;
}
.burger-line {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 300ms var(--ease);
}
.burger-line:nth-of-type(2) { top: 17px; }
.burger-line:nth-of-type(3) { top: 24px; }
.nav-burger[aria-expanded="true"] .burger-line:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .burger-line:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* =========================================================
   CINEMATIC HERO
   ========================================================= */
.cinema { position: relative; height: calc(100vh + 2600px); }
@supports (height: 100svh) { .cinema { height: calc(100svh + 2600px); } }
.stage {
  position: sticky; top: 0; height: 100vh; min-height: 560px;
  overflow: hidden; isolation: isolate; background: #1f2428;
}
@supports (height: 100svh) { .stage { height: 100svh; } }

.scene, .hero-media, .split, .scrim, .shade { position: absolute; inset: 0; }
.scene img, .hero-video, .split-img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform, opacity;
  user-select: none; pointer-events: none;
}

/* Courtyard (revealed behind the facade) */
.scene-patio { z-index: 1; }
.scene-patio img {
  object-position: 35% 40%;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -6px), 0) scale(var(--patio-scale));
  filter: blur(var(--patio-blur));
}
/* Staircase (last scene) */
.scene-stairs { z-index: 2; opacity: var(--stairs); }
.scene-stairs img { object-position: 55% 50%; transform: scale(var(--stairs-scale)); }

/* Facade halves */
.split { z-index: 3; opacity: var(--still); will-change: transform, opacity; }
.split-img {
  background: url("assets/img/hero-inicio-1920.webp") var(--hero-pos) / cover no-repeat;
}
.split-left {
  clip-path: inset(0 50% 0 0);
  transform-origin: 25% 55%;
  transform: translate3d(calc(var(--split) * -54vw + var(--mx) * 14px), calc(var(--split) * -60px), 0) scale(calc(1 + var(--split) * 0.32));
}
.split-right {
  clip-path: inset(0 0 0 50%);
  transform-origin: 75% 55%;
  transform: translate3d(calc(var(--split) * 54vw + var(--mx) * 14px), calc(var(--split) * -60px), 0) scale(calc(1 + var(--split) * 0.32));
}

/* Hero video (on top until the split starts) */
.hero-media { z-index: 4; opacity: var(--vid); background: url("assets/img/hero-inicio-1920.webp") var(--hero-pos) / cover no-repeat; }
.hero-video { object-position: var(--hero-pos); }

.scrim {
  z-index: 5; pointer-events: none;
  opacity: calc(1 - var(--split));
  background:
    linear-gradient(180deg, rgba(22, 32, 44, 0.34) 0%, rgba(22, 32, 44, 0) 34%),
    linear-gradient(0deg, rgba(20, 24, 28, 0.62) 0%, rgba(20, 24, 28, 0.18) 34%, rgba(20, 24, 28, 0) 52%);
}
.shade {
  z-index: 6; pointer-events: none; opacity: var(--shade);
  background: linear-gradient(180deg, rgba(24, 30, 36, 0.52) 0%, rgba(24, 30, 36, 0.38) 50%, rgba(24, 30, 36, 0.6) 100%);
}

.hero-title {
  position: absolute; z-index: 7; left: 50%; top: clamp(86px, 13vh, 160px);
  width: min(96vw, 1700px); margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(4.6rem, 15.2vw, 15rem); line-height: 0.8; letter-spacing: -0.005em;
  text-align: center; text-transform: uppercase; color: var(--paper);
  text-shadow: 0 12px 48px rgba(16, 32, 48, 0.22);
  transform: translate3d(calc(-50% + var(--mx) * -10px), calc(var(--intro) * -200px), 0) scale(calc(1 - var(--intro) * 0.08));
  opacity: calc(1 - var(--intro));
  will-change: transform, opacity;
}

.intro {
  position: absolute; z-index: 7; left: 50%;
  bottom: calc(150px + env(safe-area-inset-bottom));
  width: min(640px, calc(100vw - 40px)); text-align: center;
  transform: translate3d(-50%, calc(var(--intro) * 80px), 0);
  opacity: calc(1 - var(--intro) * 1.4);
  will-change: transform, opacity;
}
.intro-text {
  color: var(--paper); font-size: 1.16rem; font-weight: 500; line-height: 1.32;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pills li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px;
  border-radius: 999px; background: var(--paper); color: var(--antracita);
  font-size: 0.92rem; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.panel {
  position: absolute; z-index: 8; left: 50%; top: 46%;
  width: min(780px, calc(100vw - 40px)); text-align: center; color: var(--paper);
  pointer-events: none; will-change: transform, opacity;
}
.panel h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 0.95; letter-spacing: -0.01em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  text-wrap: balance;
}
.panel p {
  width: min(540px, 100%); margin: 24px auto 0;
  font-size: 1.12rem; font-weight: 500; line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}
.panel-patio { opacity: var(--p1); transform: translate3d(-50%, calc(-50% + var(--p1y)), 0); }
.panel-stairs { opacity: var(--p2); transform: translate3d(-50%, calc(-50% + var(--p2y)), 0); }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px;
  width: min(480px, 100%); margin: 56px auto 0;
}
.facts dt { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.9; text-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.facts dd { margin-top: 14px; font-size: 0.98rem; font-weight: 500; line-height: 1.25; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42); }

.scroll-cue {
  position: absolute; z-index: 7; right: var(--gutter); bottom: 44px;
  width: 1px; height: 56px; background: rgba(251, 246, 238, 0.35); overflow: hidden;
  opacity: calc(1 - var(--intro) * 3);
}
.scroll-cue span {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */
.section { padding: clamp(88px, 11vw, 160px) 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--musgo); }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.lead-serif {
  margin-top: 28px;
  font-family: var(--serif); font-size: clamp(1.9rem, 3.7vw, 3.15rem); line-height: 1.12;
  text-wrap: balance;
}

/* Problem / solution */
.problem { padding-bottom: clamp(48px, 6vw, 80px); }
.solution { padding-top: clamp(48px, 6vw, 80px); }
.solution .h2 { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.benefit { padding-top: 28px; border-top: 1px solid var(--line); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--antracita); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin-top: 22px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.benefit p { margin-top: 10px; color: var(--ink-soft); }

/* Rooms */
.rooms { background: var(--warm); }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.room {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 18px 52px rgba(36, 40, 44, 0.08);
}
.room-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--roble); }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.room:hover .room-photo img { transform: scale(1.04); }
.room-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 26px 26px 28px; }
.room-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.room h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.room-body > p:not(.room-kicker) { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; }
.room .btn { align-self: flex-start; margin-top: auto; }
.room-body .chips { margin-bottom: 10px; }

.amenities { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.amenities h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.amenities ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.amenities li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.amenities svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--antracita); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Building */
.building-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.building-copy { display: grid; gap: 22px; }
.building-copy > p:not(.kicker) { color: var(--ink-soft); max-width: 460px; }
.facts-dark { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 32px; width: auto; margin: 18px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.facts-dark dt { font-size: clamp(1.8rem, 2.6vw, 2.4rem); text-shadow: none; color: var(--antracita); white-space: nowrap; }
.facts-dark dd { margin-top: 8px; font-size: 14px; color: var(--ink-soft); text-shadow: none; }
.collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(60px, 7vw, 96px); gap: 16px; }
.collage figure { overflow: hidden; border-radius: var(--radius); background: var(--roble); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.c-1 { grid-column: 1 / 9; grid-row: 1 / 5; }
.c-2 { grid-column: 9 / 13; grid-row: 2 / 6; }
.c-3 { grid-column: 3 / 9; grid-row: 5 / 8; }

/* Rates */
.rates { background: var(--warm); }
.rates .section-head { text-align: center; justify-items: center; }
.rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 940px; margin: 0 auto; }
.rate {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: 28px; background: var(--paper);
}
.rate-featured { border-color: transparent; background: var(--antracita); color: var(--paper); }
.rate-featured .btn-solid { background: var(--paper); color: var(--antracita); }
.rate-featured .btn-solid:hover { background: #fff; }
.rate-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.rate h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.rate ul { display: grid; gap: 12px; margin-bottom: 12px; }
.rate li { position: relative; padding-left: 22px; line-height: 1.45; }
.rate li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--musgo); }
.rate-featured li::before { background: var(--luz); }
.rate .btn { align-self: flex-start; margin-top: auto; }
.best-price {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 940px; margin: 24px auto 0; padding: 18px 24px;
  border-radius: 20px; background: rgba(95, 143, 46, 0.09); color: var(--antracita);
  font-size: 15px; line-height: 1.45; text-align: left;
}
.best-price svg { width: 22px; height: 22px; fill: var(--musgo); stroke: var(--paper); }
.best-price svg path:first-child { stroke: none; }
.best-price strong { font-weight: 600; }
.rates-note { margin-top: 32px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.rates-note a { margin-left: 8px; text-underline-offset: 3px; }

/* Location */
.location-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.location-grid > div:first-child { display: grid; gap: 22px; justify-items: start; }
.location-grid > div:first-child > p:not(.kicker) { color: var(--ink-soft); max-width: 460px; }
.address { font-style: normal; font-weight: 500; line-height: 1.5; }
.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--antracita); }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) blur(1px); transform: scale(1.03); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--paper); }
.map-consent .btn { background: var(--paper); color: var(--antracita); }
.map-consent p { max-width: 280px; font-size: 14px; opacity: 0.85; }
/* Oversized iframe anchored bottom-right: hides the inland west, shows Málaga + the sea,
   keeps Google's attribution (bottom-right) visible. */
.map iframe { position: absolute; right: 0; bottom: 0; width: 150%; height: 150%; border: 0; }

/* Closing band */
.closing { position: relative; min-height: min(86vh, 820px); display: grid; place-items: center; overflow: hidden; isolation: isolate; color: var(--paper); text-align: center; }
.closing-bg { position: absolute; inset: 0; z-index: -1; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 32, 44, 0.25), rgba(20, 24, 28, 0.6)); }
.closing-inner { display: grid; gap: 22px; justify-items: center; padding: 120px var(--gutter); }
.closing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.92; text-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); text-wrap: balance; }
.closing p { font-size: 1.12rem; font-weight: 500; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4); }

/* Footer */
.footer { padding: 80px 0 140px; background: var(--antracita); color: rgba(251, 246, 238, 0.82); font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; margin-top: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p + p { margin-top: 8px; }
.footer-brand { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--paper); }
.footer-h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); }
.footer .muted { opacity: 0.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(251, 246, 238, 0.12); font-size: 14px; opacity: 0.75; }

/* =========================================================
   BOOKING BAR (fixed, always reachable)
   ========================================================= */
.booking {
  position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 4px;
  width: min(620px, calc(100vw - 32px));
  padding: 8px 8px 8px 26px; border-radius: 999px;
  background: rgba(251, 246, 238, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  box-shadow: 0 18px 50px rgba(20, 24, 28, 0.22), 0 0 0 1px rgba(36, 40, 44, 0.06);
  color: var(--antracita);
}
.booking-field { display: grid; gap: 1px; min-width: 0; padding: 4px 8px; cursor: pointer; }
.booking-field label, .booking-field input { cursor: pointer; }
.booking-field input::-webkit-calendar-picker-indicator { cursor: pointer; }
.booking-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.booking-field input {
  width: 100%; min-width: 0; padding: 0; border: 0; background: transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--antracita);
  color-scheme: light;
}
.booking-field input:focus { outline: none; }
.booking-field:focus-within { border-radius: 12px; box-shadow: 0 0 0 2px var(--musgo); }
.booking-sep { width: 1px; height: 34px; background: var(--line); margin: 0 10px; }
.booking-submit { min-height: 54px; padding: 0 30px; font-size: 16px; }
.booking-error {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 40px);
  padding: 8px 16px; border-radius: 999px; background: var(--antracita); color: var(--paper);
  font-size: 14px; font-weight: 500;
}
/* "Mejor precio garantizado" tab sitting on top of the bar */
.booking-badge {
  position: absolute; left: 50%; bottom: calc(100% - 1px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  width: max-content; max-width: calc(100vw - 40px);
  padding: 7px 16px 8px; border-radius: 14px 14px 0 0;
  background: var(--antracita); color: var(--paper);
  font-size: 13px; line-height: 1.2; white-space: nowrap;
  transition: opacity 200ms var(--ease);
}
.booking-badge strong { font-weight: 600; }
.booking-badge-sep { margin: 0 6px; opacity: 0.5; }
.booking-badge svg, .best-price svg { flex: none; width: 16px; height: 16px; fill: var(--luz); stroke: var(--antracita); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.booking-badge svg path:first-child { stroke: none; }
.booking:has(.booking-error:not([hidden])) .booking-badge { opacity: 0; }

.booking.is-flash { animation: flash 900ms var(--ease); }
@keyframes flash { 40% { box-shadow: 0 0 0 4px var(--luz), 0 18px 50px rgba(20, 24, 28, 0.22); } }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    padding: 8px; border-radius: 20px;
    background: var(--paper); color: var(--antracita);
    box-shadow: 0 18px 50px rgba(20, 24, 28, 0.18);
  }
  .nav-links.is-open a { padding: 14px 16px; font-size: 17px; text-shadow: none; border-radius: 12px; }
  .nav-links.is-open a:hover { background: var(--warm); }
  .nav-links.is-open a::after { display: none; }
  .amenities ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-grid .room:last-child { grid-column: 1 / -1; }
  .room-grid .room:last-child .room-photo { aspect-ratio: 16 / 7; }
}

@media (max-width: 760px) {
  :root { --hero-pos: 100% 50%; --radius: 20px; }
  body { font-size: 16px; }
  .cinema { height: calc(100vh + 1900px); }
  @supports (height: 100svh) { .cinema { height: calc(100svh + 1900px); } }
  .split-img { background-image: url("assets/img/hero-inicio-960.webp"); }
  .hero-media { background-image: url("assets/img/hero-inicio-960.webp"); }
  .nav { padding: 14px var(--gutter); }
  .nav-name { font-size: 21px; }
  .nav-mono { width: 34px; height: 34px; font-size: 17px; }
  .nav .nav-book { display: none; }
  .nav-actions { gap: 6px; }
  .lang-btn { min-width: 30px; font-size: 12px; }
  .hero-title { top: clamp(96px, 16vh, 150px); font-size: clamp(3.6rem, 19vw, 6rem); }
  .intro { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .intro-text { font-size: 1.02rem; }
  .pills { gap: 8px; margin-top: 18px; }
  .pills li { min-height: 34px; padding: 0 14px; font-size: 0.82rem; }
  .panel { top: 44%; }
  .panel p { font-size: 1rem; }
  .facts { gap: 20px; margin-top: 36px; }
  .scroll-cue { display: none; }

  .benefits { grid-template-columns: 1fr; gap: 8px; }
  .benefit { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 24px 0; }
  .benefit .icon { grid-row: 1 / 3; }
  .benefit h3 { margin-top: 2px; }
  .benefit p { margin-top: 4px; }

  .room-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
    scrollbar-width: none;
  }
  .room-grid::-webkit-scrollbar { display: none; }
  .room { flex: 0 0 84%; scroll-snap-align: center; }
  .room-grid .room:last-child .room-photo { aspect-ratio: 4 / 3; }
  .room h3 { font-size: 2rem; }
  .amenities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .amenities li { font-size: 14px; }

  .building-grid, .location-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1 / 1; }
  .facts-dark { grid-template-columns: repeat(3, minmax(0, auto)); gap: 18px; }
  .facts-dark dt { font-size: 1.5rem; }
  .collage { grid-auto-rows: 15vw; gap: 10px; }

  .rate-grid { grid-template-columns: 1fr; }

  .footer { padding-bottom: 150px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* Booking: bottom sheet bar */
  .booking {
    left: 0; right: 0; bottom: 0; transform: none; width: 100%;
    grid-template-columns: 1fr 1fr auto; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 40px rgba(20, 24, 28, 0.16), 0 0 0 1px rgba(36, 40, 44, 0.06);
  }
  .booking-sep { display: none; }
  .booking-badge { left: 12px; transform: none; padding: 6px 12px 7px; font-size: 12px; }
  .booking-badge-sep { margin: 0 4px; }
  .best-price { align-items: flex-start; padding: 16px 18px; font-size: 14px; }
  .booking-field { padding: 6px 10px; border-radius: 12px; background: rgba(36, 40, 44, 0.05); }
  .booking-field label { font-size: 10px; letter-spacing: 0.12em; }
  .booking-field input { font-size: 15px; letter-spacing: -0.01em; }
  .booking-field input::-webkit-calendar-picker-indicator { width: 14px; height: 14px; margin-left: 2px; padding: 0; }
  .booking-submit { min-height: 50px; padding: 0 16px; font-size: 15px; }
}

@media (max-width: 360px) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking-submit { grid-column: 1 / -1; }
  .intro { bottom: calc(205px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 400ms linear; }
  .room-photo img, .btn, .nav, .skip-link { transition: none; }
  .scroll-cue span { animation: none; }
}

/* =========================================================
   LEGAL PAGES (politica-de-...)
   ========================================================= */
.legal-nav { grid-template-columns: 1fr auto; }
.legal-back { font-size: 15px; font-weight: 500; text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-main { padding: clamp(120px, 14vw, 170px) var(--gutter) clamp(72px, 9vw, 120px); }
.legal-article { max-width: 760px; margin: 0 auto; }
.legal-article h1 {
  margin: 18px 0 clamp(28px, 4vw, 44px);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.01em;
}
.legal-article h2 { margin: 44px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.legal-article h3 { margin: 28px 0 8px; font-size: 1.05rem; font-weight: 600; }
.legal-article p, .legal-article li { color: var(--ink-soft); }
.legal-article p + p { margin-top: 14px; }
.legal-article ul { display: grid; gap: 10px; margin: 12px 0; }
.legal-article li { position: relative; padding-left: 20px; }
.legal-article li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--musgo); }
.legal-article a { color: var(--antracita); text-underline-offset: 3px; }
.legal-lead { font-size: 1.08rem; font-weight: 500; color: var(--antracita) !important; }
.legal-cta { margin-top: 32px !important; }
.legal-cta .btn { color: var(--paper); text-decoration: none; }
.legal-contact { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--warm); }
.legal-contact h2 { margin-top: 0; }
.cookie-table { margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.cookie-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.cookie-table th, .cookie-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cookie-table th { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); background: var(--warm); }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--warm); }
.legal-footer { padding-bottom: 80px; }
.legal-links { display: grid; gap: 8px; }
.legal-links a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .legal-back { font-size: 14px; }
  .legal-contact { padding: 22px; }
}

/* =========================================================
   RANGE CALENDAR (booking bar)
   ========================================================= */
button.booking-field {
  width: 100%; border: 0; background: transparent; color: inherit;
  font: inherit; text-align: left; border-radius: 12px;
  transition: background-color 200ms var(--ease);
}
button.booking-field:hover { background: rgba(36, 40, 44, 0.05); }
button.booking-field.is-active { background: rgba(36, 40, 44, 0.08); box-shadow: inset 0 0 0 1.5px var(--antracita); }
.booking-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.booking-value { display: block; font-size: 16px; font-weight: 500; color: var(--antracita); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking.cal-open .booking-badge { opacity: 0; pointer-events: none; }

.cal {
  position: absolute; z-index: 2; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  padding: 18px 18px 14px; border-radius: 26px;
  background: var(--paper); color: var(--antracita);
  box-shadow: 0 24px 70px rgba(20, 24, 28, 0.28), 0 0 0 1px rgba(36, 40, 44, 0.06);
  animation: cal-in 260ms var(--ease);
}
.cal[hidden] { display: none; }
@keyframes cal-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 10px; }
.cal-hint { font-size: 15px; font-weight: 600; }
.cal-close, .cal-nav {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px;
  border: 0; border-radius: 999px; background: transparent; color: var(--antracita);
}
.cal-close:hover, .cal-nav:hover:not(:disabled) { background: rgba(36, 40, 44, 0.07); }
.cal-close svg, .cal-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-body { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 4px; }
.cal-months { display: grid; grid-template-columns: repeat(var(--months, 2), minmax(0, 1fr)); gap: 28px; }
.cal-title { margin: 8px 0 10px; text-align: center; font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-wd { padding-bottom: 6px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.cal-day {
  position: relative; height: 42px; border: 0; background: transparent; color: var(--antracita);
  font: 500 15px/1 var(--sans); border-radius: 999px; isolation: isolate;
}
.cal-day:hover:not(:disabled) { background: rgba(36, 40, 44, 0.08); }
.cal-day:disabled { color: rgba(36, 40, 44, 0.26); cursor: default; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--musgo); }
.cal-day.in-range, .cal-day.in-preview { border-radius: 0; background: rgba(143, 179, 194, 0.32); }
.cal-day.is-start, .cal-day.is-end { background: var(--antracita) !important; color: var(--paper); border-radius: 999px; }
.cal-day.is-start.is-today::after, .cal-day.is-end.is-today::after { background: var(--luz); }
/* half-band behind start/end so the range reads as one continuous strip */
.cal-day.has-range::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 50%; background: rgba(143, 179, 194, 0.32); }
.cal-day.is-start.has-range::before { right: 0; }
.cal-day.is-end.has-range::before { left: 0; }
.cal-foot { min-height: 1.4em; margin: 8px 4px 0; text-align: center; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 760px) {
  .cal { left: 8px; right: 8px; width: auto; bottom: calc(100% + 8px); transform: none; padding: 14px 10px 12px; border-radius: 22px; }
  @keyframes cal-in { from { opacity: 0; transform: translateY(10px); } }
  .cal-body { grid-template-columns: 1fr; position: relative; }
  .cal-nav { position: absolute; top: 2px; z-index: 1; }
  #cal-prev { left: 0; }
  #cal-next { right: 0; }
  .cal-day { height: 44px; font-size: 16px; }
  .booking-value { font-size: 15px; }
}
.cal-day.in-preview:hover { background: var(--antracita); color: var(--paper); border-radius: 999px; }

/* =========================================================
   GOOGLE RATING + REVIEWS
   ========================================================= */
.stars {
  --r: 5;
  display: inline-block; position: relative; font-size: 15px; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--luz) calc(var(--r) / 5 * 100%), rgba(36, 40, 44, 0.18) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars::before { content: "★★★★★"; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px;
  border-radius: 999px; background: rgba(20, 24, 28, 0.38);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none;
}
.hero-rating .stars { background: linear-gradient(90deg, var(--luz) calc(var(--r) / 5 * 100%), rgba(251, 246, 238, 0.35) 0); -webkit-background-clip: text; background-clip: text; }
.hero-rating strong { font-weight: 700; }
.hero-rating:hover { background: rgba(20, 24, 28, 0.5); }

.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(36px, 5vw, 60px); }
.reviews-head > div:first-child { display: grid; gap: 18px; }
.rating-card {
  display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--paper);
  color: var(--antracita); text-decoration: none; transition: border-color 200ms var(--ease);
}
.rating-card:hover { border-color: rgba(36, 40, 44, 0.35); }
.rating-num { font-family: var(--serif); font-size: 3.2rem; line-height: 0.9; }
.rating-side { display: grid; gap: 6px; }
.rating-side .stars { font-size: 18px; }
.rating-count { font-size: 14px; color: var(--ink-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.review {
  display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px;
  border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 18px 52px rgba(36, 40, 44, 0.06);
}
.review blockquote { margin: 0; }
.review blockquote p { font-size: 15.5px; line-height: 1.55; color: var(--antracita); }
.review figcaption { display: grid; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption strong { font-weight: 600; }
.review-meta { font-size: 13px; color: var(--ink-soft); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; }
.reviews-foot p { max-width: 560px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hero-rating { margin-bottom: 10px; font-size: 13px; padding: 6px 12px; }
  .review-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 86%; scroll-snap-align: center; }
  .rating-card { width: 100%; }
}
/* Una sola tarifa (Flexible): tarjeta centrada */
.rate-grid { grid-template-columns: minmax(0, 620px); justify-content: center; }
/* Estrellas sobre fondo claro: dorado con más contraste */
.review .stars, .rating-card .stars { background: linear-gradient(90deg, #B8811A calc(var(--r) / 5 * 100%), rgba(36, 40, 44, 0.16) 0); -webkit-background-clip: text; background-clip: text; }
.best-price { max-width: 620px; }

/* =========================================================
   BOOKING NUDGES (rotating badge + soft CTA pulse)
   ========================================================= */
.badge-rotator { display: grid; }
.badge-msg {
  grid-area: 1 / 1; display: inline-flex; align-items: center; white-space: nowrap;
  opacity: 0; transform: translateY(5px); transition: opacity 450ms var(--ease), transform 450ms var(--ease);
}
.badge-msg.is-on { opacity: 1; transform: none; }
.badge-msg strong { font-weight: 600; }

.booking-submit { position: relative; gap: 8px; }
.cta-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.booking-submit:hover .cta-arrow { transform: translateX(3px); }
.booking-submit.is-nudge { animation: cta-bump 1.7s var(--ease) 2; }
.booking-submit.is-nudge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: cta-ring 1.7s ease-out 2;
}
.booking-submit.is-nudge .cta-arrow { animation: cta-arrow 1.7s var(--ease) 2; }
@keyframes cta-ring {
  0% { box-shadow: 0 0 0 0 rgba(242, 215, 160, 0.95); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(242, 215, 160, 0); }
}
@keyframes cta-bump { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.05); } 36% { transform: scale(1); } }
@keyframes cta-arrow { 0%, 100% { transform: none; } 25% { transform: translateX(4px); } 50% { transform: none; } }
@media (max-width: 760px) { .cta-arrow { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .booking-submit.is-nudge, .booking-submit.is-nudge::after, .booking-submit.is-nudge .cta-arrow { animation: none; }
  .badge-msg { transition: none; }
}
/* Móviles estrechos: que quepan las fechas completas junto a "Ver precios" */
@media (max-width: 420px) {
  .booking { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .booking-field { padding: 6px 8px; }
  .booking-value { font-size: 14px; letter-spacing: -0.01em; }
  .booking-submit { padding: 0 14px; font-size: 14.5px; gap: 6px; }
  .cta-arrow { width: 14px; height: 14px; }
}
.room-note { margin-top: -4px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }

/* =========================================================
   BOOKING FOCUS — "dorado = reservar"
   La barra se invierte (antracita) para destacar sobre fondos claros y fotos,
   y el dorado se reserva SOLO para los botones que llevan a la reserva.
   ========================================================= */
:root {
  --cta: #E7BF72;
  --cta-hi: #F0CF8C;
  --cta-ink: #1E2226;
}

/* Botones de reserva en toda la web */
.booking-submit,
.btn[data-book],
.nav .nav-book,
.nav.is-solid .nav-book,
.rate-featured .btn-solid[data-book] {
  background: linear-gradient(180deg, var(--cta-hi), var(--cta));
  color: var(--cta-ink);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(231, 191, 114, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.booking-submit:hover,
.btn[data-book]:hover,
.nav .nav-book:hover,
.rate-featured .btn-solid[data-book]:hover {
  background: linear-gradient(180deg, #F6DCA3, var(--cta-hi));
  color: var(--cta-ink);
  box-shadow: 0 10px 28px rgba(231, 191, 114, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Barra oscura */
.booking {
  background: rgba(28, 32, 36, 0.94);
  color: var(--paper);
  box-shadow: 0 22px 60px rgba(12, 14, 16, 0.38), 0 0 0 1px rgba(251, 246, 238, 0.08);
  transition: width 500ms var(--ease), padding 500ms var(--ease), bottom 500ms var(--ease);
}
.booking .booking-label { color: rgba(251, 246, 238, 0.62); }
.booking .booking-value { color: var(--paper); }
.booking button.booking-field:hover { background: rgba(251, 246, 238, 0.07); }
.booking button.booking-field.is-active { background: rgba(251, 246, 238, 0.1); box-shadow: inset 0 0 0 1.5px var(--cta); }
.booking .booking-field:focus-within { box-shadow: 0 0 0 2px var(--cta); }
.booking .booking-sep { background: rgba(251, 246, 238, 0.16); }
.booking-badge { background: rgba(28, 32, 36, 0.94); box-shadow: 0 0 0 1px rgba(251, 246, 238, 0.08); }
.booking-badge svg { fill: var(--cta); stroke: rgba(28, 32, 36, 0.94); }
.booking-badge strong { color: var(--cta-hi); }
.booking-submit .cta-arrow { stroke-width: 2.2; }
.booking-submit { font-weight: 700; }

/* Portada: la barra es protagonista */
@media (min-width: 761px) {
  .booking.is-hero { width: min(760px, calc(100vw - 32px)); padding: 12px 12px 12px 34px; bottom: calc(26px + env(safe-area-inset-bottom)); }
  .booking.is-hero .booking-label { font-size: 12px; }
  .booking.is-hero .booking-value { font-size: 19px; }
  .booking.is-hero .booking-submit { min-height: 62px; padding: 0 36px; font-size: 17px; }
  .booking.is-hero .booking-badge { font-size: 14px; padding: 8px 18px 9px; }
  .booking .booking-value, .booking .booking-label, .booking .booking-submit, .booking .booking-badge { transition: font-size 500ms var(--ease), min-height 500ms var(--ease), padding 500ms var(--ease); }
  .intro { bottom: calc(176px + env(safe-area-inset-bottom)); }
}

/* Móvil: hoja inferior oscura */
@media (max-width: 760px) {
  .booking { background: rgba(28, 32, 36, 0.97); box-shadow: 0 -12px 40px rgba(12, 14, 16, 0.3); }
  .booking .booking-field { background: rgba(251, 246, 238, 0.07); }
}

/* Nota de estrellas por atributo (sin estilos inline, compatible con CSP estricta) */
.stars[data-r="5"] { --r: 5; }
.stars[data-r="4.6"] { --r: 4.6; }
