/* ================================================================
   CABAÑAS SG — Estilos principales
   Paleta: crema #F7F2E7 · oro #B8912F · pantera #14110E · bosque #34463B
   Tipografía: Cormorant Garamond (display) + Montserrat (body)
   Para cambiar colores globales: editar las variables en :root abajo
   ================================================================ */

/* ── 1. RESET + BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--pantera);
  background-color: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, button { font-family: inherit; }

/* ── 2. VARIABLES ────────────────────────────────────────── */
:root {
  /* Paleta */
  --crema:       #F7F2E7;
  --hueso:       #FCF9F2;
  --oro:         #B8912F;
  --oro-claro:   #C9A85C;
  --pantera:     #14110E;
  --madera:      #8A5A3B;
  --bosque:      #34463B;

  /* Texto */
  --text-dark:      #14110E;
  --text-mid:       rgba(20,17,14,0.62);
  --text-light:     #FCF9F2;
  --text-light-mid: rgba(252,249,242,0.70);

  /* Hairlines doradas */
  --oro-line:    rgba(184,145,47,0.22);
  --oro-line-md: rgba(184,145,47,0.48);

  /* Tipografías */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --section-py:      5rem;
  --container-max:   1280px;
  --container-px:    1.5rem;

  /* Animaciones */
  --ease:       0.25s ease;
  --ease-slow:  0.55s ease;

  /* Z-index */
  --z-header:   900;
  --z-wa:       950;
  --z-lightbox: 1000;
}

/* ── 3. TIPOGRAFÍA BASE ──────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}
p { line-height: 1.75; }

/* ── 4. UTILIDADES ───────────────────────────────────────── */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--oro-claro); }

/* Hairline decorativa */
.hairline {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--oro-line-md);
  margin: 1rem auto;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BOTONES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform 0.15s ease, box-shadow var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary: oro fondo + pantera texto */
.btn-primary {
  background: var(--oro);
  color: var(--pantera);
  border: 1px solid var(--oro);
}
.btn-primary:hover {
  background: var(--oro-claro);
  border-color: var(--oro-claro);
  box-shadow: 0 4px 20px rgba(184,145,47,0.35);
}

/* Ghost: borde + texto blanco (sobre fondos oscuros/foto) */
.btn-ghost {
  background: transparent;
  color: var(--hueso);
  border: 1px solid rgba(252,249,242,0.55);
}
.btn-ghost:hover {
  background: rgba(252,249,242,0.1);
  border-color: var(--hueso);
}

/* Gold: igual a primary (alias semántico) */
.btn-gold {
  background: var(--oro);
  color: var(--pantera);
  border: 1px solid var(--oro);
}
.btn-gold:hover {
  background: var(--oro-claro);
  border-color: var(--oro-claro);
  box-shadow: 0 4px 20px rgba(184,145,47,0.4);
}

/* Dark: pantera fondo + hueso texto */
.btn-dark {
  background: var(--pantera);
  color: var(--hueso);
  border: 1px solid var(--pantera);
}
.btn-dark:hover {
  background: #1e1a17;
  box-shadow: 0 4px 16px rgba(20,17,14,0.3);
}

/* Ghost small sobre oscuro */
.btn-ghost-sm {
  background: transparent;
  color: var(--oro-claro);
  border: 1px solid var(--oro-line-md);
  font-size: 0.72rem;
  padding: 0.7rem 1.4rem;
}
.btn-ghost-sm:hover {
  border-color: var(--oro);
  color: var(--oro);
}

/* Large + full width */
.btn-lg { padding: 1rem 2.5rem; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* WA button header */
.btn-wa-header {
  background: var(--pantera);
  color: var(--hueso);
  border: 1px solid rgba(252,249,242,0.18);
  font-size: 0.7rem;
  padding: 0.6rem 1.25rem;
}
.btn-wa-header:hover { background: #1e1a17; }

/* ── 5. HEADER ───────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  transition: background var(--ease), box-shadow var(--ease);
  background: transparent;
}
#site-header.scrolled {
  background: rgba(247,242,231,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--oro-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hueso);
  transition: color var(--ease);
  white-space: nowrap;
}
#site-header.scrolled .logo-text { color: var(--pantera); }

/* Desktop nav */
.main-nav {
  display: none;
  gap: 2.25rem;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252,249,242,0.85);
  transition: color var(--ease);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--oro);
  transition: width 0.3s ease;
}
.main-nav a:hover { color: var(--hueso); }
.main-nav a:hover::after { width: 100%; }
#site-header.scrolled .main-nav a { color: var(--text-mid); }
#site-header.scrolled .main-nav a:hover { color: var(--pantera); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--hueso);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background var(--ease);
}
#site-header.scrolled .hamburger span { background: var(--pantera); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem 3rem;
  background: var(--pantera);
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: calc(var(--z-header) - 1);
  border-bottom: 1px solid var(--oro-line);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-mid);
  padding: 0.85rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--oro-line);
  transition: color var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 1rem; }
