/* =====================================================================
   HOTEL RINCÓN MÁGICO · Hoja de estilos
   Paleta: piedra de la Peña (ocre-terracota), madera miel, marfil,
   oro antiguo del logo y azul crepúsculo del cielo del monolito.
   Tipografías: Fraunces (display) + Mulish (texto).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Superficies cálidas */
  --marfil:      #F6F1E7;   /* fondo principal, marfil cálido */
  --crema:       #FBF8F1;   /* tarjetas y superficies claras */
  --arena:       #EBE0CB;   /* superficie alterna, arena */
  --arena-osc:   #DFD0B4;

  /* Acentos */
  --terracota:   #AE5433;   /* terracota-ladrillo (piedra de la Peña) */
  --terracota-d: #8B3F24;
  --dorado:      #A8862C;   /* oro antiguo del logo */
  --dorado-cl:   #C9A85A;

  /* Profundidad / cielo del crepúsculo */
  --noche:       #21323C;   /* azul pizarra oscuro */
  --noche-cl:    #2E4552;

  /* Texto */
  --tinta:       #35271B;   /* café madera para texto */
  --tinta-suave: #6A5A4B;

  /* WhatsApp */
  --wa:          #1FA855;
  --wa-d:        #178a44;

  /* Tipografía */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Mulish", system-ui, -apple-system, sans-serif;

  /* Métrica */
  --maxw: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(53, 39, 27, .08);
  --shadow-md: 0 18px 50px rgba(53, 39, 27, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--body);
  color: var(--tinta);
  background: var(--marfil);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Tipografía base ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; color: var(--noche); }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--dorado-cl); }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  letter-spacing: -.01em;
}
.section-title--sm { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

.section-sub {
  color: var(--tinta-suave);
  max-width: 52ch;
  margin-top: .9rem;
  font-size: 1.05rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--terracota);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--terracota); color: #fff; box-shadow: 0 10px 26px rgba(174, 84, 51, .32); }
.btn--solid:hover { background: var(--terracota-d); }

.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn--outline { background: transparent; color: var(--terracota-d); border-color: var(--terracota); }
.btn--outline:hover { background: var(--terracota); color: #fff; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(31, 168, 85, .3); }
.btn--wa:hover { background: var(--wa-d); }

.ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--terracota-d);
  margin-top: 1.6rem;
}
.link-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* =====================================================================
   NAVEGACIÓN
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .55rem 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { width: 40px; height: 32px; flex: none; fill: var(--dorado-cl); transition: fill .4s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__sub {
  font-family: var(--body);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--dorado-cl);
  transition: color .4s var(--ease);
}
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  color: #fff;
  margin-top: .18rem;
  transition: color .4s var(--ease);
}

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-weight: 600;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  position: relative;
  padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--dorado-cl);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: var(--wa);
  padding: .6rem 1.15rem;
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.nav__cta:hover { background: var(--wa-d); transform: translateY(-2px); }

