/* ==========================================================================
   Camping King's — hoja de estilos principal
   Paleta de marca: turquesa #05b2b8 · teal #007377 · marrón #6f4407
   arena #e0ccb4 / #dfcdb5 · melocotón #f6d2b8 · marrón oscuro #463c32
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  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 ---------- */
:root {
  --mar: #05b2b8;
  --mar-hondo: #007377;
  --corteza: #6f4407;
  --arena: #e0ccb4;
  --arena-2: #dfcdb5;
  --arena-3: #e6cdae;
  --melocoton: #f6d2b8;
  --pino: #463c32;
  --blanco: #fff;

  --ink: var(--pino);
  --ink-soft: color-mix(in srgb, var(--pino) 80%, #fff);
  --line: color-mix(in srgb, var(--pino) 13%, #fff);
  --line-strong: color-mix(in srgb, var(--pino) 26%, #fff);
  --mar-tint: color-mix(in srgb, var(--mar) 11%, #fff);
  --mar-tint-2: color-mix(in srgb, var(--mar) 22%, #fff);
  --arena-tint: color-mix(in srgb, var(--arena) 38%, #fff);
  --mar-hondo-dark: color-mix(in srgb, var(--mar-hondo) 82%, #000);
  /* azul profundo de la portada (el teal de la marca oscurecido) */
  --abismo: color-mix(in srgb, var(--mar-hondo) 62%, #001a1b);
  --abismo-2: color-mix(in srgb, var(--mar-hondo) 82%, #001a1b);

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-xl: clamp(1.875rem, 1.45rem + 1.7vw, 2.875rem);
  --fs-2xl: clamp(2.375rem, 1.7rem + 2.9vw, 4.25rem);
  --fs-script: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 1.3rem + 4.8vw, 6rem);

  --measure: 46rem;
  --wide: 78rem;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --topbar-h: 2.5rem;
  --header-h: 7.75rem;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-float: 0 22px 48px -24px rgba(70, 60, 50, 0.55);
  --shadow-soft: 0 10px 30px -18px rgba(70, 60, 50, 0.45);
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--mar-hondo); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--mar-hondo-dark); }
p { margin: 0; }
strong, b { font-weight: 700; }
small { font-size: 0.8em; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--mar); color: #fff; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--mar);
  outline-offset: 3px;
  border-radius: 4px;
}

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--sm { width: 1em; height: 1em; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--mar-hondo);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--pino);
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); color: var(--mar-hondo); }
h2 { font-size: var(--fs-xl); color: var(--mar-hondo); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); line-height: 1.2; }
h5, h6 { font-size: 1.0625rem; line-height: 1.3; }

.script { font-weight: 800; }
.h-script {
  font-weight: 800;
  font-stretch: 86%;
  letter-spacing: -0.012em;
  line-height: 1.08;
  font-size: var(--fs-script);
  color: var(--mar);
}

.c-green { color: var(--mar-hondo); }
.c-brown { color: var(--corteza); }
.c-sand { color: var(--arena-2); }
.c-white { color: #fff; }
.c-black { color: #000; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-left { text-align: left; }
.fs-large { font-size: var(--fs-md); }
.fs-small { font-size: 0.875rem; }
.fw-heavy { font-weight: 800; font-stretch: 86%; }

.prose > * + * { margin-top: 0.9em; }
.prose ul, .prose ol, .content > ul, .content > ol, .col ul, .col ol { padding-left: 1.25em; margin: 0; }
.prose li + li, .content li + li { margin-top: 0.35em; }
.prose li::marker, .content li::marker { color: var(--mar); }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--mar-hondo);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.9375rem;
  font-stretch: 94%;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--primary:hover { --btn-bg: var(--mar-hondo-dark); }
.btn--sand { --btn-bg: var(--arena-2); --btn-fg: var(--corteza); }
.btn--sand:hover { --btn-bg: var(--arena); --btn-fg: var(--corteza); }
.btn--brown { --btn-bg: var(--corteza); --btn-fg: #fff; }
.btn--white, .btn--light { --btn-bg: #fff; --btn-fg: var(--mar-hondo); }
.btn--light:hover { --btn-bg: var(--mar-tint); --btn-fg: var(--mar-hondo-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--mar-hondo); --btn-bd: var(--mar-hondo); }
.btn--outline:hover { --btn-bg: var(--mar-hondo); --btn-fg: #fff; }
.btn--sm { min-height: 2.625rem; padding: 0.5rem 1.15rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btns--center { justify-content: center; }
.btns--right { justify-content: flex-end; }

.roundbtn {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--pino);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.roundbtn:hover { background: var(--mar-hondo); border-color: var(--mar-hondo); color: #fff; }
.roundbtn[disabled] { opacity: 0.35; pointer-events: none; }
.roundbtn--light { background: rgba(255, 255, 255, 0.95); border-color: transparent; }
.roundbtn--glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.roundbtn--glass:hover { background: #fff; color: var(--pino); border-color: #fff; }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: transform 0.4s var(--ease);
}
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }

.topbar {
  height: var(--topbar-h);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pino);
  transition: opacity 0.3s;
}
.has-hero .topbar { color: #fff; }
.site-header.is-scrolled .topbar { opacity: 0; pointer-events: none; }
.topbar__inner {
  max-width: calc(var(--wide) + 2rem);
  height: 100%;
  margin: 0 auto;
  padding: 0 calc(var(--gutter) + 0.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar__contact, .topbar__aside, .topbar__nav { display: flex; align-items: center; gap: 1.25rem; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.topbar__link:hover { color: inherit; text-decoration: underline; }
.topbar__link .ico { width: 1rem; height: 1rem; }
.has-hero .topbar__link, .has-hero .lang__btn { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.1rem;
  border: 0;
  background: none;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.lang__btn .ico { width: 1rem; height: 1rem; }
.lang__btn .ico--sm { width: 0.8rem; height: 0.8rem; transition: transform 0.2s; }
.lang.is-open .lang__btn .ico--sm { transform: rotate(180deg); }
.lang__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 5;
  min-width: 11rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-xs);
  color: var(--pino);
  text-decoration: none;
  font-size: 0.875rem;
  text-shadow: none;
}
.lang__list a:hover { background: var(--mar-tint); color: var(--mar-hondo); }

.bar { padding: 0 clamp(0.5rem, 1.4vw, 1rem); }
.bar__inner {
  position: relative;
  max-width: calc(var(--wide) + 2rem);
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  box-shadow: 0 12px 34px -20px rgba(70, 60, 50, 0.55);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
}
.site-header.is-scrolled .bar__inner { box-shadow: 0 16px 40px -18px rgba(70, 60, 50, 0.5); }

.brand { display: block; flex: none; line-height: 0; margin-right: auto; }
.brand img { width: 6.5rem; height: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: var(--r-pill);
  color: var(--pino);
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 90%;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--mar-hondo); background: var(--mar-tint); }
.nav__item.is-current > .nav__link { color: var(--mar-hondo); }
.nav__item.is-current > .nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 1.1rem;
  height: 0.3rem;
  transform: translateX(-50%);
  background: var(--mar);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6'%3E%3Cpath d='M1 3c2.5-2.6 5-2.6 7.5 0s5 2.6 7.5 0 3.7-2 5-1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6'%3E%3Cpath d='M1 3c2.5-2.6 5-2.6 7.5 0s5 2.6 7.5 0 3.7-2 5-1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav__item--sub > .nav__link { padding-right: 0.2rem; }
.nav__toggle {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--pino);
  cursor: pointer;
}
.nav__toggle .ico { transition: transform 0.25s var(--ease); }
.nav__item--sub.is-open .nav__toggle .ico { transform: rotate(180deg); }
.nav__sub {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 9.5rem);
  gap: 0.6rem;
  margin: 0;
  padding: 0.7rem;
  list-style: none;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
.nav__item--sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* el primer desplegable se alinea a la izquierda y el último a la derecha para no salirse de la pantalla */
.nav__item--sub:first-child .nav__sub { left: 0; transform: translateY(6px); }
.nav__item--sub:last-child .nav__sub { left: auto; right: 0; transform: translateY(6px); }
.nav__item--sub:is(:first-child, :last-child).is-open .nav__sub { transform: none; }
.nav__subcard {
  display: block;
  padding: 0.35rem;
  border-radius: 16px;
  color: var(--pino);
  font-weight: 700;
  font-stretch: 90%;
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav__subcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.nav__subcard span { display: block; padding: 0.5rem 0.25rem 0.15rem; font-size: 0.9375rem; }
.nav__subcard:hover, .nav__subcard.is-current { background: var(--mar-tint); color: var(--mar-hondo); }

.btn--book { flex: none; min-height: 3.25rem; padding: 0.7rem 1.35rem; font-size: 0.9375rem; }
.btn--book .ico { width: 1.25rem; height: 1.25rem; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.1rem 0 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--pino);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--mar-hondo); color: var(--mar-hondo); }
.menu-btn__lines { position: relative; width: 1.15rem; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.menu-btn__lines::before { top: -6px; }
.menu-btn__lines::after { top: 6px; }
.menu-btn--close .menu-btn__lines { background: transparent; }
.menu-btn--close .menu-btn__lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn--close .menu-btn__lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1240px) {
  .nav { display: block; }
  .bar .menu-btn { display: none; }
  .brand { margin-right: 0.5rem; }
  .nav { margin-right: auto; }
}
/* con todas las secciones desplegables el menú se compacta un poco para caber junto a «Reservas» */
.nav__list { gap: 0.1rem; }
.nav__link { padding-inline: 0.55rem; }
.nav__item--sub > .nav__link { padding-right: 0.1rem; }
.nav__toggle { width: 1.3rem; margin-right: 0.15rem; }
@media (min-width: 1240px) and (max-width: 1299px) {
  .nav__link { padding-inline: 0.42rem; font-size: 0.875rem; }
  .nav__item--sub > .nav__link { padding-right: 0.05rem; }
  .nav__toggle { width: 1.15rem; margin-right: 0.1rem; }
  .bar__inner { gap: 0.75rem; padding-left: 1.1rem; }
  .btn--book { padding-inline: 1.1rem; }
}
@media (max-width: 1239px) {
  .brand img { width: 5.9rem; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 0rem; }
  .topbar { display: none; }
  .bar { padding: 0.5rem 0.5rem 0; }
  .bar__inner { min-height: 4rem; padding: 0.4rem 0.4rem 0.4rem 1rem; gap: 0.5rem; border-radius: 18px; }
  .brand img { width: 5.25rem; }
  .btn--book, .menu-btn { min-height: 2.875rem; }
  .btn--book { padding: 0 0.95rem; }
  .menu-btn { padding: 0 0.85rem; }
}
@media (max-width: 420px) {
  .btn--book__label { display: none; }
  .btn--book { width: 2.875rem; padding: 0; }
  .menu-btn__label { display: none; }
  .menu-btn { width: 2.875rem; padding: 0; justify-content: center; }
}

/* ---------- Menú móvil ---------- */
.drawer { position: fixed; inset: 0; z-index: 110; }
.drawer[hidden] { display: none; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 34, 28, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(30rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 2rem) 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__top .brand img { width: 5.5rem; }
.drawer__nav ul { margin: 0; padding: 0; list-style: none; }
.drawer__nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer__nav > ul > li > a {
  display: block;
  padding: 0.85rem 0;
  color: var(--pino);
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 86%;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.drawer__nav > ul > li.is-current > a, .drawer__nav a:hover { color: var(--mar-hondo); }
.drawer__sub { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 1rem !important; }
.drawer__sub a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--arena-tint);
  color: var(--corteza);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}
.drawer__extra { display: flex; gap: 1.5rem; }
.drawer__extra a { color: var(--pino); font-weight: 700; }
.drawer__contact { display: grid; gap: 0.6rem; }
.drawer__contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--pino); text-decoration: none; }
.drawer__contact .ico { color: var(--mar-hondo); }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; }
.drawer__langs a, .drawer__langs span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--pino);
  text-decoration: none;
}
.drawer__langs span { background: var(--pino); border-color: var(--pino); color: #fff; }
.drawer__book { margin-top: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  max-height: 62rem;
  overflow: hidden;
  background: var(--pino);
  color: #fff;
  isolation: isolate;
}
.hero--page { height: 74vh; height: 74svh; min-height: 30rem; max-height: 46rem; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.6s var(--ease), visibility 1.6s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 12s linear;
}
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 22, 16, 0.5) 0%, rgba(28, 22, 16, 0) 26%),
    linear-gradient(0deg, rgba(28, 22, 16, 0.62) 0%, rgba(28, 22, 16, 0.18) 42%, rgba(28, 22, 16, 0) 62%);
}
.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(6.5rem, 15vh, 10rem);
  z-index: 2;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero--page .hero__caption { bottom: clamp(3rem, 9vh, 5.5rem); }