.mobile-nav a:hover { color: var(--oro); }

/* ── 6. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slideshow de fondo */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Para cambiar fotos del hero: ver los style="background-image:..." en index.html */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: opacity, transform;
  animation: slide-fade 18s ease-in-out infinite backwards;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20,17,14,0.38) 0%,
    rgba(20,17,14,0.52) 60%,
    rgba(20,17,14,0.72) 100%
  );
}

/* Contenido hero */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
  animation: hero-content-in 1.2s ease-out both;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--oro-claro);
  margin-bottom: 0.75rem;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--oro-claro), transparent);
  margin: 0.9rem auto;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--hueso);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(20,17,14,0.4);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(252,249,242,0.88);
  margin-top: 0.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.hero-scroll-hint {
  position: absolute;
  bottom: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--oro-claro), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ── 7. SECCIONES BASE ───────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section-light { background: var(--crema); }
.section-dark  { background: var(--pantera); }
.section-forest{ background: var(--bosque); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section-header--light { color: var(--hueso); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--pantera);
}
.section-title--light { color: var(--hueso); }

.section-lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}
.section-lead--light { color: var(--text-light-mid); }

/* ── 8. HIGHLIGHTS (intro marca) ─────────────────────────── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3.5rem;
}
.highlight-item {
  text-align: center;
  padding: 0.5rem;
}
.highlight-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--oro);
}
.highlight-icon svg { width: 100%; height: 100%; }
.highlight-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pantera);
  margin-bottom: 0.4rem;
}
.highlight-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── 9. CABAÑAS CARDS ────────────────────────────────────── */
.cabanas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}
.cabana-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--oro-line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.cabana-card:hover {
  border-color: var(--oro-line-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}
.cabana-card__photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.cabana-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.cabana-card:hover .cabana-card__photo img { transform: scale(1.04); }
.cabana-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--pantera);
  color: var(--oro);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--oro-line-md);
}
.cabana-card__badge--coming { color: var(--text-light-mid); border-color: var(--oro-line); }
.cabana-card__body {
  padding: 1.75rem 1.5rem 2rem;
}
.cabana-card__icon {
  width: 32px;
  height: 32px;
  color: var(--oro-claro);
  margin-bottom: 0.75rem;
}
.cabana-card__icon svg { width: 100%; height: 100%; }
.cabana-card__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--hueso);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.cabana-card__sub {
  font-size: 0.78rem;
  color: var(--text-light-mid);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.cabana-card__stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--oro-line);
}
.cabana-card__stats span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oro-claro);
}
.cabana-card__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── 10. GALERÍA BAGHEERA ────────────────────────────────── */
/* Para agregar/quitar fotos de la galería: editar los .gallery-item en index.html */
.gallery-wrap { margin: 3rem 0 3.5rem; }

.gallery-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
  margin-bottom: 4px;
}
.gallery-featured, .gallery-side {
  overflow: hidden;
}
.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.gallery-strip:last-child { margin-bottom: 0; }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--pantera);
}
.gallery-featured .gallery-item { aspect-ratio: 4/3; height: 100%; }
.gallery-side .gallery-item    { aspect-ratio: 4/3; flex: 1; }
.gallery-strip .gallery-item   { aspect-ratio: 4/3; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,17,14,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery-item__overlay span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hueso);
  border-bottom: 1px solid var(--oro-claro);
  padding-bottom: 2px;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ── 11. STATS GRID ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--oro-line);
  margin-bottom: 4rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--oro-line);
  border-bottom: 1px solid var(--oro-line);
  text-align: center;
}
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--pantera);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ── 12. BAGHEERA DETALLE ────────────────────────────────── */
.bagheera-header { text-align: center; margin-bottom: 0; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,145,47,0.1);
  border: 1px solid var(--oro-line-md);
  padding: 0.5rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 2px;
}
.rating-stars {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--oro);
}
.rating-badge span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-mid);
}
.rating-sep { color: var(--oro-line-md); }
.rating-fav { font-weight: 500; }

/* Services + Accessibility en dos columnas */
.bagheera-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--oro-line);
  margin-bottom: 3rem;
}
.col-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pantera);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--oro-line);
}
.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
.services-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--oro);
}

/* Bloque accesibilidad */
.accessibility-block {
  background: rgba(184,145,47,0.06);
  border: 1px solid var(--oro-line);
  border-left: 3px solid var(--oro);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.accessibility-block__content {
  padding: 2rem 1.75rem;
}
.accessibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.85rem;
}
.accessibility-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--pantera);
  margin-bottom: 0.75rem;
}
.accessibility-block p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.accessibility-block__photo { display: none; }

/* CTA sección */
.section-cta {
  text-align: center;
  padding-top: 1rem;
}
.cta-sub {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-mid);
}
.cta-sub a { text-decoration: underline; color: var(--oro); }
.cta-sub--light { color: var(--text-light-mid); }
.cta-sub--light a { color: var(--oro-claro); }

