/* ZUR BOUTIQUE HOSTEL — edit colors here */
:root {
  --yellow: #f2c94c;
  --blue: #0f2744;
  --blue-light: #1a3a5c;
  --white: #ffffff;
  --black: #111111;
  --radius: 24px;
  --radius-pill: 999px;
  --font: "Poppins", "Montserrat", system-ui, sans-serif;
  --promo-h: 48px;
}

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

html {
  scroll-behavior: smooth;
}

html:has(.page-home) {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

body:has(.promo-bar) {
  padding-bottom: var(--promo-h);
}

body:not(:has(.promo-bar)) .site-footer {
  padding-bottom: 2.5rem;
}

body.is-en .lang-es {
  display: none !important;
}

body:not(.is-en) .lang-en {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* Header */
.site-header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.header-pill {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.logo {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--blue);
  line-height: 1.2;
}

.logo small {
  display: block;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.2;
}

.menu-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-book-header {
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.btn-lang {
  background: var(--white);
  border: none;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: var(--blue);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 68, 0.55);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

body.nav-open .nav-drawer {
  opacity: 1;
  visibility: visible;
}

.nav-modal {
  width: min(1100px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  padding: 1.25rem;
}

.nav-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #111;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 5.25rem;
  padding-right: 0.25rem;
  margin-bottom: 1.25rem;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--blue);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--blue);
  border: 2px solid rgba(15, 39, 68, 0.25);
}

.nav-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0.5rem;
}

@media (min-width: 900px) {
  .nav-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1rem 1.25rem 1.5rem;
  }
}

.nav-links {
  display: grid;
  gap: clamp(1.1rem, 3.2vw, 1.85rem);
  align-content: start;
}

.nav-links a {
  display: block;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue);
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  padding-block: 0.15rem;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.nav-media {
  align-self: center;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  line-height: 0;
}

@media (min-width: 900px) {
  .nav-media {
    justify-self: end;
    margin-inline: 0;
  }
}

.nav-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 380px);
  max-height: min(42vh, 380px);
  border-radius: var(--radius);
  vertical-align: top;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 7rem clamp(1rem, 4vw, 3rem) calc(2rem + var(--promo-h));
  background-color: var(--blue);
  background-image: url("../images/hero-zur-fuengirola-hostel.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 39, 68, 0.35) 0%,
    rgba(15, 39, 68, 0.75) 100%
  );
}

/* Hero páginas interiores — pantalla completa como inicio */
.page-hero,
.contact-visual-hero,
.grupos-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 7rem clamp(1rem, 4vw, 3rem) calc(5.5rem + var(--promo-h));
  background-color: var(--blue);
  background-image: url("../images/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero::before,
.contact-visual-hero::before,
.grupos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 39, 68, 0.35) 0%,
    rgba(15, 39, 68, 0.75) 100%
  );
}

/* Hero legal — sin imagen, solo degradado (carga más rápida) */
.page-hero--cookies,
.page-hero--privacy,
.page-hero--legal {
  min-height: 50vh;
  min-height: 50dvh;
  padding: 6rem clamp(1rem, 4vw, 3rem) 2.5rem;
  background-image: linear-gradient(
    145deg,
    #1a4872 0%,
    var(--blue) 52%,
    #0a1e35 100%
  );
}

.page-hero--cookies::before,
.page-hero--privacy::before,
.page-hero--legal::before {
  background: linear-gradient(
    to bottom right,
    rgba(242, 201, 76, 0.12) 0%,
    transparent 55%
  );
}

.page-hero-inner,
.contact-visual-inner,
.grupos-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max, 1140px);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.hero-title {
  margin: 0;
  text-align: left;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.03em;
  width: 100%;
}

