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

  /* Accesibilidad: texto visible para lectores de pantalla y crawlers, invisible visualmente */
  .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;
  }

  :root {
    --sand: #F4F0E8;
    --sand-dark: #E8E2D4;
    --ink: #1C1A16;
    --ink-light: #5C5850;
    --gold: #C9A96E;
    --gold-light: #E8D5B0;
    --white: #FDFCF9;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Jost', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--ink);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    transition: background 0.4s, box-shadow 0.4s;
  }
  nav.scrolled {
    background: rgba(253,252,249,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(28,26,22,0.08);
  }
  .nav-logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.4s;
  }
  nav.scrolled .nav-logo { color: var(--ink); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253,252,249,0.85);
    text-decoration: none;
    transition: color 0.3s;
  }
  nav.scrolled .nav-links a { color: var(--ink-light); }
  .nav-links a:hover { color: var(--gold) !important; }
  .nav-cta {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white) !important;
    border: 1px solid rgba(253,252,249,0.5);
    padding: 0.55rem 1.4rem;
    text-decoration: none;
    transition: all 0.3s;
  }
  nav.scrolled .nav-cta {
    color: var(--ink) !important;
    border-color: var(--ink);
  }
  .nav-cta:hover {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
  }

  /* HERO */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(28,26,22,0.65) 0%, rgba(28,26,22,0.15) 55%, rgba(28,26,22,0.25) 100%),
      url('img/_JMG9320.jpg') center 40%/cover no-repeat;
  }
  .webp .hero-bg {
    background:
      linear-gradient(to top, rgba(28,26,22,0.65) 0%, rgba(28,26,22,0.15) 55%, rgba(28,26,22,0.25) 100%),
      url('img/_JMG9320.webp') center 40%/cover no-repeat;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem 6rem;
    max-width: 780px;
  }
  .hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold);
  }
  .hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 1.0;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
  }
  .hero h1 em { font-style: italic; color: var(--gold-light); }
  .hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(253,252,249,0.75);
    max-width: 460px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
  }
  .hero-actions { display: flex; gap: 1rem; align-items: center; }
  .btn-primary {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2.4rem;
    text-decoration: none;
    transition: background 0.3s;
  }
  .btn-primary:hover { background: #b8924f; }
  .btn-ghost {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253,252,249,0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(253,252,249,0.35);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
  }
  .btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

  .hero-scroll {
    position: absolute;
    right: 4rem;
    bottom: 3.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(253,252,249,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .hero-scroll::after {
    content: '';
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(253,252,249,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
  }
  @keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
  }

  /* INTRO STRIP */
  .intro-strip {
    background: var(--sand);
    padding: 3.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-bottom: 1px solid var(--sand-dark);
  }
  .intro-strip p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--ink-light);
    max-width: 580px;
    line-height: 1.8;
  }
  .strip-stats {
    display: flex;
    gap: 3.5rem;
    flex-shrink: 0;
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.3rem;
  }
  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-light);
  }

  /* SECTION COMMON */
  section { padding: 7rem 4rem; }
  .section-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
  }
  .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.5rem;
  }
  .section-title em { font-style: italic; }
  .section-sub {
    font-size: 0.95rem;
    color: var(--ink-light);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
  }
  .divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
  }

  /* ROOMS */
  #habitaciones { background: var(--white); }
  .rooms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--sand-dark);
  }
  .room-card {
    border-right: 1px solid var(--sand-dark);
    overflow: hidden;
    position: relative;
    cursor: pointer;
  }
  .room-card:last-child { border-right: none; }
  .room-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }
  .room-card:hover .room-img { transform: scale(1.04); }
  .room-info { padding: 1.8rem 2rem 2rem; background: var(--white); }
  .room-cat {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
  }
  .room-name {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }
  .room-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1.4rem;
  }
  .room-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px solid var(--sand-dark);
    padding-top: 1.2rem;
  }
  .room-price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--ink);
  }
  .room-price span {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--ink-light);
    letter-spacing: 0.06em;
  }
  .room-link {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
  }
  .room-link:hover { border-color: var(--gold); }

  /* GALLERY */
  #galeria { background: var(--white); padding-bottom: 5rem; }
  .gallery-header { max-width: 1200px; margin: 0 auto; padding-bottom: 3rem; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 260px 260px;
    gap: 6px;
  }
  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9);
    transition: filter 0.4s, transform 0.5s;
  }
  .gallery-item { overflow: hidden; cursor: pointer; }
  .gallery-item:hover .gallery-img { filter: saturate(1.1); transform: scale(1.03); }
  .g1 { grid-column: 1 / 6; grid-row: 1; }
  .g2 { grid-column: 6 / 9; grid-row: 1; }
  .g3 { grid-column: 9 / 13; grid-row: 1; }
  .g4 { grid-column: 1 / 4; grid-row: 2; }
  .g5 { grid-column: 4 / 8; grid-row: 2; }
  .g6 { grid-column: 8 / 13; grid-row: 2; }

  /* BOOKING */
  #reservas {
    background: var(--ink);
    padding: 7rem 4rem;
    position: relative;
    overflow: hidden;
  }
  #reservas::before {
    content: 'CP';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-size: 22rem;
    font-weight: 300;
    color: rgba(255,255,255,0.025);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.05em;
  }
  .booking-inner {
    max-width: 820px;
    position: relative;
    z-index: 2;
  }
  #reservas .section-eyebrow { color: var(--gold-light); }
  #reservas .section-title { color: var(--white); }
  #reservas .section-sub { color: rgba(253,252,249,0.6); }
  .booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
  }
  .form-group { position: relative; }
  .form-group + .form-group { border-left: 1px solid rgba(255,255,255,0.1); }
  .form-group label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    padding: 1.1rem 1.4rem 0.3rem;
  }
  .form-group input, .form-group select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.3rem 1.4rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-group select option { background: var(--ink); color: var(--white); }
  .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
    cursor: pointer;
  }
  .form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) opacity(0.85);
  }
  .form-group input::placeholder { color: rgba(253,252,249,0.3); }
  .booking-submit {
    background: var(--gold);
    border: none;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0 2.5rem;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
  }
  .booking-submit:hover { background: #b8924f; }
  .booking-note {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(253,252,249,0.35);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .booking-note::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: rgba(253,252,249,0.2);
  }

  /* CONTACT */
  #contacto { background: var(--white); }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }
  .contact-map {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: saturate(0.6) contrast(1.1);
    display: block;
  }
  .contact-details { display: block; margin-bottom: 2.5rem; font-style: normal; }
  .contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--sand-dark);
    align-items: flex-start;
  }
  .contact-item:first-child { border-top: 1px solid var(--sand-dark); }
  .contact-icon {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    width: 70px;
    flex-shrink: 0;
    padding-top: 0.1rem;
  }
  .contact-val {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.7;
  }
  .contact-val a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand-dark); transition: border-color 0.3s; }
  .contact-val a:hover { border-color: var(--gold); }

  /* FOOTER */
  footer {
    background: var(--sand);
    border-top: 1px solid var(--sand-dark);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: 0.04em;
  }
  .footer-copy {
    font-size: 0.75rem;
    color: var(--ink-light);
    letter-spacing: 0.05em;
  }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--gold); }

  /* LIGHTBOX */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28,26,22,0.96);
    z-index: 200;
    align-items: center;
    justify-content: center;
  }
  .lightbox.active { display: flex; }
  .lightbox img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    display: block;
  }
  .lightbox-close {
    position: absolute;
    top: 2rem; right: 2.5rem;
    color: rgba(253,252,249,0.6);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-sans);
    transition: color 0.3s;
  }
  .lightbox-close:hover { color: var(--white); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
/* Al abrir el menú, forzar fondo oscuro en el nav para que se vea bien */
.nav-open { background: rgba(28,26,22,0.98) !important; z-index: 200; }
.nav-open .nav-hamburger span { background: var(--white) !important; }
.nav-open .nav-logo { color: var(--white) !important; }
.scrolled:not(.nav-open) .nav-hamburger span { background: var(--ink); }

/* Link reservar extra solo en móvil */
.nav-mobile-cta { display: none; }

  @media (max-width: 900px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-hamburger { display: flex; }
    .nav-cta { display: none; }
    .nav-links {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(28,26,22,0.97);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      z-index: 200;
    }
    .nav-open .nav-links { display: flex; }
    .nav-links a {
      font-family: var(--font-serif);
      font-size: 1.8rem;
      font-weight: 300;
      color: var(--white);
      letter-spacing: 0.05em;
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-mobile-cta { display: block; margin-top: 1rem; }
    .nav-mobile-cta .btn-primary { padding: 1rem 2.5rem; }
    section { padding: 5rem 1.5rem; }
    .hero-content { padding: 0 1.5rem 5rem; }
    .hero-scroll { right: 1.5rem; bottom: 2rem; }
    .intro-strip { flex-direction: column; padding: 2.5rem 1.5rem; }
    .strip-stats { gap: 2rem; }
    .rooms-grid { grid-template-columns: 1fr 1fr; }
    .room-card { border-right: none; border-bottom: 1px solid var(--sand-dark); }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: auto; grid-row: auto; height: 200px; }
    .booking-form { grid-template-columns: 1fr 1fr; }
    .booking-submit { grid-column: 1 / -1; padding: 1.2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    #reservas { padding: 5rem 1.5rem; }
    footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2.5rem 1.5rem; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  }

  @media (max-width: 560px) {
    section { padding: 4rem 1.2rem; }
    #reservas { padding: 4rem 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .section-eyebrow { font-size: 0.65rem; }
    /* Hero */
    .hero-content { padding: 0 1.2rem 4rem; }
    .hero-eyebrow { font-size: 0.65rem; }
    h1 { font-size: 3rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-actions { flex-direction: column; gap: 0.8rem; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; text-align: center; }
    /* Intro strip */
    .intro-strip { padding: 2rem 1.2rem; }
    .strip-text { font-size: 0.9rem; }
    .strip-stats { flex-wrap: wrap; gap: 1.5rem; }
    .stat-number { font-size: 2rem; }
    /* Habitaciones */
    .rooms-grid { grid-template-columns: 1fr; }
    .room-card { border-right: none; }
    /* Galería */
    .gallery-grid { grid-template-columns: 1fr; }
    .g1, .g2, .g3, .g4, .g5, .g6 { height: 240px; }
    /* Reservas / booking */
    .booking-inner { padding: 2rem 1.2rem; }
    .booking-form { grid-template-columns: 1fr; gap: 0.8rem; }
    .booking-submit { grid-column: 1; padding: 1rem; }
    /* Contacto */
    .contact-grid { gap: 2rem; }
    .contact-item { flex-direction: column; gap: 0.4rem; }
    /* Footer */
    footer { padding: 2rem 1.2rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 0.8rem; }
    /* Room lightbox panel */
    .rl-panel { width: 100vw; max-height: 100dvh; border-radius: 0; }
    .rl-header { padding: 1rem 1.2rem; flex-wrap: wrap; gap: 0.5rem; }
    .rl-main { min-height: 200px; }
    .rl-img { max-height: 50vh; }
    .rl-services { padding: 1rem 1.2rem; }
  }

/* ROOM GALLERY LIGHTBOX */
.room-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.room-lightbox.active { display: flex; }
.rl-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,22,0.92);
}
.rl-panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  width: 96vw;
  max-width: 1200px;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--sand-dark);
  flex-shrink: 0;
}
.rl-cat {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.rl-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ink);
}
.rl-close {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.3s;
  flex-shrink: 0;
}
.rl-close:hover { color: var(--ink); }
.rl-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
  min-height: 0;
}
.rl-img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,252,249,0.9);
  border: none;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.3s;
  z-index: 2;
}
.rl-arrow:hover { background: var(--white); }
.rl-prev { left: 0.8rem; }
.rl-next { right: 0.8rem; }
.rl-counter {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  padding: 0.6rem 0 0;
  flex-shrink: 0;
}
.rl-thumbs {
  display: flex;
  gap: 6px;
  padding: 0.8rem 1.2rem;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}
