/* ==========================================================================
   Sherpa Hostel — hoja de estilos principal
   Paleta oliva, crema y arcilla. Tipografías locales Cinzel + Open Sans.
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-600-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-600-latin.woff2") format("woff2");
  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: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-400-600-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-400-600-latin.woff2") format("woff2");
  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;
}

:root {
  --olive-950: #1b2110;
  --olive-900: #242c17;
  --olive-800: #303b1e;
  --olive-700: #3e4c26;
  --olive-600: #55622f;
  --olive-500: #6c7b3f;
  --olive-300: #a9b27f;
  --cream: #f8f2e6;
  --cream-2: #f1e7d3;
  --sand: #e2d3b6;
  --ink: #232619;
  --muted: #626756;
  --clay: #a9613c;
  --clay-ink: #8a4b2c;
  --gold: #c5a15e;
  --line: rgba(48, 59, 30, 0.16);
  --shadow: 0 18px 40px -24px rgba(27, 33, 16, 0.45);
  --radius: 20px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

img {
  border-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--olive-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--olive-700);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--olive-900);
}

ul,
ol {
  margin: 0 0 1rem;
}

strong {
  font-weight: 600;
}

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

::selection {
  background: var(--olive-600);
  color: var(--cream);
}

.icon {
  flex: none;
  vertical-align: -0.15em;
}

.shell {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--olive-900);
  color: var(--cream);
  padding: 0.75rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Tipografía auxiliar
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.eyebrow-light {
  color: var(--gold);
}
.section-head-center .eyebrow,
.section-head-center .eyebrow {
  justify-content: center;
}

.prose {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.78;
  padding: 0.08em 0.14em 0 0;
  color: var(--olive-600);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--olive-700);
  text-decoration: none;
}
.text-link:hover {
  color: var(--olive-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link svg {
  transition: transform 0.2s ease;
}
.text-link:hover svg {
  transform: translateX(3px);
}
.text-link-light {
  color: var(--gold);
}
.text-link-light:hover {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--olive-600);
  color: #fff;
}
.btn-primary:hover {
  background: var(--olive-700);
  color: #fff;
}
.btn-light {
  background: var(--cream);
  color: #242c17 !important;
}
.btn-light:hover {
  background: #fff;
  color: var(--olive-950);
}
.btn-outline {
  border-color: var(--olive-600);
  color: var(--olive-700);
  background: transparent;
}
.btn-outline:hover {
  background: var(--olive-600);
  color: #fff;
}
.btn-outline-light {
  border-color: rgba(248, 242, 230, 0.55);
  color: var(--cream);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--olive-900);
}
.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
}
.btn-lg {
  min-height: 54px;
  padding: 1rem 1.65rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 242, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
}
.brand {
  display: block;
  flex: none;
}
.brand img {
  display: block;
  width: 168px;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin-left: auto;
}
.primary-nav a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive-900);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--clay);
  transition: right 0.25s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  right: 0;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.primary-nav + .header-tools {
  margin-left: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 0.3rem 0.35rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 4px;
}
.lang-switch a + a {
  border-left: 1px solid var(--line);
}
.lang-switch a:hover {
  color: var(--olive-900);
}
.lang-switch a[aria-current="true"] {
  color: var(--olive-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-switch-lg {
  font-size: 0.9rem;
}
.lang-switch-lg a {
  padding: 0.45rem 0.7rem;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--olive-900);
  cursor: pointer;
}
.menu-toggle:hover {
  background: var(--cream-2);
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1.25rem clamp(1.25rem, 5vw, 2rem) 2rem;
  border: 0;
  background: var(--olive-900);
  color: var(--cream);
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}
.mobile-menu[open] {
  display: flex;
}
.mobile-menu:not([open]) {
  display: none;
}
.mobile-menu::backdrop {
  background: rgba(15, 19, 9, 0.55);
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-menu-top img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.mobile-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(248, 242, 230, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(248, 242, 230, 0.16);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(248, 242, 230, 0.16);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] {
  color: var(--gold);
}
.mobile-nav a svg {
  opacity: 0.5;
}
.mobile-menu-foot {
  display: grid;
  gap: 1rem;
  margin-top: auto;
}
.mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 242, 230, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero de portada
   -------------------------------------------------------------------------- */