.hero-title .line {
  display: block;
  font-size: clamp(2.35rem, 10vw, 9.5rem);
  color: var(--white);
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

.hero-title .line-outline {
  color: transparent;
  -webkit-text-stroke: clamp(2px, 0.35vw, 4px) var(--white);
  paint-order: stroke fill;
}

@media (min-width: 1200px) {
  .hero-title .line {
    white-space: nowrap;
    font-size: clamp(3.2rem, 14vw, 9.5rem);
  }
}

@media (max-width: 520px) {
  .hero-title .line {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }
}

@keyframes book-tab-glow {
  0%,
  100% {
    box-shadow: -8px 0 28px rgba(15, 39, 68, 0.35), -2px 0 0 var(--blue);
  }
  50% {
    box-shadow: -12px 0 36px rgba(15, 39, 68, 0.5), -2px 0 0 var(--blue);
  }
}

.book-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 220px;
  padding: 1.5rem 1rem;
  background: linear-gradient(165deg, #ffe066 0%, var(--yellow) 45%, #e8b82e 100%);
  color: var(--blue);
  border-radius: 18px 0 0 18px;
  border: 3px solid var(--blue);
  border-right: none;
  text-decoration: none;
  animation: book-tab-glow 2.8s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
  transform: translateY(-50%);
}

.book-tab:hover {
  transform: translateY(-50%) translateX(-6px) scale(1.03);
  filter: brightness(1.06);
  animation: none;
  box-shadow: -14px 0 40px rgba(15, 39, 68, 0.45), -2px 0 0 var(--blue);
}

.book-tab:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.book-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.book-tab-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  stroke: var(--blue);
}

.book-tab-label {
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  white-space: nowrap;
}

.book-tab-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.35rem;
  background: var(--blue);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.35);
}

@media (max-width: 768px) {
  .book-tab {
    top: auto;
    bottom: calc(var(--promo-h) + 0.75rem);
    transform: none;
    min-width: 60px;
    min-height: 190px;
    padding: 1.25rem 0.85rem;
  }

  .book-tab:hover {
    transform: translateX(-6px) scale(1.03);
  }

  .book-tab-icon {
    width: 30px;
    height: 30px;
  }

  .book-tab-label {
    font-size: 0.95rem;
  }
}

.promo-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--promo-h);
  background: var(--yellow);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.promo-track-wrap {
  flex: 1;
  overflow: hidden;
}

.promo-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .promo-track,
  .book-tab {
    animation: none;
  }
}

.promo-track span {
  padding: 0 3rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.promo-book {
  flex-shrink: 0;
  margin-right: 1rem;
  background: var(--blue);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.section {
  padding: var(--section-pad-y, clamp(2.75rem, 4.5vw, 3.5rem)) var(--section-pad-x, 1.25rem);
}

.section-inner {
  max-width: var(--content-max, 1140px);
  margin: 0 auto;
}

.section-yellow {
  background: var(--yellow);
  color: var(--blue);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0c2139 0%, #123458 55%, #0f2744 100%);
  color: var(--white);
  padding-top: var(--section-pad-y, 3.5rem);
  padding-bottom: var(--section-pad-y, 3.5rem);
}

.section-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--yellow);
}

.section-services::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--blue);
  opacity: 0.08;
}

.section-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1;
}

.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

.bg-word {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.5rem;
  font-weight: 900;
  font-size: clamp(3.5rem, 16vw, 9.5rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  line-height: 0.9;
}

.section-rooms {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-pad-y, 3rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
}

.section-rooms .section-inner {
  position: relative;
  z-index: 1;
}

.section-rooms > .section-inner > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.welcome-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.welcome-text p {
  margin: 0 0 1rem;
  max-width: 40ch;
}

.welcome-discover-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0.35rem 0 1.35rem;
  padding: 1rem 1.1rem 1rem 1.35rem;
  max-width: min(100%, 24rem);
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.28);
}