/* Nav en scroll (clase añadida por JS) */
.nav--solid {
  background: rgba(246, 241, 231, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(53, 39, 27, .1);
  padding: .35rem 0;
}
.nav--solid .brand__name { color: var(--noche); }
.nav--solid .brand__sub { color: var(--terracota); }
.nav--solid .brand__mark { fill: var(--terracota); }
.nav--solid .nav__links a { color: var(--tinta); }
.nav--solid .nav__links a:hover { color: var(--terracota-d); }

/* Toggle móvil */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }
.nav--solid .nav__toggle span { background: var(--noche); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem var(--gutter) 1.6rem;
  background: rgba(246, 241, 231, .98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--arena-osc);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { font-weight: 600; color: var(--tinta); padding: .7rem .2rem; border-bottom: 1px solid rgba(210, 195, 170, .5); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile-cta { color: var(--wa-d) !important; font-weight: 800 !important; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: grid;
  grid-template-columns: 1.05fr minmax(0, 400px);
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding: 8rem clamp(1.25rem, 6vw, 6rem) 3.5rem;
  overflow: hidden;
}

/* Fondo a lo ancho: copia desenfocada para rellenar + imagen COMPLETA sin recortes */
.hero__media { position: absolute; inset: 0; z-index: -2; background: #17242c; }
.hero__blur {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: blur(26px) brightness(.5) saturate(1.1);
  transform: scale(1.15);
}
.hero__full {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;          /* la imagen se ve completa, nunca recortada */
  object-position: center;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(18,26,31,.94) 0%, rgba(18,26,31,.6) 26%, rgba(18,26,31,.12) 46%, rgba(18,26,31,.12) 58%, rgba(18,26,31,.55) 100%),
    linear-gradient(to top, rgba(18,26,31,.55) 0%, rgba(18,26,31,0) 42%);
}

.hero__content { position: relative; z-index: 1; max-width: 620px; }
.hero__title {
  color: #fff;
  font-size: clamp(2.9rem, 7.5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -.015em;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--dorado-cl); }
.hero__lead {
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 46ch;
  margin-top: 1.4rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* Cotizador (tarjeta, como estaba antes) */
.cotizador {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
  background: rgba(251, 248, 241, .96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 90, .4);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}
.cotizador__head { margin-bottom: 1.3rem; }
.cotizador__eyebrow {
  font-weight: 700; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracota);
}
.cotizador__title { font-size: 1.5rem; margin-top: .35rem; }

.cotizador__form { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; color: var(--tinta-suave); letter-spacing: .02em; }
.field input, .field select {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--tinta);
  padding: .7rem .8rem;
  border: 1.5px solid var(--arena-osc);
  border-radius: 10px;
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px rgba(174, 84, 51, .15);
}
.cotizador__submit { grid-column: 1 / -1; width: 100%; margin-top: .3rem; }
.cotizador__note { grid-column: 1 / -1; text-align: center; font-size: .78rem; color: var(--tinta-suave); margin-top: .3rem; }

/* Placeholder visible para los campos de fecha (útil en celular, donde el
   navegador deja el campo en blanco). Se muestra solo en dispositivos táctiles
   y desaparece al elegir una fecha. */
.date-wrap { position: relative; }
.date-ph {
  display: none;
  position: absolute;
  top: 1.5px; left: 1.5px; right: 1.5px; bottom: 1.5px;
  align-items: center;
  gap: .5rem;
  padding: 0 .8rem;
  background: #fff;
  border-radius: 9px;
  color: var(--tinta-suave);
  font-size: .95rem;
  pointer-events: none;
}
.date-ph svg { width: 18px; height: 18px; fill: var(--terracota); flex: none; }
@media (hover: none) and (pointer: coarse) {
  .date-wrap:not(.is-filled) .date-ph { display: flex; }
}
.cotizador__error {
  grid-column: 1 / -1;
  background: rgba(174, 84, 51, .1);
  color: var(--terracota-d);
  border-radius: 8px;
  padding: .55rem .75rem;
  font-size: .82rem;
  font-weight: 600;
}

/* =====================================================================
   EXPERIENCIA
   ===================================================================== */
.experiencia { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.experiencia__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.experiencia__text p { color: var(--tinta-suave); margin-top: 1.1rem; max-width: 46ch; }
.experiencia__text strong { color: var(--tinta); font-weight: 700; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; margin-top: 1.8rem; }
.features li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.features__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); flex: none; box-shadow: 0 0 0 4px rgba(168, 134, 44, .16); }

.experiencia__media { position: relative; }
.experiencia__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.experiencia__media figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(33, 50, 60, .82);
  color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Divisor con silueta de la Peña */
.ridge { line-height: 0; background: var(--marfil); }
.ridge svg { width: 100%; height: clamp(60px, 9vw, 120px); display: block; }
.ridge path { fill: var(--arena); }

/* =====================================================================
   HABITACIONES
   ===================================================================== */
.habitaciones { background: var(--arena); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) clamp(4.5rem, 9vw, 7rem); }
.habitaciones .section-head, .rooms { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.room {
  background: var(--crema);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.room:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room--featured { outline: 2px solid var(--dorado); outline-offset: -2px; }

.room__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room:hover .room__media img { transform: scale(1.06); }
.room__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(33, 50, 60, .85);
  color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .4rem .8rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.room__tag--gold { background: var(--dorado); color: var(--noche); }

.room__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.room__name { font-size: 1.45rem; margin-bottom: .5rem; }
.room__desc { color: var(--tinta-suave); font-size: .96rem; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 1.5rem; }
.chips li {
  font-size: .74rem; font-weight: 600;
  color: var(--terracota-d);
  background: rgba(174, 84, 51, .09);
  border: 1px solid rgba(174, 84, 51, .2);
  padding: .3rem .7rem; border-radius: 999px;
}
.room__cta { margin-top: auto; width: 100%; }

/* =====================================================================
   RESTAURANTE & EVENTOS
   ===================================================================== */
.rye { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); display: grid; gap: clamp(2rem, 4vw, 3rem); }
.rye__panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--crema);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rye__panel--reverse { grid-template-columns: .85fr 1.15fr; }
.rye__panel--reverse .rye__media { order: 2; }
.rye__panel--reverse .rye__text { order: 1; padding-left: clamp(1.5rem, 4vw, 3rem); }

.rye__media { height: 100%; }
.rye__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.rye__text { padding: clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) 0; }
.rye__panel .rye__text { padding-left: clamp(1.5rem, 4vw, 3rem); }
.rye__panel--reverse .rye__text { padding-right: clamp(1.5rem, 4vw, 3rem); }
.rye__text p { color: var(--tinta-suave); margin: 1rem 0 1.7rem; max-width: 42ch; }