.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero__title {
  margin: 0;
  max-width: 15ch;
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}
.hero__sub {
  max-width: 40ch;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}
.hero--home .hero__title { font-size: var(--fs-hero); max-width: 14ch; letter-spacing: -0.012em; text-wrap: balance; }
.hero__wave {
  display: block;
  width: clamp(9rem, 22vw, 18rem);
  height: auto;
  margin-top: 0.9rem;
  color: var(--mar);
  overflow: visible;
}
.hero__wave path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .hero__slide .hero__caption > * { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .hero__slide.is-active .hero__caption > * { opacity: 1; transform: none; }
  .hero__slide.is-active .hero__caption > :nth-child(2) { transition-delay: 0.15s; }
  .hero__slide.is-active .hero__caption > :nth-child(3) { transition-delay: 0.3s; }
  .hero__wave path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease) 0.55s; }
  .hero__slide.is-active .hero__wave path { stroke-dashoffset: 0; }
}
.hero__controls {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  bottom: clamp(6.5rem, 15vh, 10rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero--page .hero__controls { bottom: clamp(3rem, 9vh, 5.5rem); }
.hero__dots { display: flex; gap: 0.4rem; }
.hero__toggle .ico-play { display: none; }
.hero.is-paused .hero__toggle .ico-pause { display: none; }
.hero.is-paused .hero__toggle .ico-play { display: block; }
.hero__dot {
  position: relative;
  width: 2.25rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dot span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.hero__dot span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active span::after { transform: scaleX(1); }
.hero[data-playing] .hero__dot.is-active span::after { animation: dot-progress var(--hero-delay, 10s) linear forwards; }
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .hero { min-height: 32rem; max-height: none; height: 88svh; }
  .hero--page { height: 62svh; min-height: 26rem; }
  .hero__caption { bottom: 6.75rem; }
  .hero--page .hero__caption { bottom: 5.25rem; }
  .hero__controls { left: var(--gutter); right: auto; bottom: 1.5rem; }
  .hero--page .hero__controls { bottom: 1.5rem; }
  .hero__controls .roundbtn:not(.hero__toggle) { display: none; }
  .hero__controls .hero__toggle { width: 2.25rem; height: 2.25rem; }
  .hero--home .hero__caption { bottom: 7.25rem; }
  .hero--home .hero__controls { bottom: 4.6rem; }
}

/* ---------- Portada: vídeo de dron a pantalla completa (diseño v3) ---------- */
.cinehero {
  --p: 0;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 36rem;
  max-height: 72rem;
  background: #fff;
  color: #fff;
}
/* al bajar, el vídeo se recoge en una ventana redondeada */
.cinehero__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--abismo);
  isolation: isolate;
  clip-path: inset(calc(var(--p) * 3%) calc(var(--p) * 3%) calc(var(--p) * 3%) round calc(var(--p) * 40px));
}
.cinehero__poster, .cinehero__poster img, .cinehero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinehero__poster img, .cinehero__video { transform: scale(calc(1.06 - var(--p) * 0.06)); }
.cinehero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 32, 34, 0.5) 0%, rgba(0, 32, 34, 0) 26%),
    linear-gradient(0deg, rgba(0, 32, 34, 0.62) 0%, rgba(0, 32, 34, 0.2) 40%, rgba(0, 32, 34, 0) 62%),
    linear-gradient(90deg, rgba(0, 32, 34, 0.32) 0%, rgba(0, 32, 34, 0) 55%);
}
/* bandas de cine que se abren al empezar el vídeo */
.cinehero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-block: 0 solid #000;
}
@media (prefers-reduced-motion: no-preference) {
  .js .cinehero__stage::before { border-block-width: 11vh; transition: border-width 1.6s var(--ease) 0.2s; }
  .js .cinehero.is-live .cinehero__stage::before { border-block-width: 0; }
  .js .cinehero__video, .js .cinehero__poster img { transition: transform 0.2s linear; }
}
/* texto a la izquierda, abajo */
.cinehero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(5.5rem, 10.5vh, 7.5rem);
  z-index: 3;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  opacity: calc(1 - var(--p) * 1.7);
  transform: translateY(calc(var(--p) * -7vh));
}
.cinehero__kicker {
  margin: 0 0 1rem;
  font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.cinehero__title {
  margin: 0;
  max-width: 17ch;
  color: #fff;
  font-size: clamp(2.6rem, 1.1rem + 5.2vw, 6.5rem);
  font-weight: 800;
  font-stretch: 84%;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 30, 32, 0.35);
}
.cinehero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: clamp(1.4rem, 3.2vh, 2.1rem); }
.cinehero__toggle .ico-play { display: none; }
.cinehero.is-paused .cinehero__toggle .ico-pause { display: none; }
.cinehero.is-paused .cinehero__toggle .ico-play { display: block; }
.cinehero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.cinehero__cue:hover { color: #fff; }
.cinehero__cue span { position: relative; display: block; width: 1.5px; height: 2.6rem; overflow: hidden; background: rgba(255, 255, 255, 0.35); }
.cinehero__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .cinehero__cue span::after { animation: cue 2.2s var(--ease) infinite; }
}
@keyframes cue { from { top: -40%; } to { top: 100%; } }
@media (max-width: 760px) {
  .cinehero { height: 92svh; min-height: 34rem; max-height: none; }
  .cinehero__content { bottom: 4.6rem; }
  .cinehero__kicker { margin-bottom: 0.75rem; letter-spacing: 0.22em; }
  .cinehero__actions { margin-top: 1.25rem; gap: 0.6rem; }
  .cinehero__cue { display: none; }
}