.welcome-discover-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.welcome-discover-cta-label {
  font-weight: 900;
  font-size: clamp(0.85rem, 2.5vw, 0.98rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.welcome-discover-cta-hint {
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.welcome-discover-cta-arrow {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--blue);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.2);
}

.welcome-discover-cta:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.welcome-services-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.welcome-services-arrow {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.welcome-services-arrow:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.chips-scroll {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.15rem;
  scrollbar-width: none;
}

.chips-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 min(210px, 72%);
  scroll-snap-align: start;
  background: var(--white);
  border: 2px solid rgba(15, 39, 68, 0.1);
  border-radius: 18px;
  padding: 0.85rem 0.95rem 0.9rem;
  min-height: 92px;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: left;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 39, 68, 0.14);
}

.chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(15, 39, 68, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

@media (max-width: 560px) {
  .welcome-services-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .welcome-services-arrow {
    display: none;
  }

  .chip {
    flex-basis: min(250px, 76%);
  }
}

.welcome-media {
  width: fit-content;
  max-width: 100%;
  padding: clamp(0.65rem, 1.8vw, 1rem);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow:
    0 18px 48px rgba(15, 39, 68, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  line-height: 0;
}

@media (min-width: 900px) {
  .welcome-media {
    justify-self: end;
  }
}

.welcome-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 580px);
  border-radius: calc(var(--radius) - 10px);
  object-fit: cover;
  background: var(--blue-light);
}

.rooms-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.btn-ver-todas {
  font-size: 0.72rem;
  padding: 0.85rem 1.35rem;
}

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.carousel-wrap {
  position: relative;
}

.rooms-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.rooms-carousel::-webkit-scrollbar {
  display: none;
}

.carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.rooms-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carousel-nav {
  display: flex;
  gap: 0.65rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.carousel-btn--active {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.section-yellow .carousel-btn {
  border-color: var(--blue);
  color: var(--blue);
}

.room-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.75rem;
}

.room-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--white);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s;
}

.section-rooms:has(#tab-shared:checked) .room-filter[for="tab-shared"],
.section-rooms:has(#tab-private:checked) .room-filter[for="tab-private"] {
  opacity: 1;
}

.room-filter-icon {
  font-size: 1.15em;
  letter-spacing: -0.12em;
}

.room-filter-count {
  font-size: 1.05em;
  font-weight: 900;
  opacity: 0.9;
}

.room-card {
  flex: 0 0 min(78vw, 400px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  background-color: var(--blue-light);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.room-card[data-bg]:not(.is-bg-loaded) {
  background-image: none;
}

.room-card[data-type="private"] {
  display: none;
}

#tab-private:checked ~ .carousel-wrap .room-card[data-type="shared"] {
  display: none;
}

#tab-private:checked ~ .carousel-wrap .room-card[data-type="private"] {
  display: block;
}

#tab-shared:checked ~ .carousel-wrap .room-card[data-type="private"] {
  display: none;
}

#tab-shared:checked ~ .carousel-wrap .room-card[data-type="shared"] {
  display: block;
}

.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 39, 68, 0.97) 0%,
    rgba(15, 39, 68, 0.45) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.room-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.room-card-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -4px;
}

.room-card-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.room-tag {
  background: var(--white);
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.room-reserve {
  background: var(--yellow);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.room-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.75rem;
  max-width: 95%;
}

.room-card-body h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.room-card-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.92;
  max-width: 36ch;
}

.section-discover {
  overflow: hidden;
}

.discover-top {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.discover-header {
  margin-bottom: 0;
  max-width: 40ch;
}

.discover-hero {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(15, 39, 68, 0.12);
  box-shadow: 0 12px 36px rgba(15, 39, 68, 0.16);
  background: var(--blue);
}

.discover-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 900px) {
  .discover-top {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 2.5rem;
  }
}

.discover-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--blue);
  opacity: 0.9;
}

.discover-wrap {
  position: relative;
  overflow: hidden;
}

.discover-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.discover-carousel::-webkit-scrollbar {
  display: none;
}