.rl-thumbs::-webkit-scrollbar { height: 4px; }
.rl-thumbs::-webkit-scrollbar-thumb { background: var(--sand-dark); }
.rl-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.rl-thumb:hover { opacity: 0.85; }
.rl-thumb.active { opacity: 1; border-color: var(--gold); }
.rl-footer {
  padding: 1rem 1.8rem 1.4rem;
  border-top: 1px solid var(--sand-dark);
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

/* NAV LOGO IMAGE */
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: invert(1) brightness(2);
  transition: filter 0.4s;
}
nav.scrolled .nav-logo-img {
  filter: invert(0) brightness(1);
}

/* FOOTER LOGO IMAGE */
.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
}

/* INSTAGRAM FOOTER LINK */
.footer-insta { color: var(--gold) !important; }
.footer-insta:hover { color: var(--ink) !important; }

/* FOOTER LEGAL LINKS */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal-sep {
  font-size: 0.6rem;
  color: var(--ink-light);
  opacity: 0.5;
}

/* INSTAGRAM ICON */
.footer-insta { display: flex; align-items: center; }
.footer-insta svg { transition: color 0.3s; }

/* SERVICES SECTION */
#servicios { background: var(--sand); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.service-cat {
  background: var(--white);
  padding: 1.8rem;
  border: 1px solid var(--sand-dark);
}
.service-cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand-dark);
}
.service-cat-header svg { color: var(--gold); flex-shrink: 0; }
.service-cat-header h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.4;
}
.service-list li svg { color: var(--gold); flex-shrink: 0; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* GALLERY LIGHTBOX UPDATED */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,22,0.96);
}
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}
.lightbox-close {
  position: absolute;
  top: 2rem; right: 2.5rem;
  color: rgba(253,252,249,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
  transition: color 0.3s;
  z-index: 3;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,252,249,0.15);
  border: 1px solid rgba(253,252,249,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}
.lightbox-arrow:hover { background: rgba(253,252,249,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253,252,249,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  z-index: 3;
}

/* ROOM SERVICES TAB */
.rl-tabs {
  display: flex;
  gap: 0.5rem;
}
.rl-tab {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--sand-dark);
  background: transparent;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.25s;
}
.rl-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.rl-tab-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.rl-hidden { display: none !important; }
.rl-services {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-content: start;
}
.rl-svc-cat {
  background: var(--sand);
  padding: 1rem 1.2rem;
  border: 1px solid var(--sand-dark);
}
.rl-svc-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sand-dark);
}
.rl-svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rl-svc-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-light);
}
.rl-svc-list li svg { color: var(--gold); flex-shrink: 0; }
.rl-no-services {
  font-size: 0.85rem;
  color: var(--ink-light);
  padding: 2rem;
  text-align: center;
}
@media (max-width: 900px) {
  .rl-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rl-services { grid-template-columns: 1fr; }
  .rl-tabs { gap: 0.3rem; }
  .rl-tab { font-size: 0.65rem; padding: 0.4rem 0.7rem; }
}