.hero-home {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(790px, 92svh);
  overflow: hidden;
  background: var(--olive-900);
  color: var(--cream);
  isolation: isolate;
}
.hero-home-media,
.hero-home-media .media {
  position: absolute;
  inset: 0;
  height: 100%;
}
.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-home-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(20, 25, 12, 0.35) 0%,
      rgba(20, 25, 12, 0.1) 34%,
      rgba(20, 25, 12, 0.84) 100%
    ),
    linear-gradient(90deg, rgba(20, 25, 12, 0.6) 0%, rgba(20, 25, 12, 0) 62%);
}
.hero-home-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.35rem 0 1.25rem;
  color: var(--cream);
}
.hero-title-main {
  font-size: clamp(3.1rem, 8.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
}
.hero-title-sub {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.8vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.hero-lead {
  max-width: 50ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(248, 242, 230, 0.88);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.4rem 0 0;
  padding: 1.35rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(248, 242, 230, 0.25);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  padding-right: clamp(1.2rem, 3vw, 2.6rem);
  margin-right: clamp(1.2rem, 3vw, 2.6rem);
  border-right: 1px solid rgba(248, 242, 230, 0.22);
}
.hero-stats li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--cream);
}
.hero-stats span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 242, 230, 0.78);
}
.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 1.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(248, 242, 230, 0.35);
  border-radius: 50%;
  color: var(--cream);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.intro-copy h2 {
  margin-bottom: 1.2rem;
}
.intro-copy .prose {
  margin-bottom: 1rem;
}
.intro-copy .btn {
  margin-top: 0.75rem;
}
.intro-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  padding-bottom: 2.25rem;
}
.intro-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.intro-photo-a {
  grid-row: 1 / 3;
  aspect-ratio: 4 / 5;
}
.intro-photo-b {
  aspect-ratio: 4 / 3;
  align-self: end;
}
.intro-stamp {
  position: absolute;
  right: -0.35rem;
  bottom: 0;
  display: grid;
  place-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--olive-600);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--shadow);
}
.intro-stamp strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.intro-stamp span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Medios (picture)
   -------------------------------------------------------------------------- */
.media {
  display: block;
  height: 100%;
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Secciones: encabezados
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.75rem);
}
.section-head h2 {
  margin-bottom: 0.4rem;
}
.section-head-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
.section-head-split .section-head-note {
  max-width: 42ch;
  padding-bottom: 0.35rem;
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-head-center .section-head-note {
  max-width: 62ch;
  margin-inline: auto;
}
.section-cta {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Alojamiento
   -------------------------------------------------------------------------- */
.stay-section {
  background: var(--cream-2);
}
.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stay-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stay-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stay-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.stay-card-media img,
.stay-card-media .media {
  height: 100%;
}
.stay-card-media img {
  transition: transform 0.6s ease;
}
.stay-card:hover .stay-card-media img {
  transform: scale(1.04);
}
.stay-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.45rem 1.5rem 1.6rem;
}
.stay-card-body h3 {
  margin: 0;
  font-size: 1.35rem;
}
.stay-card-body h3 a {
  color: var(--olive-900);
  text-decoration: none;
}
.stay-card-body p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.stay-card-body .text-link {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */
.amenities-section {
  position: relative;
  overflow: hidden;
  background: var(--olive-900);
  color: var(--cream);
}
.amenities-section::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -30%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 161, 94, 0.14), transparent 65%);
  pointer-events: none;
}
.amenities-section .shell {
  position: relative;
  z-index: 1;
}
.amenities-section h2 {
  color: var(--cream);
}
.amenities-section .section-head-note {
  color: rgba(248, 242, 230, 0.7);
}
.amenities-section .btn-outline {
  border-color: rgba(248, 242, 230, 0.4);
  color: var(--cream);
}
.amenities-section .btn-outline:hover {
  background: var(--cream);
  color: var(--olive-900);
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.amenity {
  padding: 1.6rem;
  background: rgba(248, 242, 230, 0.045);
  border: 1px solid rgba(248, 242, 230, 0.11);
  border-radius: 16px;
}
.amenity h3 {
  margin: 0.9rem 0 0.45rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cream);
}
.amenity p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(248, 242, 230, 0.68);
}
.amenity-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 161, 94, 0.14);
  color: var(--gold);
}
.amenity-icon-sm {
  width: 44px;
  height: 44px;
  flex: none;
}
.amenities-section .amenity-icon {
  background: rgba(197, 161, 94, 0.13);
}