/* Escritorio: sin scroll horizontal con rueda (evita bloquear scroll de la página) */
@media (hover: hover) and (pointer: fine) {
  .discover-carousel {
    overflow-x: hidden;
  }
}

.discover-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.section-discover .carousel-btn {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.section-discover .carousel-btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--yellow);
}

.blog-card {
  flex: 0 0 min(88vw, 340px);
  scroll-snap-align: start;
  overflow: hidden;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--blue);
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
  transform: none;
  transition: opacity 0.2s ease;
}

.blog-card-link:hover,
.blog-card-link:focus-visible {
  transform: none;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
}

.section-discover .blog-card-link {
  border: 2px solid rgba(15, 39, 68, 0.12);
  border-left: 4px solid var(--yellow);
  box-shadow: 0 6px 22px rgba(15, 39, 68, 0.1);
}

.section-discover .blog-card-link:hover,
.section-discover .blog-card-link:focus-visible {
  box-shadow: 0 8px 26px rgba(15, 39, 68, 0.14);
}

.section-discover .blog-card-link:hover .blog-card-cta,
.section-discover .blog-card-link:focus-visible .blog-card-cta {
  opacity: 0.72;
}

.section-discover .blog-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.blog-card-media {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 39, 68, 0.28) 0%,
    rgba(15, 39, 68, 0.52) 100%
  );
  pointer-events: none;
}

.blog-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  background: #e8eef4;
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.blog-card-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
  flex: 1;
}

