/* ═══════════════════════════════════════════════════════
   SETRA HOTELES — style.css (v4)
   Shared system: Portón Sabaneta + Hotel Ruiseñor.
   Register: brand. Strategy: Committed (teal carries the surface).
   Type: Petrona (serif display, real italic) + Manrope (sans).
   Color: OKLCH; neutrals tinted toward the teal hue. No pure #000/#fff.
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  /* Brand teal ramp (hue 195 ≈ the #1a6e73 identity teal) */
  --teal:       oklch(43% 0.062 195);   /* ≈ #1a6e73, identity-locked */
  --teal-dark:  oklch(34% 0.052 195);
  --teal-deep:  oklch(19% 0.030 195);
  --teal-soft:  oklch(95% 0.014 195);

  /* Gold accent */
  --gold:       oklch(72% 0.070 65);    /* ≈ #c49a6c */
  --gold-light: oklch(80% 0.058 65);
  --gold-deep:  oklch(52% 0.072 65);    /* AA-safe gold on cream */

  /* Warm paper neutrals, tinted toward the brand */
  --cream:      oklch(95.6% 0.011 85);
  --cream-dark: oklch(92.6% 0.014 85);
  --white:      oklch(99.4% 0.002 85);  /* warmed, never pure #fff */
  --text:       oklch(24% 0.020 195);
  --text-mid:   oklch(46% 0.021 195);   /* 4.9:1 on cream — AA */
  --text-light: oklch(94% 0.008 85);

  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  20px;

  /* Motion tokens: exponential ease-out, no bounce. UI stays under 300ms. */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --dur:        240ms;
  --dur-press:  140ms;
  --dur-ui:     200ms;

  /* Rhythm: varied on purpose, not one padding everywhere */
  --section-v:  clamp(56px, 7vw, 96px);
  --section-v-tight: clamp(36px, 4.5vw, 60px);
  --container:  1200px;

  /* Height reserved for the fixed LobbyPMS booking bar (measured live: 103px
     desktop). Also used as scroll-margin so in-page anchors never land under it. */
  --booking-bar-h: 108px;
  --nav-h: 84px;

  --font-display: 'Petrona', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Reserve room for the fixed LobbyPMS widget so it never covers the footer. */
  padding-bottom: var(--booking-bar-h);
}
@media (max-width: 768px) { :root { --booking-bar-h: 124px; } }
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* In-page anchors (#habitaciones, #galeria, …) used to land underneath the
   sticky navbar, hiding each section's heading. */
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Container ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Section labels ─── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label-light {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 40px;
}

/* ─── Scroll animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
#navbar.scrolled {
  background: var(--teal-deep);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 12px 32px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: height var(--dur) var(--ease);
}
#navbar.scrolled .nav-logo img { height: 40px; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  transition: color var(--dur);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--dur);
}
.lang-toggle:hover { color: var(--gold); }

.btn-nav-book {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background var(--dur), transform var(--dur);
}
.btn-nav-book:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: transform var(--dur) var(--ease), opacity var(--dur);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
#inicio {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-deep);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 12s ease-out forwards;
}
/* Gentler zoom: the old 1.04->1.12 push cropped foreground objects out of
   frame and drifted the subject off-centre. */
@keyframes kenBurns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; transform: scale(1.02); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stronger mid-band so the headline keeps contrast over any slide,
     not just the dark ones. */
  background:
    linear-gradient(
      to top,
      rgba(13,31,32,0.88) 0%,
      rgba(13,31,32,0.72) 38%,
      rgba(13,31,32,0.46) 100%
    ),
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(13,31,32,0.42), transparent 72%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--teal-deep);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  min-height: 54px;
  display: flex;
  align-items: center;
  transition: background var(--dur), transform var(--dur);
}
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-hero-outline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  min-height: 54px;
  display: flex;
  align-items: center;
  transition: border-color var(--dur), color var(--dur), transform var(--dur);
}
.btn-hero-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background var(--dur), transform var(--dur);
}
.hero-dot.active::after { background: var(--gold); transform: scale(1.3); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   STATEMENT
   ═══════════════════════════════════════════════════════ */
.statement-section {
  background: var(--teal-dark);
  padding: 72px 24px;
  text-align: center;
}
.statement-inner {
  max-width: 820px;
  margin: 0 auto;
}
.statement-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.statement-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--text-light);
  margin-bottom: 28px;
}
.statement-loc {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   HIGHLIGHTS
   ═══════════════════════════════════════════════════════ */
.highlights-section {
  background: var(--cream);
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--cream-dark);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.highlight-item.visible { opacity: 1; transform: translateY(0); }
.highlight-item:nth-child(2) { transition-delay: 0.1s; }
.highlight-item:nth-child(3) { transition-delay: 0.2s; }
.highlight-item:nth-child(4) { transition-delay: 0.3s; }

.highlight-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.highlight-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   HABITACIONES
   ═══════════════════════════════════════════════════════ */
#habitaciones {
  background: var(--cream);
  padding: var(--section-v) 0;
}
#roomsContainer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.room-card {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,31,32,0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.3s;
}
.room-card.visible { opacity: 1; transform: translateY(0); }
.room-card:hover { box-shadow: 0 8px 40px rgba(13,31,32,0.14); }
.room-card.reverse { grid-template-columns: 45% 55%; }
.room-card.reverse .room-photos { order: 2; }
.room-card.reverse .room-info   { order: 1; }