/* =====================================================================
   GALERÍA
   ===================================================================== */
.galeria { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6.5rem); }
.grid-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.galeria__item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  padding: 0;
  border: none;
  background: var(--arena);
  box-shadow: var(--shadow-sm);
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galeria__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(33,50,60,.28), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.galeria__item:hover img { transform: scale(1.05); }
.galeria__item:hover::after { opacity: 1; }
.galeria__item:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }

/* =====================================================================
   UBICACIÓN & CONTACTO
   ===================================================================== */
.contacto { background: var(--noche); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.contacto__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contacto__info .eyebrow { color: var(--dorado-cl); }
.contacto__info .section-title { color: #fff; }
.contacto__lead { color: rgba(255,255,255,.8); margin-top: 1rem; max-width: 42ch; }

.contacto__list { margin: 2rem 0; display: grid; gap: 1.2rem; }
.contacto__list li { display: flex; align-items: flex-start; gap: 1rem; }
.contacto__ico {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  background: #384a53;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}
.contacto__ico svg { width: 22px; height: 22px; fill: #D9C7A4; }
.contacto__label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .1rem; }
.contacto__list a { font-weight: 600; color: #fff; transition: color .25s var(--ease); }
.contacto__list a:hover { color: var(--dorado-cl); }
.contacto__plain { color: rgba(255,255,255,.9); font-weight: 600; }

.contacto__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--noche-cl); }
.contacto__map iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(.9); }
.contacto__map-cta {
  display: block; text-align: center;
  padding: .95rem 1rem;
  background: var(--terracota);
  color: #fff; font-weight: 700; font-size: .9rem;
  transition: background .25s var(--ease);
}
.contacto__map-cta:hover { background: var(--terracota-d); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: #17242B; color: rgba(255,255,255,.75); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.brand__mark--footer { width: 46px; height: 37px; fill: var(--dorado-cl); margin-bottom: .8rem; }
.footer__name { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.footer__tag { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: .2rem; }

.footer__col-title { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dorado-cl); margin-bottom: 1rem; font-weight: 700; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a, .footer__contact a { color: rgba(255,255,255,.78); font-size: .92rem; transition: color .25s var(--ease); width: fit-content; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__plain { font-size: .85rem; color: rgba(255,255,255,.5); }

.footer__bottom {
  max-width: var(--maxw); margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* =====================================================================
   BOTÓN FLOTANTE WHATSAPP
   ===================================================================== */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 55;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(31, 168, 85, .45);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); background: var(--wa-d); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 1; }
.wa-float__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: pulse 2.4s ease-out infinite;
  z-index: 0;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .5; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(17, 24, 28, .94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { display: grid; justify-items: center; gap: 1rem; min-width: 0; }
.lightbox__stage img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox__stage figcaption { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; }

.lightbox__close {
  position: absolute; top: 1.1rem; right: 1.3rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: none; border-radius: 50%;
  color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

.lightbox__nav {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.1);
  border: none; border-radius: 50%;
  color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease);
  flex: none;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }

.lightbox__counter {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; letter-spacing: .05em;
}

body.no-scroll { overflow: hidden; }

/* =====================================================================
   REVEAL (scroll)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .experiencia__grid { grid-template-columns: 1fr; }
  .experiencia__media { max-width: 520px; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .grid-galeria { grid-template-columns: repeat(3, 1fr); }
  .contacto__grid { grid-template-columns: 1fr; }
  .cotizador { justify-self: stretch; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.25rem 2.5rem;
    background: linear-gradient(160deg, #1b2a33 0%, #223139 55%, #33261f 100%);
  }
  .hero__media {
    position: relative;
    inset: auto;
    height: 54vh;
    min-height: 320px;
    z-index: 0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201, 168, 90, .3);
  }
  .hero__blur { filter: blur(24px) brightness(.62) saturate(1.1); }
  .hero__full { object-position: center; }
  .hero__scrim { display: none; }
  .cotizador { width: 100%; margin-top: 2rem; }

  .rye__panel, .rye__panel--reverse { grid-template-columns: 1fr; }
  .rye__panel--reverse .rye__media { order: 0; }
  .rye__panel--reverse .rye__text { order: 0; }
  .rye__media img { min-height: 240px; }
  .rye__text, .rye__panel .rye__text, .rye__panel--reverse .rye__text {
    padding: 1.8rem 1.8rem 2rem;
  }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .rooms { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .cotizador__form { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .grid-galeria { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .lightbox__nav--prev { left: .8rem; }
  .lightbox__nav--next { right: .8rem; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__media img { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