/* --------------------------------------------------------------------------
   Galería
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--sand);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 25, 12, 0.35));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}
.gallery-zoom {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(27, 33, 16, 0.7);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  width: fit-content;
  max-width: 96vw;
  height: fit-content;
  max-height: 96vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox:not([open]) {
  display: none;
}
.lightbox::backdrop {
  background: rgba(15, 19, 9, 0.94);
}
.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: -3.1rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 242, 230, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--cream);
}
.lightbox-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 242, 230, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(248, 242, 230, 0.12);
}
.lightbox-count {
  min-width: 5rem;
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(248, 242, 230, 0.75);
}

/* --------------------------------------------------------------------------
   Banda de reserva
   -------------------------------------------------------------------------- */
.book-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  background: var(--olive-700);
  color: var(--cream);
}
.book-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 161, 94, 0.18), transparent 65%);
  pointer-events: none;
}
.book-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr auto;
  gap: 1.5rem 3rem;
  align-items: center;
}
.book-band h2 {
  margin-bottom: 0.5rem;
  color: var(--cream);
}
.book-band-copy p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: rgba(248, 242, 230, 0.78);
}
.book-band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 220px;
}
.book-band-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(248, 242, 230, 0.18);
  font-size: 0.78rem;
  color: rgba(248, 242, 230, 0.72);
}

/* --------------------------------------------------------------------------
   Cabecera de páginas internas
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.75rem, 6vw, 4.5rem);
  background: var(--olive-900);
  color: var(--cream);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 110% at 88% 0%, rgba(197, 161, 94, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  max-width: 22ch;
  margin: 0.3rem 0 1rem;
  color: var(--cream);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
}
.page-hero-lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: rgba(248, 242, 230, 0.8);
}
.page-hero-mark {
  position: absolute;
  right: -1.5rem;
  bottom: -3rem;
  color: rgba(248, 242, 230, 0.07);
  pointer-events: none;
}
.page-hero-mark-svg {
  width: clamp(220px, 34vw, 410px);
  height: auto;
}

/* Migas */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.breadcrumbs a {
  color: rgba(248, 242, 230, 0.68);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs span {
  color: var(--cream);
}
.breadcrumbs svg {
  width: 13px;
  height: 13px;
  transform: rotate(-90deg);
  opacity: 0.5;
}
.page-hero .breadcrumbs span {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Editorial (historia Sherpa)
   -------------------------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.editorial-copy .prose {
  font-size: 1.04rem;
  line-height: 1.85;
}
.editorial-copy .prose + .prose {
  margin-top: 1.1rem;
}
.editorial-aside {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 1.5rem;
}
.editorial-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.editorial-figure figcaption {
  padding: 0.75rem 1rem;
  background: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pull-quote {
  margin: 0;
  padding: 1.5rem;
  border-left: 3px solid var(--clay);
  border-radius: 0 14px 14px 0;
  background: var(--cream-2);
  color: var(--olive-800);
}
.pull-quote svg {
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.pull-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Hostel: datos rápidos, navegación y filas
   -------------------------------------------------------------------------- */
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.quick-facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 0.88rem;
  color: var(--olive-800);
}
.quick-facts svg {
  color: var(--olive-600);
}
.quick-facts strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.anchor-nav a {
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--olive-800);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.anchor-nav a:hover {
  background: var(--olive-600);
  border-color: var(--olive-600);
  color: #fff;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  scroll-margin-top: 110px;
}
.feature-row-reverse .feature-media {
  order: 2;
}
.feature-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.feature-copy {
  position: relative;
}
.feature-index {
  position: absolute;
  top: -2.4rem;
  right: 0;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(85, 98, 47, 0.13);
}
.feature-copy h2 {
  margin: 0.55rem 0 1rem;
}
.feature-copy .prose {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Habitaciones
   -------------------------------------------------------------------------- */
.info-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--muted);
}
.info-strip svg {
  color: var(--olive-600);
  margin-top: 0.15rem;
}
.info-strip p {
  margin: 0;
  font-size: 0.86rem;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.room-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.room-card-media img {
  transition: transform 0.6s ease;
}
.room-card:hover .room-card-media img {
  transform: scale(1.04);
}
.badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(27, 33, 16, 0.78);
  color: var(--cream);
  font-size: 0.73rem;
  backdrop-filter: blur(4px);
}
.room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.5rem;
}
.room-card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.24rem;
}
.room-card-body h3 a {
  color: var(--olive-900);
  text-decoration: none;
}
.room-card-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.room-card-body .text-link {
  margin-top: auto;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.26rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.7rem;
  color: var(--olive-800);
}
.chips svg {
  color: var(--olive-600);
}