/* ---------- Botón translúcido sobre vídeo ---------- */
.vbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.3rem 1.2rem 0.3rem 0.3rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  font-stretch: 94%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.vbtn:hover { background: #fff; border-color: #fff; color: var(--pino); transform: translateY(-1px); }
.vbtn__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  color: var(--mar-hondo);
  transition: background-color 0.2s, color 0.2s;
}
.vbtn:hover .vbtn__icon { background: var(--mar-hondo); color: #fff; }
.vbtn__icon .ico { width: 0.95rem; height: 0.95rem; margin-left: 2px; fill: currentColor; stroke: none; }
.vbtn__meta { font-weight: 600; opacity: 0.75; font-variant-numeric: tabular-nums; }
.vbtn--ink { background: transparent; border-color: var(--line-strong); color: var(--pino); -webkit-backdrop-filter: none; backdrop-filter: none; }
.vbtn--ink .vbtn__icon { background: var(--mar-hondo); color: #fff; }
.vbtn--ink:hover { background: var(--mar-tint); border-color: var(--mar-hondo); color: var(--mar-hondo); }

/* ---------- Instalaciones y servicios: recorrido en vídeo por capítulos ---------- */
.tourhero {
  position: relative;
  height: 88vh;
  height: 88svh;
  min-height: 34rem;
  max-height: 60rem;
  padding: clamp(0.5rem, 1vw, 0.85rem);
}
.tourhero__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--pino);
  color: #fff;
  isolation: isolate;
}
.tourhero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(40, 26, 14, 0.5) 0%, rgba(40, 26, 14, 0) 24%),
    linear-gradient(0deg, rgba(40, 26, 14, 0.72) 0%, rgba(40, 26, 14, 0.26) 40%, rgba(40, 26, 14, 0) 62%);
}
.tourhero__poster, .tourhero__poster img, .tourhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tourhero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(6.25rem, 13vh, 8.5rem);
  z-index: 2;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.tourhero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.tourhero__kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mar);
  box-shadow: 0 0 0 4px rgba(5, 178, 184, 0.35);
}
.tourhero__chap { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .tourhero__chap.is-swap { animation: chap-in 0.6s var(--ease); }
}
@keyframes chap-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.tourhero__title {
  margin: 0;
  max-width: 13ch;
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}
.tourhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 1.5rem; }
.tourhero__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.tourhero__more:hover { color: var(--melocoton); }
.tourhero__more .ico { width: 1rem; height: 1rem; }
/* barra de capítulos */
.tour {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  z-index: 3;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.tour__toggle { flex: none; width: 2.75rem !important; height: 2.75rem !important; }
.tour__toggle .ico-play { display: none; }
.tour.is-paused .tour__toggle .ico-pause { display: none; }
.tour.is-paused .tour__toggle .ico-play { display: block; }
.tour__list { flex: 1; display: flex; gap: 0.35rem; min-width: 0; margin: 0; padding: 0; list-style: none; }
.tour__item { flex: var(--d, 1) 1 0; min-width: 6.25rem; }
.tour__btn {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  cursor: pointer;
}
.tour__name {
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transition: color 0.2s;
}
.tour__track { position: relative; display: block; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.32); transition: height 0.2s; }
.tour__fill { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.tour__item.is-current .tour__fill { background: var(--melocoton); }
.tour__btn:hover, .tour__item.is-current .tour__btn { color: #fff; }
.tour__btn:hover .tour__track { height: 5px; }
.tour__btn:focus-visible { outline-offset: 4px; }
@media (max-width: 1100px) {
  .tour__name { display: none; }
  .tour__item { min-width: 0; }
}
@media (max-width: 760px) {
  .tourhero { height: 86svh; min-height: 32rem; max-height: none; padding: 0.4rem; }
  .tourhero__frame { border-radius: 22px; }
  .tourhero__caption { bottom: 5.25rem; }
  .tourhero__title { font-size: clamp(2.35rem, 1.2rem + 6vw, 3.25rem); }
  .tourhero__actions { margin-top: 1.1rem; }
  .tour { bottom: 1.25rem; gap: 0.6rem; }
  .tour__list { gap: 0.2rem; }
  .tour__btn { min-height: 2.25rem; }
}
@media (max-width: 400px) {
  .tourhero__actions .vbtn__meta { display: none; }
}

/* Buscador bajo el hero de portada */
.hero-booking {
  position: relative;
  z-index: 5;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: -3.25rem auto 0;
  padding: 0 var(--gutter);
}

/* ---------- Migas de pan y cabecera de página ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--mar-hondo); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--pino); font-weight: 600; }

.crumbbar {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
}
.is-home .crumbbar { display: none; }

.pagehead {
  position: relative;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2.75rem, 6vw, 4.5rem);
  background: var(--arena);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 2px solid rgba(111, 68, 7, 0.12);
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.14), 0 0 0 5rem rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.pagehead__inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pagehead .breadcrumb ol { color: color-mix(in srgb, var(--pino) 85%, var(--arena)); }
.pagehead__title {
  margin: 0.9rem 0 0;
  max-width: 22ch;
  font-size: var(--fs-2xl);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--corteza);
}
.pagehead__title.c-green, .pagehead__title .c-green { color: var(--mar-hondo); }
.pagehead__title.ta-center { text-align: left; }
.no-hero .main:not(:has(.pagehead)) { padding-top: calc(var(--header-h) + 1rem); }

/* ==========================================================================
   Contenido: rejilla con columnas de lectura, ancha y a sangre
   ========================================================================== */
.content {
  --gap-prose: calc((var(--wide) - var(--measure)) / 2);
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, var(--gap-prose))
    [prose-start] min(var(--measure), calc(100% - 2 * var(--gutter)))
    [prose-end] minmax(0, var(--gap-prose))
    [wide-end] minmax(var(--gutter), 1fr) [full-end];
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--space-section);
}
.content:has(> .outro:last-child) { padding-bottom: 0; }
.content > * { grid-column: prose; min-width: 0; }
.content > * + * { margin-top: 1.1rem; }
.content > :is(h1, h2) { margin-top: clamp(2.5rem, 5vw, 4rem); }
.content > :is(h3, h4, h5) { margin-top: 2.25rem; }
.content > :first-child { margin-top: 0; }
.content > :is(h1, h2, h3, h4) + p { margin-top: 0.9rem; }
.content > :is(h1, h2) + :is(h2, h3, h4) { margin-top: 0.75rem; }
.content > p { font-size: 1.0625rem; }
.content > .alignwide,
.content > :is(.cards, .tiles-block, .cols, .listing, .arches, .map, .formsplit, .features, .detail, .faq-group-wrap) { grid-column: wide; }
.content > .alignfull,
.content > :is(.panels, .promos, .sandband, .cover, .outro, .strip) { grid-column: full; }
.content > :is(.cards, .tiles-block, .cols, .listing, .arches, .panels, .promos, .sandband, .cover, .strip, .features, .accordion, .formsplit, .map, .slider, .figure, .video, .collage, .chips, .btns) { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.content > :is(.panels, .promos, .sandband, .cover) { margin-top: var(--space-section); }
.content > :is(.panels, .promos, .sandband, .cover) + :is(.panels, .promos, .sandband, .cover) { margin-top: 0; }
.content > :is(.sandband, .promos, .cover) + * { margin-top: var(--space-section); }
.content > .outro { margin-top: var(--space-section); }

/* ---------- Columnas ---------- */
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(1.5rem, 4vw, 3.5rem); }
.col { flex: 1 1 0; min-width: 0; }
.col[style*="--basis"] { flex: 1 1 calc(var(--basis) - 3.5rem); }
.col > * + * { margin-top: 1rem; }
.col > :is(h1, h2, h3) + * { margin-top: 0.8rem; }
@media (max-width: 781px) {
  .cols { flex-direction: column; align-items: stretch; }
  .col, .col[style*="--basis"] { flex: none; width: 100%; }
}