/* Room photo slider */
.room-photos {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
}
.room-photo-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.room-photo-slide.active { opacity: 1; }
.room-photo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(13,31,32,0.55);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--dur);
  border: none;
}
.room-photo-btn:hover { background: rgba(13,31,32,0.85); }
.room-photo-btn.prev { left: 12px; }
.room-photo-btn.next { right: 12px; }
.room-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: var(--gold);
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.room-photo-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Room info */
.room-info {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.room-capacity {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.room-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.room-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.amenity-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-mid);
  background: rgba(26,110,115,0.07);
  padding: 6px 12px;
  border-radius: 20px;
}

.room-prices { display: flex; }
.price-desde {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-label { font-size: 0.78rem; color: var(--text-mid); }
.price-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
}
.price-night { font-size: 0.78rem; color: var(--text-mid); }
.room-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-room-book {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background var(--dur), transform var(--dur);
}
.btn-room-book:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-room-wa {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur), color var(--dur);
}
.btn-room-wa:hover { background: var(--teal); color: var(--white); }

.rooms-note {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.rooms-note i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   BOOKING
   ═══════════════════════════════════════════════════════ */
#reservar {
  background: var(--teal);
  padding: var(--section-v) 24px;
}
.booking-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.booking-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.booking-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
#ldrs-widget-container { margin-bottom: 24px; }
.booking-fallback {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-booking-primary {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--teal-deep);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--dur), transform var(--dur);
}
.btn-booking-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-booking-secondary {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--dur), color var(--dur);
}
.btn-booking-secondary:hover { border-color: rgba(255,255,255,0.85); color: var(--white); }
.booking-trust {
  margin-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════
   GALERÍA
   ═══════════════════════════════════════════════════════ */
#galeria {
  background: var(--white);
  padding: var(--section-v) 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,32,0.65) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--dur);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13,31,32,0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lb-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
  transition: background var(--dur);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-caption {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════ */
#servicios {
  background: var(--cream);
  padding: var(--section-v) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(13,31,32,0.06);
  transition: transform var(--dur), box-shadow var(--dur);
  opacity: 0;
  transform: translateY(16px);
}
.service-item.visible { opacity: 1; transform: translateY(0); }
.service-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(13,31,32,0.12); }

.service-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.service-item p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   RESEÑAS
   ═══════════════════════════════════════════════════════ */
#resenas {
  background: var(--white);
  padding: var(--section-v) 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.reviews-rating-badge {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}
.reviews-rating-score {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.reviews-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reviews-rating-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.reviews-rating-count { font-size: 0.85rem; color: var(--text-muted, #777); }
.review-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 3px solid var(--gold);
}
.review-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}
.review-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.review-source { font-size: 0.75rem; color: var(--text-mid); }
.reviews-cta {
  text-align: center;
  margin-top: 40px;
}
.btn-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: background var(--dur), color var(--dur);
}
.btn-reviews:hover { background: var(--teal); color: var(--white); }

/* ═══════════════════════════════════════════════════════
   UBICACIÓN
   ═══════════════════════════════════════════════════════ */