/* ENTORNO SECTION */
#entorno { background: var(--sand); }
.entorno-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.entorno-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.entorno-highlight {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand-dark);
}
.entorno-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.entorno-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.entorno-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.entorno-item p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.8;
}
.entorno-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  height: 520px;
}
.entorno-img-top, .entorno-img-bottom {
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.entorno-img-top img, .entorno-img-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: saturate(0.9);
}
.entorno-img-top:hover img,
.entorno-img-bottom:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .entorno-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .entorno-images { height: 320px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
}

/* ENTORNO PLACEHOLDER */
.entorno-placeholder {
  width: 100%;
  height: 100%;
  background: var(--sand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--ink-light);
}
.entorno-placeholder svg { color: var(--gold); opacity: 0.6; }
.entorno-placeholder p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
}
.entorno-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--ink);
  border-top: 1px solid rgba(201,169,110,0.3);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.ck-banner-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.ck-banner-text { flex: 1; min-width: 280px; }
.ck-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.ck-desc {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(253,252,249,0.6);
  line-height: 1.5;
}
.ck-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--gold);
  text-decoration: underline;
  letter-spacing: 0.05em;
}
.ck-banner-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.ck-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ck-btn-accept {
  background: var(--gold);
  color: var(--white);
}
.ck-btn-accept:hover { background: #b8924f; }
.ck-btn-reject {
  background: transparent;
  color: rgba(253,252,249,0.6);
  border: 1px solid rgba(253,252,249,0.2);
}
.ck-btn-reject:hover { border-color: rgba(253,252,249,0.5); color: var(--white); }
.ck-btn-manage {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201,169,110,0.3);
}
.ck-btn-manage:hover { border-color: var(--gold); color: var(--gold); }