/* ---------- Ficha de alojamiento: contenido + reserva ---------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 23.5rem);
  grid-template-areas: "lead aside" "main aside";
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.detail__lead { grid-area: lead; }
.detail__main { grid-area: main; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.detail__aside { grid-area: aside; position: sticky; top: 6.5rem; }
.detail__lead > * + * { margin-top: 1rem; }
.detail__lead > h2, .detail__lead > h3 { font-size: var(--fs-xl); color: var(--mar-hondo); }
.detail__lead > p { font-size: 1.1875rem; line-height: 1.55; }
.detail__main > * + * { margin-top: 1.25rem; }
.detail__main > .accordion + p { margin-top: 1.5rem; }
.detail__aside .booking-card { margin: 0; }
@media (max-width: 980px) {
  .detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "aside" "main"; }
  .detail__aside { position: static; margin-top: 1.75rem; }
}

.booking-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-float);
}
.booking-card > :is(h2, h3) {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 1.5rem;
  color: var(--corteza);
}
.booking-card > :is(h2, h3)::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mar);
  box-shadow: 0 0 0 5px var(--mar-tint-2);
}

/* ---------- Formulario de reserva ---------- */
.booking { display: grid; gap: 0.85rem; }
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.booking__ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0.75rem; }
.booking__ages[hidden] { display: none; }
.booking__summary { min-height: 1.3em; font-size: 0.875rem; color: var(--ink-soft); }
.booking__summary:empty { display: none; }
.booking .btn[type="submit"] { min-height: 3.25rem; font-size: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field__label { font-size: 0.8125rem; font-weight: 700; color: var(--pino); letter-spacing: 0.01em; }
.field__control { position: relative; display: flex; align-items: center; }
.field__control > .ico { position: absolute; left: 0.85rem; z-index: 1; width: 1.1rem; height: 1.1rem; color: var(--mar-hondo); pointer-events: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pino);
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
select {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23463c32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
}
input[type="date"] { cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
textarea { min-height: 8.5rem; resize: vertical; }
.field__control > :is(input, select) { padding-left: 2.55rem; }
.field__control > input[type="date"] { position: relative; }
.field__control > input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.field__control > input[type="date"]::-webkit-datetime-edit { padding: 0; }
:is(input, select, textarea):hover { border-color: color-mix(in srgb, var(--mar-hondo) 45%, var(--line-strong)); }
:is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--mar-hondo);
  box-shadow: 0 0 0 4px var(--mar-tint-2);
}
:is(input, select, textarea)[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12); }

.booking--bar {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(70, 60, 50, 0.55), 0 0 0 1px rgba(70, 60, 50, 0.06);
}
.booking--bar .booking__row { display: contents; }
.booking--bar .booking__ages { grid-column: 1 / -1; order: 3; }
.booking--bar .booking__summary { grid-column: 1 / -1; order: 4; margin: -0.25rem 0 0; }
.booking--bar .btn[type="submit"] { padding-inline: 1.75rem; }
@media (max-width: 980px) {
  .booking--bar { grid-template-columns: 1fr 1fr; }
  .booking--bar .btn[type="submit"] { grid-column: 1 / -1; order: 5; }
}
@media (max-width: 420px) {
  .booking__row, .booking--bar { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .booking--bar { padding: 0.85rem; }
  .field__control > .ico { left: 0.7rem; }
  .field__control > :is(input, select) { padding-left: 2.2rem; padding-right: 0.5rem; font-size: 0.9375rem; background-position: right 0.5rem center; }
}

/* ==========================================================================
   Portada
   ========================================================================== */
/* la portada acaba con el vídeo del mar pegado al pie */
.content--home { padding-top: 0; padding-bottom: 0; }
.intro {
  grid-column: wide;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
  padding-top: var(--space-section);
}
.intro__head .h-script, .intro__head h2 { margin: 0 0 0.35rem; color: var(--mar); text-align: left; }
.intro__head h1 { max-width: 12ch; font-size: clamp(2.5rem, 1.7rem + 3.3vw, 4.75rem); line-height: 0.98; text-align: left; color: var(--mar-hondo); }
.intro__body { display: grid; gap: 1.1rem; padding-top: clamp(0rem, 2vw, 1.5rem); }
.intro__body p { text-align: left; font-size: 1.125rem; line-height: 1.7; }
.intro__badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.7rem;
  margin: 0.6rem 0 0;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--mar-tint);
  color: var(--mar-hondo);
  font-size: 1.125rem;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: left;
}
.intro__badge .ico { width: 1.6rem; height: 1.6rem; color: var(--mar); stroke-width: 2; }
.is-home .intro__head .h-script { color: var(--mar); font-size: clamp(1.9rem, 1.4rem + 2vw, 3.1rem); }
.is-home .intro__head h1 { color: var(--abismo-2); }
.is-home .intro__badge { background: var(--abismo-2); color: #fff; }
.is-home .intro__badge .ico { color: var(--mar); }

.stay { grid-column: wide; padding-top: clamp(3rem, 6vw, 5rem); }
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0.9rem 1.5rem;
  border: 1.5px dashed var(--mar);
  border-radius: var(--r-pill);
  color: var(--pino);
  font-size: 1rem;
  text-align: center;
}
.notice .ico { width: 1.5rem; height: 1.5rem; color: var(--mar-hondo); }

.active {
  grid-column: wide;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-top: var(--space-section);
}
.active .col { width: auto; }
.active p { font-size: 1.1875rem; line-height: 1.7; }

.services { grid-column: wide; margin-top: var(--space-section); }
.recs { grid-column: wide; margin-top: var(--space-section); }
.recs__head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.recs__head h2 { margin: 0; }

@media (max-width: 900px) {
  .intro, .active { grid-template-columns: minmax(0, 1fr); }
  .intro__head h1 { max-width: 14ch; }
}

/* ---------- Tipos de alojamiento: tarjetas altas escalonadas, con las mismas esquinas que los paneles ----------
   Las impares quedan más arriba y por delante, con el texto arriba; las pares, más abajo y con el texto abajo. */
.arches {
  --ov: clamp(0.75rem, 2vw, 1.75rem); /* lo que se solapan */
  --st: clamp(1rem, 2.2vw, 2rem); /* escalón entre tarjetas */
  display: flex;
  align-items: flex-start;
  padding-bottom: var(--st);
}
.arch {
  --y: 0px;
  position: relative;
  z-index: 2;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  container-type: inline-size;
  transform: translateY(var(--y));
}
.arch + .arch { margin-left: calc(-1 * var(--ov)); }
.arch:nth-child(even) { --y: var(--st); z-index: 1; }
.arch:hover, .arch:focus-visible { z-index: 3; }
.arch:focus-visible { outline: none; }
.arch__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--arena);
  isolation: isolate;
  box-shadow: 0 22px 40px -22px rgba(0, 40, 42, 0.6), 0 2px 10px rgba(0, 40, 42, 0.12);
  transition: box-shadow 0.3s, transform 0.45s var(--ease);
}
.arch__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.arch__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.5) 0%, rgba(20, 16, 12, 0) 42%);
}
.arch:nth-child(even) .arch__media::after { background: linear-gradient(0deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0) 42%); }
.arch__title {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0;
  padding: 0 calc(var(--ov) + 0.6rem);
  color: #fff;
  font-size: clamp(1.25rem, 0.3rem + 2.2vw, 2.25rem);
  font-size: min(10.5cqi, 2.75rem);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 3px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--ease);
}
.arch:nth-child(even) .arch__title { top: auto; bottom: 8%; }
/* primera línea, más pequeña: «Acampa en tu» + «parcela» */
.arch__pre { display: block; margin-bottom: 0.2em; font-size: max(0.75rem, 0.54em); line-height: 1.1; letter-spacing: 0; }
/* al pasar el ratón la tarjeta se eleva (la imagen y el texto; el enlace no se mueve, así no parpadea en el borde) */
.arch:hover :is(.arch__media, .arch__title), .arch:focus-visible :is(.arch__media, .arch__title) { transform: translateY(-0.5rem); }
.arch:hover .arch__media img { transform: scale(1.06); }
.arch:hover .arch__media, .arch:focus-visible .arch__media { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--mar), 0 30px 50px -26px rgba(0, 40, 42, 0.7); }
.arch:hover { color: #fff; }
@media (max-width: 720px) {
  .arches { --st: 2.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .arch + .arch { margin-left: 0; }
  .arch__title { padding: 0 0.6rem; font-size: 11cqi; }
  /* si son impares, la última va centrada (y baja con las pares para no tocar la de encima) */
  .arch:last-child:nth-child(odd) { --y: var(--st); grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.375rem); }
}
@media (prefers-reduced-motion: reduce) {
  .arch__media, .arch__title { transition: none; }
}

/* ---------- Paneles expandibles ---------- */
.panels {
  display: flex;
  gap: clamp(0.5rem, 1vw, 0.9rem);
  height: clamp(26rem, 64vh, 40rem);
  padding: 0 clamp(0.5rem, 1.4vw, 1rem);
}
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: #fff;
  text-decoration: none;
  transition: flex-grow 0.8s var(--ease);
}
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 22, 16, 0.66) 0%, rgba(28, 22, 16, 0) 45%);
}
.panel__title {
  position: absolute;
  left: clamp(1.1rem, 2vw, 1.75rem);
  right: 1rem;
  bottom: clamp(1.1rem, 2vw, 1.6rem);
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem);
  line-height: 1;
}
.panel:hover { color: #fff; }
/* en el ordenador van los cuatro en fila y se expande el que tiene el ratón encima */
@media (hover: hover) and (min-width: 1025px) {
  .panels:hover .panel { flex-grow: 0.75; }
  .panels .panel:hover, .panels .panel:focus-visible { flex-grow: 2.3; }
}
/* en tablet y móvil, de dos en dos: casi 1,4 veces más altos que anchos y, en horizontal, sin pasar de media pantalla */
@media (max-width: 1024px), (hover: none) {
  .panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    padding: 0 var(--gutter);
  }
  .panel { height: min(0.7 * (100vw - 2 * var(--gutter)), max(15rem, 46vh)); }
}
/* en los móviles más estrechos el título se reduce lo justo para que quepa «Actividades» */
@media (max-width: 359px) {
  .panel__title { font-size: 6.2vw; }
}
/* portada: toma de dron al pasar el ratón (en el móvil y la tablet, la tarjeta que más se ve) */
.panel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.panel.is-playing .panel__video { opacity: 1; }
.panel__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.3s;
}
.panel__badge .ico { width: 0.9rem; height: 0.9rem; margin-left: 2px; fill: currentColor; stroke: none; }
.panel.is-playing .panel__badge { opacity: 0; }