/* Detalle de habitación */
.room-top {
  padding-block: 1.75rem 0.75rem;
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.room-top .breadcrumbs a {
  color: var(--muted);
}
.room-top .breadcrumbs span {
  color: var(--olive-900);
}
.room-top .breadcrumbs svg {
  opacity: 0.45;
}
.room-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.75rem;
}
.room-title-row h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}
.room-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}
.room-capacity {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  flex: none;
  margin: 0;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--olive-700);
  text-align: center;
}
.room-capacity span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.room-capacity strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--olive-900);
}
.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.room-main {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--sand);
}
.room-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.65rem;
}
.room-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--sand);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.room-thumb:hover {
  opacity: 1;
}
.room-thumb.is-active {
  border-color: var(--olive-600);
  opacity: 1;
}
.room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.2rem;
}
.room-book-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--olive-900);
  color: var(--cream);
}
.room-book-card .eyebrow {
  margin-bottom: 0;
  color: var(--gold);
}
.room-book-text {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  color: rgba(248, 242, 230, 0.72);
}
.room-book-card .btn-primary {
  background: var(--gold);
  color: var(--olive-950);
}
.room-book-card .btn-primary:hover {
  background: var(--cream);
}
.room-book-card .btn-outline {
  border-color: rgba(248, 242, 230, 0.4);
  color: var(--cream);
}
.room-book-card .btn-outline:hover {
  background: var(--cream);
  color: var(--olive-900);
}
.room-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: rgba(248, 242, 230, 0.75);
  text-decoration: none;
}
.room-phone:hover {
  color: var(--cream);
}
.room-features {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.room-features h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.include-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}
.include-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.include-list svg {
  flex: none;
  color: var(--olive-600);
}
.room-note {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}
.room-note svg {
  flex: none;
  margin-top: 0.1rem;
  color: var(--olive-600);
}
.related-section {
  background: var(--cream-2);
}

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.contact-cards {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.contact-cards li {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.contact-cards h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-cards address {
  font-style: normal;
  margin-bottom: 0.3rem;
}
.contact-cards a {
  color: var(--olive-800);
}
.contact-cards .text-link {
  display: flex;
  margin-top: 0.3rem;
}
.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.map-facade {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--cream-2);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.2rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--olive-700);
}
.map-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.map-note {
  max-width: 30ch;
  margin: 0 0 0.8rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.map-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-form-wrap {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.field-full {
  grid-column: 1 / -1;
}
.contact-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--olive-800);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--olive-500);
  outline-offset: 1px;
  background: #fff;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.form-actions {
  margin-top: 0.2rem;
}
.form-privacy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}
.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  font-size: 0.9rem;
}
.form-status.is-ok {
  color: var(--olive-700);
  font-weight: 600;
}
.form-status.is-error {
  color: #9a3b2a;
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.menu-open {
  overflow: hidden;
}
.map-facade.is-loaded .map-placeholder {
  display: none;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  background: radial-gradient(90% 120% at 50% 0%, #f6ead2 0%, var(--cream) 70%);
}
.notfound-inner {
  max-width: 660px;
  text-align: center;
}
.notfound-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 0.75;
  color: rgba(85, 98, 47, 0.14);
}
.notfound h1 {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.notfound-text {
  margin: 0 auto 1.5rem;
  max-width: 46ch;
  color: var(--muted);
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.notfound-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.notfound-nav a {
  font-size: 0.84rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background: var(--olive-950);
  color: rgba(248, 242, 230, 0.68);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.25fr 1fr;
  gap: 2.5rem;
}
.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand p {
  max-width: 34ch;
  margin: 0;
  line-height: 1.75;
}
.footer-col h2 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: inherit;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact address {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  font-style: normal;
  line-height: 1.6;
}
.footer-contact address a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-book p {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  line-height: 1.65;
}
.footer-book .btn {
  display: flex;
  width: fit-content;
  margin-bottom: 0.5rem;
}
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
}
.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
}
.social-list a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(248, 242, 230, 0.12);
  font-size: 0.72rem;
  color: rgba(248, 242, 230, 0.62);
}
.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .primary-nav {
    gap: 1rem;
  }
  .primary-nav a {
    font-size: 0.82rem;
  }
  .brand img {
    width: 150px;
  }
}