#ubicacion {
  background: var(--cream);
  padding: var(--section-v) 0;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-detail-text h4 { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.location-detail-text p  { font-size: 0.92rem; color: var(--text); line-height: 1.5; }
.location-detail-text a  { color: var(--teal); transition: color var(--dur); }
.location-detail-text a:hover { color: var(--gold); }
.btn-location-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #25d366;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: background var(--dur), transform var(--dur);
  margin-top: 8px;
  align-self: flex-start;
}
.btn-location-wa:hover { background: #1ebe5a; transform: translateY(-1px); }
.location-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  display: block;
}

/* ═══════════════════════════════════════════════════════
   POLÍTICAS
   ═══════════════════════════════════════════════════════ */
.policies-section {
  background: var(--white);
  padding: var(--section-v) 0;
}
.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.policy-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.policy-text p  { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
#footer {
  background: var(--teal-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 240px; }
.footer-brand .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: background var(--dur), color var(--dur);
  min-width: 44px;
  min-height: 44px;
}
.footer-social a:hover { background: var(--gold); color: var(--teal-deep); }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--dur);
  line-height: 1.4;
}
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 120px; /* above LobbyPMS sticky booking bar (.ldrs-main-container, ~103px tall, z-index 1050) */
  right: 28px;
  z-index: 1100; /* above LobbyPMS bar (1050) so the FAB stays clickable */
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--dur), box-shadow var(--dur);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ═══════════════════════════════════════════════════════
   STICKY CTA MOBILE
   ═══════════════════════════════════════════════════════ */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--teal-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 20px;
}
.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-price {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.sticky-price strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}
.btn-sticky {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--teal-deep);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: background var(--dur);
}
.btn-sticky:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .room-card, .room-card.reverse { grid-template-columns: 1fr; min-height: auto; }
  .room-card.reverse .room-photos,
  .room-card.reverse .room-info  { order: unset; }
  .room-photos { height: 260px; position: relative; }
  .room-photo-slide { position: absolute; }
}

@media (max-width: 768px) {
  :root { --section-v: 48px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--teal-deep); padding: 80px 32px 32px; gap: 8px; z-index: 999; transform: translateX(100%); transition: transform 0.35s var(--ease); }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hamburger { display: flex; }
  .btn-nav-book { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-scroll { display: none; }
  .sticky-cta-mobile.active { display: block; }
  .whatsapp-fab { bottom: 120px; } /* clear of LobbyPMS sticky bar on mobile too */
  .room-info { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid   { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .policies-grid   { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; max-width: 280px; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════
   MOTION PASS (v4)
   Every pressable element answers the press. Hover effects are gated
   behind a real pointer so tapping on a phone doesn't leave elements
   stuck in their hover state.
   ═══════════════════════════════════════════════════════ */

.btn-nav-book,
.btn-hero-primary,
.btn-hero-outline,
.btn-room-book,
.btn-room-wa,
.btn-booking-primary,
.btn-booking-secondary,
.btn-reviews,
.btn-location-wa,
.btn-sticky,
.room-photo-btn,
.lang-toggle,
.lb-close, .lb-prev, .lb-next {
  transition: background var(--dur-ui) var(--ease-out),
              color var(--dur-ui) var(--ease-out),
              border-color var(--dur-ui) var(--ease-out),
              box-shadow var(--dur-ui) var(--ease-out),
              transform var(--dur-press) var(--ease-out);
}

/* Press feedback — the interface confirms it heard the tap. */
.btn-nav-book:active,
.btn-hero-primary:active,
.btn-hero-outline:active,
.btn-room-book:active,
.btn-room-wa:active,
.btn-booking-primary:active,
.btn-booking-secondary:active,
.btn-reviews:active,
.btn-location-wa:active,
.btn-sticky:active { transform: scale(0.97); }

.room-photo-btn:active,
.lb-close:active, .lb-prev:active, .lb-next:active { transform: scale(0.94); }

.whatsapp-fab:active { transform: scale(0.94); }
.gallery-item:active { transform: scale(0.99); }
.service-item:active { transform: translateY(-2px) scale(0.995); }

/* Hover only where a real pointer exists. On touch, :hover sticks after tap. */
@media (hover: none) {
  .room-card:hover,
  .service-item:hover,
  .gallery-item:hover img,
  .whatsapp-fab:hover { transform: none; box-shadow: none; }
  .gallery-item:hover .gallery-item-overlay { opacity: 0; }
}

/* Keyboard focus must stay visible for accessibility. */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════════════
   ICONS (v4) — line-drawn set, no badge behind them.
   The old pattern (a 10%-tint teal circle around a Font Awesome glyph,
   repeated across highlights / services / policies / location) is the
   clearest "template site" signal there is. Icons now sit directly on the
   surface at the same optical weight as the text they label.
   ═══════════════════════════════════════════════════════ */
.ico { display: block; flex-shrink: 0; }

.highlight-icon,
.service-icon,
.policy-icon,
.location-detail-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--gold-deep);
  flex-shrink: 0;
}

/* Slight optical lift so the stroke reads as deliberate, not as a leftover. */
.highlight-icon .ico,
.service-icon .ico { stroke-width: 1.1; }

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-mid);
  background: none;
  border: 1px solid var(--cream-dark);
  padding: 5px 11px;
  border-radius: 4px;
}
.amenity-tag .ico { color: var(--teal); stroke-width: 1.4; }