/* ---------- Banda arena (texto + vídeo) ---------- */
.sandband { background: var(--arena); padding: var(--space-section) 0; }
.sandband__inner {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.sandband__text > * + * { margin-top: 1rem; }
.sandband__text h2 { color: var(--corteza); font-size: var(--fs-2xl); }
.sandband__text p { font-size: 1.0625rem; line-height: 1.75; }
.sandband__text .btns { margin-top: 1.75rem; }
@media (max-width: 860px) {
  .sandband__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Portada: Costa Brava / dónde estamos (vídeo grande y mapa 3D pequeño) ---------- */
.costa {
  position: relative;
  padding-top: calc(var(--space-section) + 1.5rem);
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, color-mix(in srgb, var(--mar) 45%, transparent), transparent 70%),
    linear-gradient(180deg, var(--abismo-2) 0%, var(--abismo) 100%);
  color: #fff;
}
.costa .sandband__inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.75fr);
  grid-template-areas: "text video" "map video";
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.costa .sandband__text { grid-area: text; }
.costa h2 { color: #fff; }
.costa p { color: rgba(255, 255, 255, 0.9); }
.costa .btn--primary { --btn-bg: #fff; --btn-fg: var(--mar-hondo); }
.costa .btn--primary:hover { --btn-bg: var(--mar-tint); }
.costa__video { grid-area: video; align-self: center; }
.costa__video .video { box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.costa__mapa { grid-area: map; max-width: 30rem; }
.costa__label { margin: 0 0 0.7rem; color: var(--mar) !important; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 860px) {
  .costa .sandband__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "video" "map"; }
  .costa__mapa { max-width: none; }
}
/* la página blanca «rompe» como una ola sobre las secciones azules */
.costa::before, .is-home .promos::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: clamp(1.5rem, 3.4vw, 3rem);
  background: #fff;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v22c-100 0-100 30-200 30S900 22 800 22 700 52 600 52 500 22 400 22 300 52 200 52 100 22 0 22z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v22c-100 0-100 30-200 30S900 22 800 22 700 52 600 52 500 22 400 22 300 52 200 52 100 22 0 22z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
}
.costa::before { top: -1px; }
.is-home .promos::after { bottom: -1px; transform: scaleY(-1); }

/* ---------- Mapa 3D de la Costa Brava (animación renderizada en 4K) ---------- */
.mapa { position: relative; }
.mapa__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #cfe6e8;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  isolation: isolate;
  container-type: inline-size;
}
.mapa__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mapa__labels { position: absolute; inset: 0; pointer-events: none; }
.mlabel {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(0.625rem, 2.1cqi, 0.875rem);
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1;
  white-space: nowrap;
  color: var(--pino);
  opacity: 0;
  transition: opacity 0.45s;
  will-change: transform, opacity;
}
.mlabel.is-on { opacity: 1; }
.mlabel--left { flex-direction: row-reverse; }
.mlabel--up, .mlabel--down { flex-direction: column; gap: 0.3em; }
.mlabel--up { flex-direction: column-reverse; }
@container (max-width: 620px) {
  .mlabel--minor { display: none; }
}
.mlabel__dot {
  flex: none;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.18em var(--mar-hondo), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.mlabel__text {
  padding: 0.38em 0.6em 0.4em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px -8px rgba(40, 34, 28, 0.55);
}
.mlabel--sea .mlabel__text { background: none; box-shadow: none; color: #fff; font-style: italic; font-weight: 600; letter-spacing: 0.06em; text-shadow: 0 1px 8px rgba(0, 60, 62, 0.6); }
.mlabel--sea .mlabel__dot, .mlabel--area .mlabel__dot { display: none; }
.mlabel--home { font-size: clamp(0.75rem, 2.6cqi, 1.125rem); flex-direction: column; gap: 0.3em; }
.mlabel--home .mlabel__text { padding: 0.5em 0.85em 0.55em; background: var(--mar-hondo); color: #fff; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0, 70, 72, 0.8); }
.mlabel--home .mlabel__dot { display: none; }
.mlabel--beach .mlabel__dot { box-shadow: 0 0 0 0.18em var(--arena-3), 0 2px 6px rgba(0, 0, 0, 0.25); }
.mapa__pulse {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}
.mapa__pulse.is-on { opacity: 1; }
.mapa__pulse::before, .mapa__pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(2.5rem, 9cqi, 6rem);
  aspect-ratio: 2.4;
  border: 2px solid var(--mar);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .mapa__pulse.is-on::before, .mapa__pulse.is-on::after { animation: mapa-pulse 2.6s var(--ease) infinite; }
  .mapa__pulse.is-on::after { animation-delay: 1.3s; }
}
@keyframes mapa-pulse {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0.95; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.mapa__chip {
  position: absolute;
  left: clamp(0.6rem, 2.2cqi, 1.1rem);
  top: clamp(0.6rem, 2.2cqi, 1.1rem);
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  margin: 0;
  padding: 0.5em 0.85em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.6875rem, 2.2cqi, 0.875rem);
  font-weight: 600;
  line-height: 1.1;
  box-shadow: 0 8px 20px -10px rgba(40, 34, 28, 0.5);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s, transform 0.5s var(--ease);
}
.mapa .mapa__frame p.mapa__chip { color: var(--pino); }
.mapa__chip.is-on { opacity: 1; transform: none; }
.mapa__chip strong { color: var(--mar-hondo); font-size: 1.35em; font-weight: 800; font-stretch: 86%; font-variant-numeric: tabular-nums; }
/* todo el mapa lleva a la ubicación en Google Maps */
.mapa__link { position: absolute; inset: 0; z-index: 2; display: block; border-radius: inherit; color: var(--pino); text-decoration: none; }
.mapa__link:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.mapa__go {
  position: absolute;
  left: clamp(0.6rem, 2.2cqi, 1.1rem);
  bottom: clamp(0.6rem, 2.2cqi, 1.1rem);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 0.9em 0.5em 0.7em;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--mar-hondo);
  font-size: clamp(0.75rem, 2.3cqi, 0.875rem);
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s, color 0.2s;
}
.mapa__go .ico { width: 1.2em; height: 1.2em; }
.mapa__link:hover .mapa__go { background: var(--mar-hondo); color: #fff; }
.mapa__ui {
  position: absolute;
  right: clamp(0.6rem, 2.2cqi, 1.1rem);
  bottom: clamp(0.6rem, 2.2cqi, 1.1rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.mapa__ui .roundbtn { width: 2.5rem; height: 2.5rem; }
.mapa__ui .roundbtn[hidden] { display: none; }
.mapa__ui .roundbtn .ico { width: 1rem; height: 1rem; }
.mapa__ui [data-mapa-play] .ico { fill: currentColor; stroke: none; margin-left: 2px; }
.mapa__credit { margin: 0.6rem 0.25rem 0; font-size: 0.75rem !important; line-height: 1.4; color: rgba(255, 255, 255, 0.62) !important; }
.mapa__credit a { color: inherit; }

/* ---------- Vídeo (YouTube bajo demanda) ---------- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #1c1610;
  box-shadow: var(--shadow-float);
}
.video > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(0deg, rgba(28, 22, 16, 0.25), rgba(28, 22, 16, 0.05));
  cursor: pointer;
}
.video__play svg { width: clamp(4.25rem, 8vw, 6rem); height: auto; transition: transform 0.3s var(--ease); }
.video__play circle { fill: rgba(255, 255, 255, 0.94); }
.video__play path { fill: var(--mar-hondo); }
.video__play:hover svg { transform: scale(1.08); }
.video:hover > img { transform: scale(1.03); }
.video--wide { max-width: 52rem; margin-inline: auto; }

/* ---------- Promociones ---------- */
.promos {
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  background: var(--mar-hondo);
  color: #fff;
  isolation: isolate;
}
.promos__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}
.promos::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 178, 184, 0.55), rgba(5, 178, 184, 0) 70%);
}
.promos__inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.promos__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.promos__title { max-width: 20ch; color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); text-align: left !important; }
.promos__nav { display: flex; gap: 0.5rem; flex: none; }
.promos__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, calc((100% - 3 * 1.25rem) / 4));
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0 0.5rem;
}
.promos__track::-webkit-scrollbar { display: none; }
.promo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  color: var(--pino);
  scroll-snap-align: start;
}
.promo__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--arena); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.promo:hover .promo__media img { transform: scale(1.05); }
.promo__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.3rem 1.4rem; }
.promo__title { color: var(--mar-hondo); font-size: 1.375rem; line-height: 1.12; }
.promo__text { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.promo__price { margin-top: 0.35rem; color: var(--pino); font-size: 1.625rem; font-weight: 800; font-stretch: 86%; line-height: 1.1; }
.promo__price small { font-size: 0.55em; font-weight: 600; font-stretch: 100%; margin-right: 0.15em; }
.promo__cta { margin-top: auto; padding-top: 0.9rem; }
.promos__more { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 760px) {
  .promos__head { align-items: flex-start; flex-direction: column; }
  .promos__nav { display: none; }
  .promos__track { grid-auto-columns: 78%; }
}
.is-home .promos { background: var(--abismo); }
.is-home .promos__bg { opacity: 0.12; }

/* ---------- Collage circular ---------- */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.25rem); }
.collage__item { display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.collage__item:hover img { transform: scale(1.06); }
.collage--circle { align-items: center; }
.collage--circle .collage__item { border-radius: 50%; }

/* ---------- Servicios (iconos) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; align-items: start; }
.feature__icon {
  grid-row: span 2;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--mar-tint);
  position: relative;
}
.feature__icon::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  background: var(--mar-hondo);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.feature__title { margin: 0.2rem 0 0; color: var(--pino); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.feature__text { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; }
@media (max-width: 1080px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .features { grid-template-columns: minmax(0, 1fr); } }
.is-home .feature__icon { background: color-mix(in srgb, var(--mar) 14%, #fff); }

/* Portada: el alquiler de bicis, destacado en una tarjeta alta como las de alojamiento,
   con el vídeo de la ruta hasta la playa y el indicador del recorrido */
.services--bici {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.services--bici .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bici { display: grid; gap: 1.2rem; }
.bici__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--arena);
  isolation: isolate;
  container-type: inline-size;
  box-shadow: 0 22px 40px -22px rgba(0, 40, 42, 0.6), 0 2px 10px rgba(0, 40, 42, 0.12);
}
.bici__media::before,
.bici__media::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.bici__media::before { top: 0; height: 45%; background: linear-gradient(180deg, rgba(20, 16, 12, 0.5), rgba(20, 16, 12, 0)); }
.bici__media::after { bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(20, 16, 12, 0.42), rgba(20, 16, 12, 0)); }
.bici__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bici__title {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0 3.75rem;
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-size: min(14cqi, 3.25rem);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 3px 18px rgba(0, 0, 0, 0.45);
}
.bici__pre { display: block; margin-bottom: 0.2em; font-size: 0.5em; line-height: 1.1; letter-spacing: 0; }
.bici__toggle { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; width: 2.6rem; height: 2.6rem; }
.bici__toggle .ico-play { display: none; }
.bici.is-paused .bici__toggle .ico-pause { display: none; }
.bici.is-paused .bici__toggle .ico-play { display: block; }
.bici__body { padding: 0 0.25rem; }
.bici__text { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
/* indicador de ruta sincronizado con el vídeo, dentro de la tarjeta */
.ruta {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.8rem 1rem 0.85rem;
  border-radius: calc(var(--r-lg) - 0.8rem);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -20px rgba(20, 16, 12, 0.6);
}
.ruta__ends { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--ink-soft); }
.ruta__end { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.3s; }
.ruta__end::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--arena); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--line-strong); transition: background-color 0.3s, box-shadow 0.3s; }
.ruta__end.is-on { color: var(--mar-hondo); }
.ruta__end.is-on::before { background: var(--mar); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--mar); }
.ruta__end--to { flex-direction: row-reverse; text-align: right; }
.ruta__dist { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink-soft); font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.ruta__line { position: relative; height: 2.25rem; margin-top: 0.15rem; }
.ruta__line::before { content: ""; position: absolute; left: 0.3rem; right: 0.3rem; top: 50%; border-top: 2px dashed var(--line-strong); }
.ruta__done { position: absolute; left: 0.3rem; top: calc(50% - 1px); width: calc((100% - 0.6rem) * var(--k, 0)); height: 3px; border-radius: 3px; background: var(--mar); }
.ruta__bike {
  position: absolute;
  top: 50%;
  left: calc(0.3rem + (100% - 0.6rem) * var(--k, 0));
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--mar-hondo);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px -8px rgba(0, 115, 119, 0.8);
  z-index: 1;
}
.ruta__bike .ico { width: 1.3rem; height: 1.3rem; stroke-width: 1.8; }
@media (max-width: 1080px) {
  .services--bici { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .services--bici .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .services--bici { grid-template-columns: minmax(0, 1fr); }
  .bici { width: min(100%, 30rem); margin-inline: auto; }
  .bici__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .services--bici .features { grid-template-columns: minmax(0, 1fr); }
  .ruta { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 0.75rem 0.8rem 0.8rem; border-radius: calc(var(--r-lg) - 0.6rem); }
}

/* ---------- Características de alojamiento (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--pino);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}
.chip__icon {
  position: relative;
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--mar-tint);
}
.chip__icon::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  background: var(--mar-hondo);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.chip__icon[style*="pets-01"], .chip__icon[style*="smoke-02"] { background: #f7ebe3; }
.chip__icon[style*="pets-01"]::after, .chip__icon[style*="smoke-02"]::after {
  background: var(--icon) center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}
.chip__desc { font-weight: 400; color: var(--ink-soft); }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.card { display: flex; flex-direction: column; color: var(--pino); text-decoration: none; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--arena); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card__body { display: block; padding-top: 1.1rem; }
.card__title { color: var(--mar-hondo); font-size: 1.4375rem; line-height: 1.12; transition: color 0.2s; }
.card__text { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.975rem; line-height: 1.6; }
.card:hover { color: var(--pino); }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__title { color: var(--mar-hondo-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.is-home .card__title { color: var(--abismo-2); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
}

/* ---------- Listados (alojamientos, ofertas) ---------- */
.listing { display: grid; gap: clamp(2rem, 4.5vw, 3.75rem); }
.listing__group { display: grid; gap: clamp(2rem, 4.5vw, 3.75rem); }
.listing__group[hidden] { display: none; }
.item {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4.5vw, 4rem);
  align-items: center;
}
.item:nth-child(even) .item__media { order: 2; }
.item__media { display: block; overflow: hidden; aspect-ratio: 5 / 3.4; border-radius: var(--r-lg); background: var(--arena); }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.item:hover .item__media img { transform: scale(1.04); }
.item__body > * + * { margin-top: 0.85rem; }
.item__title { font-size: var(--fs-xl); color: var(--mar-hondo); }
.item__title a { color: inherit; text-decoration: none; }
.item__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.item__text { font-size: 1.0625rem; line-height: 1.65; }
.item__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-top: 0.5rem; }
@media (max-width: 800px) {
  .item { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .item:nth-child(even) .item__media { order: 0; }
}
.specs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.spec {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.35rem;
  padding: 0 0.7rem;
  border-radius: var(--r-pill);
  background: var(--mar-tint);
  color: var(--mar-hondo);
}
.spec .ico { width: 1.2rem; height: 1.2rem; }
.spec--cap { gap: 0.2rem; padding-right: 0.85rem; font-weight: 800; font-size: 1rem; }
.spec__num { margin-left: 0.25rem; }
.spec__num:first-child { margin-left: 0; }

/* Pestañas */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0.3rem;
  border-radius: var(--r-pill);
  background: var(--arena-tint);
}
.tabs__tab {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--corteza);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tabs__tab:hover { color: var(--pino); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--mar-hondo); box-shadow: 0 4px 14px -6px rgba(70, 60, 50, 0.45); }