@media (max-width: 980px) {
  .js .primary-nav,
  .js .header-tools .lang-switch,
  .js .header-tools .book-btn {
    display: none;
  }
  .js .menu-toggle {
    display: grid;
  }
  .js .header-tools {
    margin-left: auto;
  }
  .no-js .header-bar {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding-block: 0.75rem;
  }
  .no-js .primary-nav {
    order: 3;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .intro-grid,
  .editorial,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .intro-media {
    max-width: 620px;
  }
  .editorial-aside {
    position: static;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .feature-row-reverse .feature-media {
    order: 0;
  }
  .room-layout {
    grid-template-columns: 1fr;
  }
  .room-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .stay-grid,
  .rooms-grid,
  .amenity-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .book-band-inner {
    grid-template-columns: 1fr;
  }
  .book-band-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .room-title-row {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1180px, 100% - 1.75rem);
  }
  .hero-home {
    min-height: min(700px, 90svh);
  }
  .hero-home-media img {
    object-position: 58% center;
  }
  .hero-scroll {
    display: none;
  }
  .hero-stats {
    gap: 0.75rem 0;
  }
  .hero-stats li {
    padding-right: 1.1rem;
    margin-right: 1.1rem;
  }
  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .section-head-split .section-head-note {
    padding-bottom: 0;
  }
  .room-title-row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .room-capacity {
    grid-auto-flow: column;
    align-items: center;
    padding: 0.7rem 1.1rem;
  }
  .room-capacity svg {
    display: none;
  }
  .room-aside {
    grid-template-columns: 1fr;
  }
  .editorial-aside {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-brand p {
    max-width: 44ch;
  }
  .book-band-actions {
    flex-direction: column;
  }
  .book-band-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .stay-grid,
  .rooms-grid,
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    gap: 0.6rem;
  }
  .gallery-zoom {
    display: none;
  }
  .intro-media {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
  }
  .intro-photo-a {
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
  .intro-photo-b {
    aspect-ratio: 4 / 5;
  }
  .intro-stamp {
    display: none;
  }
  .hero-title-main {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }
  .hero-title-sub {
    letter-spacing: 0.16em;
  }
  .hero-stats li {
    padding-right: 0.9rem;
    margin-right: 0.9rem;
  }
  .hero-stats strong {
    font-size: 1.2rem;
  }
  .room-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .lightbox-close {
    top: -2.9rem;
  }
  .notfound-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-scroll,
  .book-band,
  .mobile-menu,
  .lightbox {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section {
    padding-block: 1rem;
  }
}