/* ── 13. NALÚ GALLERY ────────────────────────────────────── */
.nalu-gallery {
  max-width: 960px;
  margin: 3rem auto 2.5rem;
}
.nalu-main {
  margin-bottom: 4px;
}
.nalu-main .gallery-item { aspect-ratio: 16/9; max-height: 420px; }
.nalu-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.nalu-thumbs .gallery-item { aspect-ratio: 1; }
.gallery-notice {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--oro-claro);
  opacity: 0.65;
  margin-top: 1.25rem;
}

/* ── 14. UBICACIÓN ───────────────────────────────────────── */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.ubicacion-text .section-title { text-align: left; }
.ubicacion-text .eyebrow { text-align: left; }
.ubicacion-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.address-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--text-mid);
}
.address-block svg { flex-shrink: 0; margin-top: 2px; color: var(--oro); }
.address-block address {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.ubicacion-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 2px;
  display: block;
}

/* ── 15. RESERVA FORM ────────────────────────────────────── */
.reserva-wrap { max-width: 760px; margin: 0 auto; }
.reserva-form { margin-top: 2.5rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro-claro);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(184,145,47,0.28);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--hueso);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--oro);
  background: rgba(255,255,255,0.1);
}
.form-group input::placeholder { color: rgba(252,249,242,0.35); }
.form-group select option { background: var(--bosque); color: var(--hueso); }
/* Date input coloring hack */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(0.5);
  cursor: pointer;
}

/* ── 16. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--pantera);
  border-top: 1px solid var(--oro-line);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { color: var(--hueso); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light-mid);
  margin-top: 0.75rem;
}
.footer-location {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro-claro);
  margin-top: 0.5rem;
}
.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.25rem;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-nav a {
  font-size: 0.84rem;
  color: var(--text-light-mid);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--hueso); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-light-mid);
  transition: color var(--ease);
}
.footer-contact-link:hover { color: var(--oro); }
.footer-address {
  font-size: 0.78rem;
  color: var(--text-light-mid);
  line-height: 1.65;
  margin-top: 0.5rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--oro-line);
  text-align: center;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(252,249,242,0.3);
  letter-spacing: 0.05em;
}

/* ── 17. LIGHTBOX ────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,17,14,0.95);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 1px;
}
.lightbox-caption {
  font-size: 0.75rem;
  color: var(--text-light-mid);
  letter-spacing: 0.06em;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none;
  border: 1px solid var(--oro-line-md);
  color: var(--hueso);
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
  border-radius: 1px;
}
.lightbox-close { top: 1.25rem; right: 1.25rem; font-size: 1.8rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--oro);
  color: var(--oro);
}

/* ── 18. BOTÓN FLOTANTE WA ───────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: var(--z-wa);
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}

/* ── 19. KEYFRAMES ───────────────────────────────────────── */
@keyframes slide-fade {
  0%     { opacity: 0; transform: scale(1.00); }
  5.56%  { opacity: 1; transform: scale(1.00); }
  33.33% { opacity: 1; transform: scale(1.05); }
  38.89% { opacity: 0; transform: scale(1.06); }
  100%   { opacity: 0; transform: scale(1.00); }
}
@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ── 20. MEDIA QUERIES ───────────────────────────────────── */

/* 480px — smartphones grandes */
@media (min-width: 480px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 640px — tablets pequeñas */
@media (min-width: 640px) {
  :root { --section-py: 6rem; --container-px: 2rem; }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-item { border-bottom: none !important; }
  .stat-item:nth-child(4) { border-right: none !important; }
  .stat-item:nth-child(2) { border-right: 1px solid var(--oro-line) !important; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--oro-line) !important; }
  .services-list { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — tablets */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none; }
  .cabanas-grid { grid-template-columns: repeat(2, 1fr); }
  .accessibility-block {
    grid-template-columns: 1fr 280px;
  }
  .accessibility-block__photo {
    display: block;
    overflow: hidden;
  }
  .accessibility-block__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bagheera-details {
    grid-template-columns: 1fr 1fr;
  }
  .ubicacion-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .ubicacion-map iframe { height: 420px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  :root {
    --section-py: 7.5rem;
    --container-px: 3rem;
  }
  .highlights-grid { gap: 3rem 4rem; }
  .highlight-icon { width: 52px; height: 52px; }
  .gallery-top { gap: 6px; }
  .gallery-strip { gap: 6px; }
  .gallery-featured .gallery-item { aspect-ratio: 16/10; }
  .nalu-main .gallery-item { max-height: 520px; }
  .ubicacion-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; gap: 4rem; }
  .form-grid { gap: 1.5rem; }
}

/* 1280px — large desktop */
@media (min-width: 1280px) {
  .gallery-featured .gallery-item { aspect-ratio: 4/2.8; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; }
  .hero-slide:not(:first-child) { display: none; }
  .reveal, .stagger-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .wa-float { animation: none; }
  .scroll-line { animation: none; }
}