/* ---------- Acordeones ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  list-style: none;
  cursor: pointer;
}
.acc__summary::-webkit-details-marker { display: none; }
.acc__title { margin: 0; color: var(--pino); font-size: 1.125rem; font-weight: 700; font-stretch: 94%; line-height: 1.35; letter-spacing: 0; transition: color 0.2s; }
.acc__summary:hover .acc__title { color: var(--mar-hondo); }
.acc__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--mar-tint);
  transition: background-color 0.2s, transform 0.3s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 2px;
  margin: -1px 0 0 -0.4rem;
  border-radius: 2px;
  background: var(--mar-hondo);
  transition: transform 0.3s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc[open] > .acc__summary .acc__icon { background: var(--mar-hondo); }
.acc[open] > .acc__summary .acc__icon::before, .acc[open] > .acc__summary .acc__icon::after { background: #fff; }
.acc[open] > .acc__summary .acc__icon::after { transform: rotate(0); }
.acc__body { padding: 0 0.25rem 1.5rem; }
.acc__body > * + * { margin-top: 0.9rem; }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .acc[open]::details-content { height: auto; }
}

/* FAQ */
.faq-group + .faq-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.faq-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  color: var(--corteza);
  font-size: var(--fs-lg);
}
.faq-group__title::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mar);
  box-shadow: 0 0 0 5px var(--mar-tint-2);
}
.content > .faq-group { margin-top: clamp(2.25rem, 4vw, 3rem); }
.content > .faq-group:first-child { margin-top: 0; }