.blog-card-cta {
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services-bg {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.5rem, 6vw, 4rem);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: rgba(15, 39, 68, 0.35);
  -webkit-text-stroke: 1px rgba(242, 201, 76, 0.35);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.services-bg > span {
  display: block;
  white-space: nowrap;
  transform: translateX(-6%);
}

.services-layout {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.services-panel {
  position: relative;
  background: linear-gradient(160deg, #0f2744 0%, #173a62 100%);
  color: var(--white);
  border: 2px solid rgba(242, 201, 76, 0.9);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem 1.2rem;
  box-shadow: 0 18px 54px rgba(8, 20, 34, 0.45);
  max-width: 980px;
  margin: 0 auto;
}

.services-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 4px;
  background: var(--yellow);
  border-radius: 0 0 4px 4px;
}

@media (min-width: 640px) {
  .services-panel {
    padding: 1.75rem 1.5rem 1.55rem;
  }
}

.services-grid {
  display: grid;
  gap: 0.7rem;
  perspective: 1200px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-services .service-item {
  position: relative;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(242, 201, 76, 0.95);
  border-radius: 14px;
  background: linear-gradient(145deg, #0b223b 0%, #123458 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-height: 110px;
  text-align: center;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  line-height: 1.25;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.section-services .service-item::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 30%;
  height: 140%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-220%) skewX(-18deg);
  transition: transform 0.65s ease;
}

.section-services .service-item::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(242, 201, 76, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

@media (hover: hover) {
  .section-services .service-item:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    background: linear-gradient(145deg, #153d67 0%, #0f2744 100%);
    box-shadow: 0 14px 28px rgba(10, 24, 42, 0.4);
  }

  .section-services .service-item:hover::before {
    transform: translateX(560%) skewX(-18deg);
  }

  .section-services .service-item:hover::after {
    transform: scaleX(1);
  }

  .section-services .service-item:hover .service-check::before {
    transform: rotate(-45deg) scale(1.1);
  }
}

.service-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.service-check::before {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-services .service-check {
  width: 28px;
  height: 28px;
  box-shadow: 0 4px 12px rgba(242, 201, 76, 0.45);
}

.section-services .service-check::before {
  width: 10px;
  height: 6px;
  border-width: 2.5px;
}

.reviews-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
}

.reviews-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 14rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 0;
}

.reviews-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.reviews-intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.88;
}

.reviews-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-score-pill strong {
  font-size: 0.95rem;
  color: var(--yellow);
}

.reviews-list-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reviews-wrap {
  position: relative;
  z-index: 1;
}

.reviews-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.reviews-section .carousel-btn--muted {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.reviews-section .carousel-btn--active {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.review-card {
  flex: 0 0 min(88vw, 340px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-light);
}

.review-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-content {
  padding: 1.25rem 1.35rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.review-stars {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.review-stars .star-empty {
  opacity: 0.35;
}

.review-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  font-style: normal;
  opacity: 0.95;
  flex: 1;
}

.review-name {
  margin: 0 0 0.35rem;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-source {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.group-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  border: 2px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 8px 40px rgba(15, 39, 68, 0.12);
}

@media (min-width: 768px) {
  .group-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.group-copy {
  max-width: 46ch;
}

.group-card h2 {
  margin: 0 0 1rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 5vw, 3rem);
  color: var(--blue);
}

.group-card p {
  margin: 0 0 0.9rem;
  color: var(--blue);
  line-height: 1.55;
}

.group-copy p:last-of-type {
  margin-bottom: 1.5rem;
}

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.group-visual {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
}

.group-visual-frame {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbff 0%, #eef3f9 100%);
  border: 2px solid rgba(15, 39, 68, 0.1);
  box-shadow: 0 18px 44px rgba(15, 39, 68, 0.16);
}

.group-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.group-visual-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--yellow);
  box-shadow: 0 8px 16px rgba(15, 39, 68, 0.22);
}

.group-visual-tag--top {
  top: -0.6rem;
  left: -0.5rem;
  transform: rotate(-6deg);
}

.group-visual-tag--mid {
  right: -0.8rem;
  top: 46%;
  transform: rotate(6deg) translateY(-50%);
}

.group-visual-tag--bottom {
  left: 1rem;
  bottom: -0.7rem;
  transform: rotate(-4deg);
}

@media (max-width: 767px) {
  .group-visual {
    max-width: 330px;
  }

  .group-visual-tag--mid {
    right: 0.4rem;
  }
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 3.5rem 1.5rem calc(2.5rem + var(--promo-h));
}

body:has(.promo-bar) .site-footer {
  margin-bottom: calc(-1 * var(--promo-h));
}

.footer-inner {
  max-width: var(--content-max, 1140px);
  margin: 0 auto;
}

.footer-newsletter {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .footer-newsletter {
    grid-template-columns: minmax(140px, 0.75fr) 1.5fr;
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo {
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
}

.footer-logo-sub {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

.footer-newsletter-content h2 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.footer-newsletter-content > p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 48ch;
}

.newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.newsletter-fields input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.25rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-fields input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.newsletter-fields input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.btn-newsletter-send {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--blue);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.btn-newsletter-send:hover {
  filter: brightness(1.05);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.88;
  cursor: pointer;
}

.newsletter-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--yellow);
}

.newsletter-consent a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Campos obligatorios en formularios */
.req-asterisk {
  font-weight: 900;
}

.newsletter-consent .req-asterisk {
  color: var(--yellow);
}

form.is-form-sent {
  display: none;
}

.form-feedback {
  margin-top: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: calc(var(--radius) - 4px);
  line-height: 1.5;
}

.form-feedback-title {
  margin: 0 0 0.35rem;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-feedback-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback-text a {
  color: inherit;
  text-underline-offset: 3px;
}

.form-feedback--success {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid var(--yellow);
  color: var(--white);
}

.form-feedback--error {
  background: rgba(180, 35, 24, 0.12);
  border: 2px solid #f0a8a0;
  color: var(--white);
}

.contact-form-panel .form-feedback--success,
.grupos-form-panel .form-feedback--success {
  background: #e8f5e9;
  border-color: #81c784;
  color: var(--blue);
}

.contact-form-panel .form-feedback--error,
.grupos-form-panel .form-feedback--error {
  background: #fdecea;
  border-color: #f0a8a0;
  color: var(--blue);
}

.newsletter-box .form-feedback--success,
.newsletter-box .form-feedback--error {
  color: var(--blue);
}

.newsletter-box .form-feedback--success {
  background: #e8f5e9;
  border-color: #81c784;
}

.newsletter-box .form-feedback--error {
  background: #fdecea;
  border-color: #f0a8a0;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 0 2.5rem;
}

.footer-columns {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
  opacity: 0.75;
}

.footer-hostel-name {
  margin: 0 0 0.25rem;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-hostel-city {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-contact {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s;
}

.footer-contact a:hover {
  color: var(--yellow);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: filter 0.2s;
}

.footer-pill:hover {
  filter: brightness(1.06);
}

.footer-social {
  margin-bottom: 2rem;
}

.footer-social h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  opacity: 0.75;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  opacity: 0.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  opacity: 0.85;
}

.footer-credit {
  margin: 0;
  padding-top: 0.4rem;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.7;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  opacity: 1;
}

/* Inicio — rendimiento al hacer scroll (sin cambiar el diseño en reposo) */
.page-home .bg-word,
.page-home .reviews-bg,
.page-home .services-bg {
  contain: paint;
  pointer-events: none;
}

.page-home .welcome-img.is-img-pending {
  background: #e8eef4;
}

.page-home .discover-carousel {
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: auto;
  scroll-snap-type: x mandatory;
}

.page-home .reviews-carousel .review-card,
.page-home .rooms-carousel .room-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

/* Mientras se hace scroll: pausar animaciones y transiciones costosas */
.page-home.is-scrolling .promo-track,
.page-home.is-scrolling .book-tab,
.page-home.is-scrolling .welcome-discover-cta-arrow {
  animation-play-state: paused !important;
}

.page-home.is-scrolling .room-card,
.page-home.is-scrolling .review-card,
.page-home.is-scrolling .chip,
.page-home.is-scrolling .blog-card-link:not(.is-carousel-enter),
.page-home.is-scrolling .welcome-discover-cta,
.page-home.is-scrolling .carousel-btn,
.page-home.is-scrolling .btn-yellow,
.page-home.is-scrolling .btn-blue,
.page-home.is-scrolling .room-filter,
.page-home.is-scrolling .service-item:not([data-reveal]),
.page-home.is-scrolling .group-card:not([data-reveal]),
.page-home.is-scrolling [data-reveal].is-revealed {
  transition: none !important;
}

.page-home.is-scrolling .section-services .service-item::before {
  transition: none !important;
}

.page-home.is-scrolling .discover-carousel {
  scroll-snap-type: none;
}

/* Cookie consent banner (site-wide) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--promo-h) + 0.75rem);
  z-index: 500;
  display: none;
  pointer-events: none;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem);
}

.cookie-banner.is-visible {
  display: block;
  pointer-events: auto;
  animation: cookie-banner-in 0.35s ease;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner.is-visible {
    animation: none;
  }
}

.cookie-banner-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  background: var(--white);
  color: var(--blue);
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  box-shadow: 0 12px 48px rgba(15, 39, 68, 0.18);
  padding: 1rem clamp(1rem, 4vw, 1.35rem);
  display: grid;
  gap: 0.85rem;
}

.cookie-banner-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue);
}

.cookie-banner-desc {
  margin: 0.15rem 0 0;
  color: var(--blue);
  opacity: 0.88;
  max-width: 72ch;
  line-height: 1.5;
}

.cookie-banner-desc a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-desc a:hover {
  color: var(--blue-light);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-btn {
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.15rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-family: inherit;
}

.cookie-btn--accept {
  background: var(--yellow);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.cookie-btn--accept:hover {
  filter: brightness(1.03);
}

.cookie-btn--reject {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.cookie-btn--reject:hover {
  background: rgba(15, 39, 68, 0.06);
}

@media (min-width: 900px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
  }
}