/* ── COOKIE MODAL ── */
#cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ck-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,26,22,0.75);
}
.ck-modal-box {
  position: relative;
  background: var(--white);
  max-width: 580px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  z-index: 1;
}
.ck-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink-light);
}
.ck-modal-close:hover { color: var(--ink); }
.ck-modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.ck-modal-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ck-category {
  border-top: 1px solid var(--sand-dark);
  padding: 1.1rem 0;
}
.ck-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.ck-cat-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.ck-cat-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.5;
}
.ck-toggle-fixed {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
/* Toggle switch */
.ck-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.ck-toggle input { opacity: 0; width: 0; height: 0; }
.ck-slider {
  position: absolute;
  inset: 0;
  background: var(--sand-dark);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s;
}
.ck-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
}
.ck-toggle input:checked + .ck-slider { background: var(--gold); }
.ck-toggle input:checked + .ck-slider::before { transform: translateX(18px); }
.ck-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--sand-dark);
  padding-top: 1.2rem;
}
@media (max-width: 600px) {
  #cookie-banner { padding: 1rem; }
  .ck-banner-inner { flex-direction: column; gap: 1rem; }
  .ck-banner-actions { width: 100%; justify-content: stretch; }
  .ck-btn { flex: 1; text-align: center; }
  .ck-modal-box { padding: 1.8rem 1.4rem; }
}

/* ── MODALES DE POLÍTICAS (cookies, privacidad, aviso legal) ── */
#privacy-policy-modal,
#legal-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: none;
  align-items: center;
  justify-content: center;
}
#privacy-policy-modal .ck-modal-overlay,
#legal-notice-modal .ck-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
#privacy-policy-modal .ck-modal-box,
#legal-notice-modal .ck-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 2.2rem;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* ── COOKIE POLICY MODAL ── */
#cookie-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-policy-modal .ck-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
#cookie-policy-modal .ck-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 2.2rem;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.ck-policy-box { max-width: 680px; }
.ck-policy-host {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.ck-policy-section {
  border-top: 1px solid var(--sand-dark);
  padding: 1.1rem 0;
}
.ck-policy-section h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.ck-policy-section p {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.ck-policy-section p:last-child { margin-bottom: 0; }
.ck-policy-section ul {
  margin: 0.5rem 0 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ck-policy-section li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.6;
}
.ck-policy-section strong { font-weight: 500; color: var(--ink); }