/* ---------- Mosaico de fichas (instalaciones, entorno, animación) ---------- */
/* Las fichas ocupan la fila entera (4 en fila con --n:4, 5 con --n:5…) y la última fila incompleta queda centrada */
.tiles {
  --tg: clamp(0.75rem, 1.8vw, 1.25rem);
  --cols: clamp(3, var(--n, 4), 5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--tg);
}
@media (max-width: 1100px) { .tiles[style*="--n:5"], .tiles[style*="--n:6"] { --cols: 3; } }
@media (max-width: 900px) {
  .tiles { --cols: 3; }
  .tiles[style*="--n:4"], .tiles[style*="--n:2"] { --cols: 2; }
}
@media (max-width: 600px) { .tiles, .tiles[style] { --cols: 2; } }
.tile {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--tg)) / var(--cols) - 0.1px);
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--arena);
  color: #fff;
  text-decoration: none;
}
.tile__media { position: absolute; inset: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 22, 16, 0.7) 0%, rgba(28, 22, 16, 0) 55%);
  transition: background-color 0.3s;
}
.tile__title {
  position: absolute;
  left: 1.1rem;
  right: 3.75rem;
  bottom: 1.05rem;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.15;
}
.tile__plus {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.tile__plus::before, .tile__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 2px;
  margin: -1px 0 0 -0.425rem;
  border-radius: 2px;
  background: var(--mar-hondo);
}
.tile__plus::after { transform: rotate(90deg); }
.tile:hover { color: #fff; }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile[aria-expanded="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--mar); }
.tile[aria-expanded="true"] .tile__plus { transform: rotate(45deg); background: var(--mar); }
.tile[aria-expanded="true"] .tile__plus::before, .tile[aria-expanded="true"] .tile__plus::after { background: #fff; }
.tiles-block + .tiles-block { margin-top: clamp(1rem, 2vw, 1.5rem) !important; }
@media (max-width: 600px) {
  .tile__title { left: 0.8rem; right: 2.9rem; bottom: 0.8rem; font-size: 1rem; }
  .tile__plus { right: 0.65rem; bottom: 0.65rem; width: 1.9rem; height: 1.9rem; }
  .tile__plus::before, .tile__plus::after { width: 0.7rem; margin-left: -0.35rem; }
}

.tile-panels:empty { display: none; }
.tile-panel {
  position: relative;
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.5rem, 4.5vw, 3.25rem);
  border-radius: var(--r-lg);
  background: var(--arena-tint);
  scroll-margin-top: 6.5rem;
}
.tile-panel[hidden] { display: none; }
.js .tile-panel:not(.is-open) { display: none; }
.tile-panel__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--pino); cursor: pointer; box-shadow: var(--shadow-soft); }
.tile-panel__close:hover { background: var(--mar-hondo); color: #fff; }
.no-js .tile-panel__close { display: none; }
.tile-panel__inner > * + * { margin-top: 1.25rem; }
.tile-panel__inner > .cols { gap: clamp(1.5rem, 4vw, 3rem); }
.tile-panel__inner h2 { font-size: var(--fs-xl); color: var(--corteza); padding-right: 3rem; }
.tile-panel__inner .features { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid rgba(111, 68, 7, 0.15); }
.tile-panel__inner .feature__icon { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .tile-panel.is-open { animation: panel-in 0.45s var(--ease); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Galerías ---------- */
.strip { position: relative; }
.strip__track {
  display: flex;
  gap: clamp(0.6rem, 1.4vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wide)) / 2));
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wide)) / 2));
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__item {
  flex: none;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--arena);
  scroll-snap-align: start;
}
.strip__item img { width: auto; height: clamp(17rem, 36vw, 30rem); object-fit: cover; transition: transform 0.8s var(--ease); }
.strip--contain .strip__item img { aspect-ratio: 3 / 4; width: auto; }
.strip__item:hover img { transform: scale(1.04); }
.strip__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 1rem auto 0;
  padding: 0 var(--gutter);
}

.slider { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--arena); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 100%; display: block; aspect-ratio: 4 / 3; scroll-snap-align: start; }
.slider__item img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.slider__nav > * { pointer-events: auto; }
.slider__nav .roundbtn { width: 2.5rem; height: 2.5rem; }
.slider__count { padding: 0.25rem 0.7rem; border-radius: var(--r-pill); background: rgba(28, 22, 16, 0.55); color: #fff; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.figure { margin: 0; }
.figure[style*="--w"] { max-width: var(--w); }
.figure--center { margin-inline: auto; }
.figure--right { margin-left: auto; }
.figure img { width: 100%; border-radius: var(--r-md); }
.figure--circle img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.figure--media img { aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom--inline { display: inline-block; }
.inline-img { display: inline-block; max-width: var(--w, 100%); vertical-align: middle; }
.inline-img img { border-radius: var(--r-sm); }
.inline-img.aligncenter { display: block; margin-inline: auto; }
.zoom--inline:has(.aligncenter) { display: block; }
img.inline-img { display: inline-block; }

/* ---------- Portadas con imagen ---------- */
.cover {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(26rem, 62vh, 40rem);
  color: #fff;
  isolation: isolate;
}
.cover__media { position: absolute; inset: 0; z-index: -1; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; }
.cover__media::after { content: ""; position: absolute; inset: 0; }
.cover--dark .cover__media::after { background: linear-gradient(90deg, rgba(28, 22, 16, 0.72) 0%, rgba(28, 22, 16, 0.35) 55%, rgba(28, 22, 16, 0.1) 100%); }
.cover__inner {
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.cover__inner > * { max-width: 38rem; }
.cover__inner > * + * { margin-top: 1rem; }
.cover__inner > .ta-center { text-align: left; }
.cover--dark :is(h1, h2, h3, h4, p) { color: #fff; }
.cover--dark :is(h2) { font-size: var(--fs-2xl); }
.cover--dark .btns { margin-top: 1.75rem; }
.cover--dark .btn--primary { --btn-bg: #fff; --btn-fg: var(--mar-hondo); }
.cover--dark .btn--primary:hover { --btn-bg: var(--mar-tint); }
.cover--light { align-items: center; }
.cover--light .cover__inner > * { max-width: 44rem; }
.cover--light .cover__inner {
  width: auto;
  max-width: min(46rem, calc(100% - 2 * var(--gutter)));
  margin: clamp(2rem, 6vw, 5rem) auto clamp(2rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--wide)) / 2));
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  color: var(--pino);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cover--light .cover__inner :is(p) { color: var(--pino); text-align: left; }

.outro { position: relative; height: clamp(14rem, 34vw, 30rem); overflow: hidden; }
.outro__img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.outro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 65%);
}
/* cierre de la portada con el mar en movimiento: alto como la pantalla (cuadrado en el móvil),
   para que al llegar al final el vídeo baje hasta el pie sin franja blanca, y con un fundido corto arriba */
.outro--video { height: 100vh; height: 100svh; min-height: 16rem; max-height: 100vw; background: var(--abismo); }
.outro--video::before {
  bottom: auto;
  height: clamp(3rem, 10vw, 9rem);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 100%);
}
.outro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }

/* ---------- Formularios con imagen (contacto, empleo) ---------- */
.formsplit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.formsplit__intro {
  position: sticky;
  top: 6.5rem;
  display: grid;
  overflow: hidden;
  min-height: clamp(26rem, 60vh, 38rem);
  border-radius: var(--r-lg);
  color: #fff;
  isolation: isolate;
}
.formsplit__media { position: absolute; inset: 0; z-index: -1; }
.formsplit__media img { width: 100%; height: 100%; object-fit: cover; }
.formsplit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 22, 16, 0.78) 0%, rgba(28, 22, 16, 0.35) 55%, rgba(28, 22, 16, 0.12) 100%); }
.formsplit__text { align-self: end; padding: clamp(1.5rem, 4vw, 2.75rem); }
.formsplit__text > * + * { margin-top: 0.9rem; }
.formsplit__text :is(h1, h2, h3, h4, p, strong) { color: #fff; }
.formsplit__text h1 { font-size: var(--fs-xl); }
.formsplit__text h4 { font-size: 1.0625rem; font-weight: 600; font-stretch: 100%; line-height: 1.5; opacity: 0.92; }
.formsplit__form { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
@media (max-width: 900px) {
  .formsplit { grid-template-columns: minmax(0, 1fr); }
  .formsplit__intro { position: relative; top: 0; min-height: 22rem; }
}

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.form__info { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--arena-tint); font-size: 0.8125rem; line-height: 1.55; color: var(--ink-soft); max-height: 12rem; overflow: auto; }
.form__checks { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form__foot .btn { min-width: 10rem; }
.form__status { flex: 1 1 14rem; font-size: 0.9375rem; font-weight: 600; }
.form__status.is-ok { color: var(--mar-hondo); }
.form__status.is-error { color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.8125rem; font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { position: relative; display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1.35rem; height: 1.35rem; margin: 0; }
.check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.check__box::after { content: ""; width: 0.35rem; height: 0.65rem; margin-top: -0.15rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked + .check__box { background: var(--mar-hondo); border-color: var(--mar-hondo); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--mar); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: #b3261e; }
.file { position: relative; display: block; }
.file input[type="file"] {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.65rem 0.95rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--arena-tint);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}
.file input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--pino);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}
.file__ui { display: none; }

/* ---------- Tablas, mapas y otros ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table-wrap :is(th, td) { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th, .table-wrap thead td { background: var(--arena-tint); color: var(--corteza); font-weight: 700; }
.table-caption { font-size: 0.875rem; color: var(--ink-soft); }
.map { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 8; min-height: 22rem; background: var(--mar-tint); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 5; } }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer {
  position: relative;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0 1.25rem;
  background: var(--arena);
  color: var(--pino);
}
.site-footer a { color: var(--pino); }
.footer__inner {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.footer__brand { --sello-h: clamp(1.625rem, 3vw, 2.125rem); --logo-w: clamp(8rem, 16vw, 12rem); }
/* el logo va centrado encima de Zoover, el sello del medio (trivago y Zoover miden 3,2 veces su alto) */
.footer__logo { width: var(--logo-w); margin-left: calc(4.8 * var(--sello-h) + 1.5rem - var(--logo-w) / 2); }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(1rem, 2vw, 1.75rem); }
.footer__badges img { width: auto; height: var(--sello-h); }
.footer__info { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(1rem, 2vw, 1.5rem); }
.footer__stars { width: auto; height: clamp(4.5rem, 8vw, 5.75rem); border-radius: 4px; }
.footer__social { grid-column: 2; display: flex; gap: 0.6rem; margin: clamp(1rem, 2vw, 1.75rem) 0 0; padding: 0; list-style: none; }
.footer__social a, .footer__social span {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(70, 60, 50, 0.35);
  border-radius: 50%;
  color: var(--pino);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social a:hover { background: var(--pino); border-color: var(--pino); color: var(--arena); }
.footer__social .is-disabled span { opacity: 0.5; }
.footer__address { display: grid; gap: 0.35rem; font-size: 0.9375rem; line-height: 1.5; }
.footer__contact { display: inline-flex; align-items: center; gap: 0.6rem; justify-self: start; font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.02em; text-decoration: none; }
.footer__contact .ico { flex: none; width: 1.1rem; height: 1.1rem; }
.footer__contact:hover { color: var(--corteza); text-decoration: underline; }
.footer__contact + span { margin-top: 0.5rem; }
.footer__nav {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  padding: 1rem var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  border-top: 1px solid rgba(70, 60, 50, 0.2);
  font-size: 0.875rem;
}
.footer__nav a { text-decoration: none; opacity: 0.9; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
}
/* en móviles muy estrechos el email no cabe al lado del distintivo */
@media (max-width: 359px) {
  .footer__info { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .footer__social { grid-column: auto; margin-top: 0; }
}

/* ==========================================================================
   Aviso de cookies, popup, llamada, visor
   ========================================================================== */
.cookie {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 90;
  width: min(26rem, calc(100% - 1.5rem));
  padding: 1.25rem 1.35rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(40, 34, 28, 0.6), 0 0 0 1px rgba(70, 60, 50, 0.08);
  font-size: 0.875rem;
  line-height: 1.55;
}
.cookie[hidden] { display: none; }
.cookie__title { margin-bottom: 0.4rem; color: var(--pino); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.03em; }
.cookie__text { color: var(--ink-soft); }
.cookie .btn { margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .cookie:not([hidden]) { animation: rise 0.5s var(--ease) 0.4s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(40, 34, 28, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative;
  width: min(40rem, 100%);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .modal:not([hidden]) .modal__dialog { animation: pop 0.45s var(--ease); }
  .modal:not([hidden]) .modal__backdrop { animation: fade 0.3s ease; }
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__close { position: absolute; top: 0.9rem; right: 0.9rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--arena-tint); color: var(--pino); cursor: pointer; }
.modal__close:hover { background: var(--pino); color: #fff; }
.modal__logo { width: 7.4rem; margin: 0 auto; }
.modal__title { margin-top: 1.25rem; color: var(--pino); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.modal__subtitle { margin-top: 1rem; color: var(--mar-hondo); font-size: 1.5rem; }
.modal__img { width: 100%; margin: 1.5rem 0; border-radius: var(--r-md); }
.modal__text { color: var(--mar-hondo); font-size: 1.0625rem; }
.modal__text a { color: var(--mar-hondo); }

.callnow {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: none;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--mar-hondo);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(0, 115, 119, 0.7);
}
.callnow .ico { width: 1.5rem; height: 1.5rem; fill: currentColor; stroke: none; }
.callnow:hover { color: #fff; background: var(--mar-hondo-dark); }
@media (max-width: 781px) { .callnow { display: grid; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  background: rgba(24, 20, 16, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 4.5rem clamp(0.5rem, 6vw, 5.5rem); }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.lightbox__btn:hover { background: #fff; color: var(--pino); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 1.25rem; color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; text-align: center; font-variant-numeric: tabular-nums; }
.lightbox.is-single :is(.lightbox__prev, .lightbox__next, .lightbox__count) { display: none; }

/* ---------- Vídeo completo con sonido (portada) ---------- */
.cinema { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; }
.cinema[hidden] { display: none; }
.cinema__backdrop { position: absolute; inset: 0; background: rgba(12, 16, 17, 0.94); }
.cinema__box { position: relative; width: min(100vw - 2rem, (100svh - 9rem) * 16 / 9, 120rem); display: grid; gap: 0.85rem; }
.cinema__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); background: #000; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.cinema__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; }
.cinema__title { margin: 0; color: #fff; font-weight: 800; font-stretch: 90%; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.375rem); line-height: 1.2; }
.cinema__q { display: inline-flex; gap: 0.25rem; padding: 0.25rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); }
.cinema__q[hidden] { display: none; }
.cinema__q button { min-width: 3.1rem; min-height: 2.25rem; padding: 0.25rem 0.7rem; border: 0; border-radius: var(--r-pill); background: transparent; color: rgba(255, 255, 255, 0.85); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.04em; cursor: pointer; }
.cinema__q button[aria-pressed="true"] { background: #fff; color: var(--pino); }
.cinema__q button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cinema__close { position: fixed; top: max(1rem, env(safe-area-inset-top)); right: 1rem; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.cinema__close:hover { background: #fff; color: var(--pino); }
@media (max-width: 760px) {
  .cinema__box { width: 100vw; }
  .cinema__video { border-radius: 0; }
  .cinema__bar { padding: 0 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cinema:not([hidden]) .cinema__box { animation: pop 0.45s var(--ease); }
  .cinema:not([hidden]) .cinema__backdrop { animation: fade 0.3s ease; }
}
@media print { .cinema, .cinehero__actions, .cinehero__cue, .tour, .tourhero__actions, .bici__toggle, .mapa__ui { display: none !important; } }

/* ---------- Accesibilidad y movimiento reducido ---------- */
.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; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__img { transform: none !important; }
}

@media print {
  .site-header, .drawer, .cookie, .callnow, .modal, .hero__controls, .lightbox, .booking, .strip__nav, .promos__nav { display: none !important; }
  .hero { height: auto; min-height: 0; color: #000; }
  .pagehead { padding-top: 2rem; }
}
