/* ---------- Tipografías (alojadas en el sitio, licencia OFL en /fonts) ---------- */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --paper: #d0ddcb;
  --card: #eef3ea;
  --ink: #1d231f;
  --pine: #2c4535;
  --pine-dark: #1f3327;
  --stone: #c0cfba;
  --muted: #46524a;
  --line: #aebfa8;

  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 72rem;
  --header-h: 4.5rem;
  --bar-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; max-width: 62ch; }

:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--pine); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--pad);
  background: rgba(208, 221, 203, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.brand { text-decoration: none; display: flex; align-items: flex-end; gap: 0.2rem; line-height: 1.1; }
.brand-logo {
  /* el logo son solo las líneas (img/logo-line.png) usadas como máscara: toma el color del texto */
  width: 3.1rem; height: 2.95rem; flex: none; color: var(--pine); background-color: currentColor;
  -webkit-mask: url("../img/logo-line.png") center / contain no-repeat;
  mask: url("../img/logo-line.png") center / contain no-repeat;
  transition: color 0.3s ease;
}
.brand-name { font-family: var(--font-body); font-size: 0.95rem; line-height: 1; white-space: nowrap; margin-bottom: 0.2rem; } /* el texto va a la derecha del edificio, debajo de la cúpula, a la altura del piso */

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.header-right { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; gap: 0.4rem; }
.lang a {
  display: block; width: 1.9rem; height: 1.9rem; border: 1px solid var(--line); border-radius: 50%;
  opacity: 0.55; overflow: hidden;
}
.lang a svg { width: 100%; height: 100%; display: block; }
.lang a:hover, .lang a[aria-current="page"] { opacity: 1; }
.lang a[aria-current="page"] { outline: 2px solid var(--pine); outline-offset: 2px; }

/* Hamburguesa */
.menu-toggle {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--line); cursor: pointer; color: inherit;
  align-items: center; justify-content: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 1.25rem; height: 2px; background: currentColor;
  transition: transform 0.25s, background 0.25s;
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Header transparente sobre la portada (se vuelve sólido al bajar o al abrir el menú) */
.site-header.is-clear:not(.menu-open) {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent; color: #fff;
}
.site-header.is-clear:not(.menu-open) .brand-logo { color: #f8f5ee; }
.site-header.is-clear:not(.menu-open) .lang a { border-color: rgba(255, 255, 255, 0.6); }
.site-header.is-clear:not(.menu-open) .lang a[aria-current="page"] { outline-color: #fff; }
.site-header.is-clear:not(.menu-open) .menu-toggle { border-color: rgba(255, 255, 255, 0.55); }
.site-header.is-clear:not(.menu-open) .main-nav a:focus-visible,
.site-header.is-clear:not(.menu-open) .brand:focus-visible,
.site-header.is-clear:not(.menu-open) .lang a:focus-visible,
.site-header.is-clear:not(.menu-open) .menu-toggle:focus-visible { outline-color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--pine); color: #fff;
  padding: 0.8rem 1.4rem; font-weight: 500; font-size: 0.95rem;
  border: 1px solid var(--pine); font-family: inherit; cursor: pointer;
}
.btn:hover { background: var(--pine-dark); border-color: var(--pine-dark); }
.btn-header { padding: 0.55rem 1rem; }
.btn-outline { background: none; color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-light { background: #fff; color: var(--pine-dark); border-color: #fff; }
.btn-light:hover { background: var(--stone); border-color: var(--stone); }

/* ---------- Hero (carrusel) ---------- */
.hero [hidden] { display: none !important; }
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--pad) clamp(3.5rem, 6.5vw, 4.5rem);
  background: var(--pine); color: #fff; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(15, 25, 19, 0.55), rgba(15, 25, 19, 0) 24%),
    linear-gradient(to top, rgba(15, 25, 19, 0.8), rgba(15, 25, 19, 0.15) 55%, rgba(15, 25, 19, 0));
}
.hero-content { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.1; max-width: 18ch; margin: 0 auto 1.25rem; text-wrap: balance; }
.hero h1 em { font-style: italic; }
.hero-sub {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.9;
  margin: 0 auto 1.75rem; max-width: none;
}
.hero .btn {
  background: #f8f5ee; color: var(--pine-dark); border-color: #f8f5ee; text-shadow: none;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; padding: 1rem 1.75rem;
}
.hero .btn:hover { background: var(--stone); border-color: var(--stone); }
.hero .btn .arrow { display: inline-block; margin-left: 0.6rem; letter-spacing: 0; }

.hero-arrow {
  position: absolute; top: 52%; transform: translateY(-50%); z-index: 2;
  width: 3.25rem; height: 4rem; padding: 0; background: none; border: 0; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}
.hero-arrow svg { width: 1.75rem; height: 1.75rem; }
.hero-arrow:hover { opacity: 0.8; }
.hero-prev { left: 0.25rem; }
.hero-next { right: 0.25rem; }
.hero-arrow:focus-visible, .hero-dot:focus-visible, .hero-pause:focus-visible { outline-color: #fff; }

.hero-controls {
  position: absolute; left: 50%; bottom: clamp(0.75rem, 3vw, 1.5rem); transform: translateX(-50%);
  z-index: 2; display: flex; align-items: center;
}
.hero-dots { display: flex; }
.hero-dot { width: 1.5rem; height: 1.75rem; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hero-dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0 0 -0.25rem;
  border-radius: 50%; background: rgba(255, 255, 255, 0.5); transition: background 0.25s;
}
.hero-dot[aria-current="true"]::before { background: #fff; }
.hero-pause { width: 1.75rem; height: 1.75rem; margin-left: 0.5rem; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-pause::before { content: ""; width: 0.5rem; height: 0.65rem; border-left: 2px solid rgba(255, 255, 255, 0.85); border-right: 2px solid rgba(255, 255, 255, 0.85); }
.hero-pause[data-paused="true"]::before { width: 0; height: 0; border: 0; border-left: 0.6rem solid rgba(255, 255, 255, 0.85); border-top: 0.36rem solid transparent; border-bottom: 0.36rem solid transparent; }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3.75rem) var(--pad); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-lead { margin-top: 0.75rem; color: var(--muted); }

.intro, .split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.intro { align-items: center; }
.intro-text p:last-child { margin-bottom: 0; }
.intro h2 { max-width: 16ch; }
.intro { padding-bottom: clamp(0.5rem, 2vw, 1.5rem); }
#habitaciones { padding-top: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Encabezado de sección (título + adorno + bajada, centrado) ---------- */
.sec-head { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.sec-head p { margin-left: auto; margin-right: auto; text-wrap: balance; }
.sec-head .section-lead { margin-top: 0.75rem; margin-bottom: 0; }
.sec-head .ornament { margin-top: 1rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--pine); }
.ornament::before, .ornament::after { content: ""; width: clamp(2.5rem, 7vw, 4.5rem); height: 1px; background: var(--line); }
.ornament svg { width: 1.6rem; height: 1.6rem; flex: none; }
.center { text-align: center; max-width: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; }
.btn-wa { display: inline-flex; align-items: center; gap: 0.55rem; background: #25d366; border-color: #25d366; color: #0b2e17; }
.btn-wa:hover { background: #1fb558; border-color: #1fb558; }
.wa-ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Habitaciones ---------- */
.rooms {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.room {
  display: flex; align-items: center; gap: 1.25rem; height: 100%;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(31, 51, 39, 0.08); transition: box-shadow 0.2s, transform 0.2s;
}
.room:hover { box-shadow: 0 6px 18px rgba(31, 51, 39, 0.16); transform: translateY(-2px); }
.room img { width: 9.5rem; height: auto; aspect-ratio: 4 / 3; object-fit: cover; flex: none; border-radius: 0.25rem; }
.room-info { flex: 1; min-width: 0; }
.room h3 { font-size: 1.25rem; margin-bottom: 0.1rem; }
.room-type { margin: 0 0 0.35rem; font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
.room-meta { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.chev { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.room-note { color: var(--ink); font-size: 0.95rem; text-align: center; margin: 0 auto 1.25rem; }

/* ---------- Galería ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 1.25rem; }
.tabs button {
  font: inherit; font-size: 0.95rem; padding: 0.5rem 1rem; cursor: pointer;
  background: none; color: var(--ink); border: 1px solid var(--line);
}
.tabs button:hover { border-color: var(--pine); }
.tabs button[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.ph {
  margin: 0; padding: 0; border: 0; background: var(--stone); cursor: zoom-in;
  aspect-ratio: 4 / 3; overflow: hidden; display: block; width: 100%;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ph:hover img { transform: scale(1.04); }
.gallery-empty { color: var(--muted); }

/* ---------- Visor ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100vh; height: 100dvh;
  background: rgba(10, 16, 12, 0.94); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 16, 12, 0.94); }
.lb-figure { margin: 0; max-width: min(92vw, 80rem); text-align: center; }
.lb-figure img { max-width: 100%; max-height: 80vh; max-height: 80dvh; margin: 0 auto; object-fit: contain; }
.lb-figure figcaption { margin-top: 0.75rem; font-size: 0.95rem; color: #d8d9d0; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0;
  width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 0.2rem;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-btn:focus-visible { outline-color: #fff; }

/* ---------- Iconos de línea ---------- */
.ico, .mode { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; color: var(--pine); }

/* ---------- Servicios ---------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem);
}
.services li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.services .ico { width: 3rem; height: 3rem; }
.services h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.services p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

/* ---------- Ubicación ---------- */
.loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.loc-info .ornament { justify-content: flex-start; margin: 1rem 0 1.25rem; }
.loc-info .ornament::before { display: none; }
.loc-info h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lead { font-size: 1.15rem; }
.address { display: flex; gap: 0.75rem; align-items: center; font-style: normal; margin: 1.25rem 0 1.5rem; }
.address .ico { width: 1.75rem; height: 1.75rem; }
.places { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.place {
  display: grid; grid-template-columns: 2rem 1fr auto 1.25rem; align-items: center; gap: 0.9rem;
  padding: 0.7rem 0; border-top: 1px solid var(--line); text-decoration: none;
}
.places li:last-child .place { border-bottom: 1px solid var(--line); }
.place:hover .pl-name { text-decoration: underline; text-underline-offset: 4px; }
.place .ico { width: 2rem; height: 2rem; stroke-width: 1.7; }
.pl-name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.pl-time { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; white-space: nowrap; }
.pl-time .mode { width: 1.2rem; height: 1.2rem; }
.place .chev { width: 1rem; height: 1rem; }

.map {
  position: relative; overflow: hidden; aspect-ratio: 2.9 / 2.5; background: var(--stone);
  border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: 0 2px 10px rgba(31, 51, 39, 0.12);
}
.map-tile { position: absolute; display: block; max-width: none; filter: saturate(0.7) sepia(0.12); user-select: none; }
.map-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.7rem; background: var(--card); border-radius: 0.5rem; text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 8px rgba(31, 51, 39, 0.22); font-size: 0.78rem; line-height: 1.25; white-space: nowrap;
}
.map-chip .mode { width: 1.25rem; height: 1.25rem; }
.map-chip b { display: block; font-weight: 500; }
.map-chip span span { display: block; color: var(--muted); }
.map-chip:hover { box-shadow: 0 4px 14px rgba(31, 51, 39, 0.32); }
.map-dot { position: absolute; z-index: 1; width: 0.6rem; height: 0.6rem; margin: -0.3rem 0 0 -0.3rem; border-radius: 50%; background: var(--pine); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.map-pin { position: absolute; z-index: 3; display: flex; align-items: flex-end; gap: 0.3rem; transform: translate(-1.2rem, -100%); font-family: var(--font-display); font-size: 0.95rem; color: var(--pine-dark); text-shadow: 0 0 4px var(--card), 0 0 4px var(--card), 0 0 6px var(--card); }
.map-pin svg { width: 2.4rem; height: 2.4rem; flex: none; fill: var(--pine); stroke: var(--card); stroke-width: 1.5; }
.map-pin span { padding-bottom: 0.45rem; white-space: nowrap; }
.map-credit { position: absolute; z-index: 4; right: 0; bottom: 0; padding: 0.1rem 0.45rem; background: rgba(255, 255, 255, 0.8); font-size: 0.68rem; line-height: 1.4; color: #333; text-decoration: none; }

/* ---------- Opiniones ---------- */
.rv { --rv-n: 1; --rv-gap: 1.25rem; position: relative; max-width: 48rem; margin: 0 auto; padding: 0 3.75rem; }
@media (min-width: 56rem) { .rv { --rv-n: 2; max-width: 70rem; } }
.rv-track { list-style: none; margin: 0; padding: 0.25rem 0 1rem; display: flex; gap: var(--rv-gap); }
.review {
  flex: 0 0 calc((100% - (var(--rv-n) - 1) * var(--rv-gap)) / var(--rv-n)); padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
  background: var(--card); border-radius: 1rem; box-shadow: 0 2px 12px rgba(31, 51, 39, 0.1);
}
.rv-head { display: flex; align-items: center; gap: 1rem; }
.rv-avatar { width: 3.5rem; height: 3.5rem; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #5f7a68; color: #fff; font-size: 1.5rem; font-weight: 500; }
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.rv-who strong { font-weight: 600; }
.rv-flag { width: 1.2rem; height: 0.8rem; margin-right: 0.45rem; vertical-align: -0.05em; outline: 1px solid rgba(0, 0, 0, 0.15); }
.rv-score { flex: none; min-width: 2.75rem; padding: 0.55rem 0.5rem; text-align: center; background: #003b95; color: #fff; border-radius: 0.5rem 0.5rem 0.5rem 0; font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.review h3 { margin-top: 1.25rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; }
.rv-date { margin: 0.2rem 0 1.1rem; color: var(--muted); font-size: 0.95rem; }
.rv-body { display: flex; gap: 1rem; }
.rv-quote { width: 2.6rem; height: 2.1rem; flex: none; color: #8fa596; margin-top: 0.15rem; }
.rv-body > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rv-line { display: flex; gap: 0.7rem; margin: 0 0 0.6rem; max-width: none; }
.rv-line:last-child { margin-bottom: 0; }
.rv-ico { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 0.2rem; }
.rv-pos { color: #1a7f37; }
.rv-neg { color: var(--ink); }
.rv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--pine);
  background: transparent; border: 1px solid var(--pine); border-radius: 50%; transition: background 0.2s, color 0.2s;
}
.rv-arrow:hover { background: var(--pine); color: #fff; }
.rv-arrow svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rv-prev { left: 0; }
.rv-next { right: 0; }
.rv-dots { display: flex; justify-content: center; flex-wrap: wrap; margin: 0.75rem 0 0.75rem; }
.rv-dots:empty { display: none; }
.rv-dot { width: 1.5rem; height: 1.75rem; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.rv-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 0.6rem; margin: -0.3rem 0 0 -0.3rem; border-radius: 50%; background: rgba(44, 69, 53, 0.35); transition: background 0.25s; }
.rv-dot[aria-current="true"]::before { background: var(--pine); }
.rv.is-js .rv-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv.is-js .rv-track::-webkit-scrollbar { display: none; }
.rv.is-js .review { scroll-snap-align: start; }
/* sin JavaScript: las reseñas quedan una debajo de otra */
.rv:not(.is-js) .rv-track { display: block; }
.rv:not(.is-js) .review { margin-bottom: 1rem; }

#servicios .sec-head { margin-bottom: 0.25rem; }
#opiniones { padding-bottom: 1rem; }
#opiniones .center { margin-bottom: 0; }

/* ---------- Cierre ---------- */
.closing {
  background: var(--pine); color: #fff; text-align: center;
  padding: clamp(3.5rem, 9vw, 6rem) var(--pad);
}
.closing h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--pad); }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer .small { color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.credit a { color: inherit; text-underline-offset: 3px; }
.credit { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Barra fija de reserva (celular) ---------- */
.book-bar { display: none; transition: transform 0.3s ease; }
.book-bar.is-hidden { transform: translateY(100%); }

/* ---------- Página de privacidad ---------- */
.legal { max-width: 48rem; margin: 0 auto; padding: calc(var(--header-h) + 3rem) var(--pad) 3rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 0.5rem; }

/* ---------- Responsive ---------- */
@media (min-width: 68.01rem) {
  .site-header.is-clear:not(.menu-open) .main-nav a { color: #fff; }
  /* el menú queda a la altura del texto "La Chiostrina" (que apoya en el piso del logo) */
  .main-nav { position: relative; top: 0.8rem; }
}
@media (max-width: 68rem) {
  .rooms { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .loc { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1rem;
    transform: translateY(-110%); visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 48rem) {
  body { padding-bottom: var(--bar-h); }
  .intro, .split { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .room img { width: 7.5rem; }
  .rv { padding: 0; }
  .rv-arrow { top: auto; bottom: -3.5rem; transform: none; width: 2.5rem; height: 2.5rem; }
  .rv-prev { left: 0.25rem; }
  .rv-next { right: 0.25rem; }
  .rv-dots { margin-top: 1rem; padding: 0 3.5rem; }
  .map-chip { padding: 0.3rem 0.5rem; font-size: 0.7rem; }
  .map-chip .mode { width: 1rem; height: 1rem; }
  .map-chip b { display: none; }
  .map-chip span span { color: var(--ink); }
  .map-pin { font-size: 0.85rem; }
  .place { gap: 0.6rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .btn-header { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .tabs button { white-space: nowrap; }
  .book-bar {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 15;
    padding: 0.75rem var(--pad); background: rgba(208, 221, 203, 0.97);
    border-top: 1px solid var(--line);
  }
  .book-bar { display: flex; gap: 0.6rem; }
  .book-bar .btn { display: block; text-align: center; flex: 1; }
  .book-bar .btn-wa { flex: none; width: 3.4rem; padding-left: 0; padding-right: 0; display: flex; justify-content: center; }
  .lb-prev { left: 0.25rem; }
  .lb-next { right: 0.25rem; }
  .lb-btn { width: 2.5rem; height: 2.5rem; background: rgba(255, 255, 255, 0.2); }
}

@media (max-width: 30rem) {
  .hero-sub { font-size: 0.72rem; letter-spacing: 0.16em; }
  .site-header { gap: 0.5rem; }
  .brand { gap: 0.2rem; }
  .brand-logo { width: 2.7rem; height: 2.6rem; }
  .brand-name { font-size: 1.1rem; }
  .header-right { gap: 0.5rem; }
  .lang { gap: 0.3rem; }
  .lang a { width: 1.7rem; height: 1.7rem; }
  .menu-toggle { width: 2.5rem; height: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .book-bar { transition: none; }
  .main-nav, .bars, .bars::before, .bars::after, .ph img, .site-header, .brand-logo { transition: none; }
}

/* ---------- Página 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem var(--pad); }
.notfound-logo { border-radius: 6px; margin-bottom: 1.25rem; }
.notfound-code { font-family: var(--font-display); font-size: clamp(3.5rem, 12vw, 6rem); line-height: 1; color: var(--pine); margin: 0 0 0.5rem; }
.notfound h1 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 1.5rem; }
.notfound p { margin-left: auto; margin-right: auto; margin-bottom: 0.35rem; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem !important; }