.room-capacity .ico,
.btn-room-wa .ico,
.btn-location-wa .ico,
.btn-booking-primary .ico,
.footer-social .ico { display: inline-block; vertical-align: -3px; }

/* ═══════════════════════════════════════════════════════
   LAYOUT (v4) — breaking the uniform grid.
   Before: highlights, services and policies were three identical
   4-column centred grids of icon-over-title-over-text. Same rhythm,
   same alignment, same card. That sameness is what reads as generic.
   Now each band has its own structure and its own reading direction.
   ═══════════════════════════════════════════════════════ */

/* ── Highlights: a spec strip. Left-aligned, hairline-separated, no cards ── */
.highlights-section { padding: var(--section-v-tight) 0; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  padding: 30px clamp(18px, 2.4vw, 34px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.highlight-item + .highlight-item { border-left: 1px solid var(--cream-dark); }
.highlight-item.visible { opacity: 1; transform: translateY(0); }
.highlight-item:nth-child(2) { transition-delay: .06s; }
.highlight-item:nth-child(3) { transition-delay: .12s; }
.highlight-item:nth-child(4) { transition-delay: .18s; }
.highlight-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.highlight-item p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.5; }

/* ── Services: an editorial two-column list, not a card grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
  max-width: 1000px;
}
/* Three children (icon, h3, p): the icon occupies the narrow column and the
   heading + copy stack in the wide one. A two-column grid pushed the <p> into
   the 26px icon column and broke it to one word per line. */
.service-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    ".    copy";
  align-items: start;
  column-gap: 14px;
  row-gap: 4px;
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream-dark);
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.service-item > .service-icon { grid-area: icon; }
.service-item > h3 { grid-area: title; }
.service-item > p  { grid-area: copy; }
.service-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}
.service-item p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.55; }
.service-item:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .service-item:hover h3 { color: var(--teal); }
}

/* ── Statement: asymmetric, oversized, left-hung. Not a centred pull-quote ── */
.statement-section {
  background: var(--teal-dark);
  padding: clamp(64px, 8vw, 108px) 0;
  text-align: left;
}
.statement-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}
.statement-line {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 28px;
  grid-column: 1 / -1;
}
.statement-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-light);
  margin: 0;
  text-wrap: balance;
}
.statement-loc {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 8px;
}

/* ── Section heads: left-hung with a rule, instead of centred stacks ── */
.section-header { text-align: left; max-width: 720px; }
.section-title { letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-item:nth-child(3) { border-left: 0; }
  .highlight-item:nth-child(n+3) { border-top: 1px solid var(--cream-dark); }
  .statement-inner { grid-template-columns: 1fr; align-items: start; }
  .statement-loc { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item + .highlight-item { border-left: 0; border-top: 1px solid var(--cream-dark); }
}


/* ═══════════════════════════════════════════════════════
   TAP TARGETS (v4)
   Footer links, phone/email and the "view on maps" link rendered at
   19-22px tall. On a phone that produces mis-taps on exactly the actions
   that matter most (calling, writing, opening the map).
   ═══════════════════════════════════════════════════════ */
/* These anchors carry no class of their own and sit inside <p>/<li>, so the
   selectors have to target them structurally. */
.footer-col li > a,
.location-detail-text a,
.location-detail-text p > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
}

/* Keep the footer list visually tight despite the taller hit areas. */
.footer-col li { margin-bottom: 0; }

/* The gold kicker sat at 3.61:1 on the dark teal statement band — below the
   4.5:1 AA floor for text this size. Lightened just for that context. */
.statement-loc { color: var(--gold-light); }
