/* =========================================================
   Cabañas Gil — Hoja de estilos
   Paleta anclada a los materiales del lugar:
   madera de pino, teja de barro, adobe y arena.
   ========================================================= */

:root {
  /* Color */
  --paper:    #F2EBDD;   /* arena / fondo base */
  --paper-2:  #FBF7EF;   /* lino / paneles y tarjetas */
  --ink:      #26211C;   /* corteza casi negra (texto) */
  --muted:    #7E7568;   /* taupe / texto secundario */
  --line:     #E1D7C6;   /* hairline / bordes */
  --clay:     #A6552E;   /* terracota / acento */
  --clay-2:   #8C4322;   /* terracota hover */
  --bark:     #201C18;   /* secciones profundas */
  --bark-2:   #2C2621;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ritmo / medidas */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ---------------- Layout base ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* ---------------- Tipografía de titulares ---------------- */
.display {
  font-family: var(--serif);
  font-weight: 380;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: var(--ink);
  text-wrap: balance;
}
.display--light { color: var(--paper); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

/* Eyebrow (etiqueta breve con punto de acento) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: #E7C4A9; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block;
}

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__intro { color: var(--muted); margin-top: 1rem; max-width: 58ch; }

/* ---------------- Botones ---------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  --btn-bg: var(--clay);
  --btn-fg: #FDF6EF;
  --btn-bd: var(--clay);
}
.btn--solid:hover { --btn-bg: var(--clay-2); --btn-bd: var(--clay-2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #FBF7EF;
  --btn-bd: rgba(251,247,239,.55);
}
.btn--ghost:hover { --btn-bg: rgba(251,247,239,.12); --btn-bd: #FBF7EF; }

.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--full { width: 100%; }

/* Enlace con flecha */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; letter-spacing: .03em; color: var(--clay);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--clay); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: var(--safe-top);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.nav[data-scrolled="true"] {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom-color: var(--line);
}

/* Marca */
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); transition: color .4s var(--ease); }
.nav[data-scrolled="true"] .brand { color: var(--ink); }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 460; font-size: 1.28rem; letter-spacing: .01em; }
.brand__sub  { font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: .28rem; }

/* Enlaces */
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__link {
  position: relative;
  font-size: .92rem; letter-spacing: .02em;
  color: var(--paper);
  transition: color .4s var(--ease), opacity .3s var(--ease);
  opacity: .92;
}
.nav[data-scrolled="true"] .nav__link { color: var(--ink); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { border-color: rgba(251,247,239,.6); color: var(--paper); }
.nav[data-scrolled="true"] .nav__cta {
  background: var(--clay); color: #FDF6EF; border-color: var(--clay);
}
.nav[data-scrolled="true"] .nav__cta:hover { background: var(--clay-2); border-color: var(--clay-2); }

/* Toggle móvil */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: none;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: flex-end;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 26px; background: var(--paper);
  transition: transform .35s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.nav[data-scrolled="true"] .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(2) { width: 20px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: #1a1713 url("../assets/img/hero-noche.jpg") center 60% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,13,.55) 0%, rgba(20,17,13,.05) 30%, rgba(20,17,13,.35) 68%, rgba(20,17,13,.85) 100%);
}
.hero__content {
  padding-bottom: clamp(4rem, 11vh, 8rem);
  padding-top: 120px;
  max-width: 940px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.7rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(251,247,239,.9);
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero__cue {
  position: absolute; left: 50%; bottom: calc(1.6rem + var(--safe-bottom));
  transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(251,247,239,.5);
  border-radius: 100px; z-index: 1;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__cue span {
  width: 3px; height: 8px; border-radius: 3px; background: rgba(251,247,239,.85);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0%{opacity:0; transform:translateY(-2px);} 40%{opacity:1;} 100%{opacity:0; transform:translateY(10px);} }

/* =========================================================
   BIENVENIDA / INTRO
   ========================================================= */
.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro__text .display { margin-bottom: 1.4rem; max-width: 18ch; }
.intro__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(38,33,28,.4);
}
.intro__figure img { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; }
.stats__num { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 400; color: var(--clay); line-height: 1; }
.stats__label { font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin-top: .5rem; }

/* =========================================================
   CABAÑAS
   ========================================================= */
.rooms { background: var(--paper-2); }
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.room {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.room:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(38,33,28,.45); }
.room__media { aspect-ratio: 4 / 3; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room:hover .room__media img { transform: scale(1.05); }
.room__body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: .85rem; flex: 1; }
.room__name { font-family: var(--serif); font-weight: 440; font-size: 1.55rem; line-height: 1.1; }
.room__desc { color: var(--muted); font-size: .96rem; }
.room__meta {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .1rem;
}
.room__meta li {
  font-size: .76rem; letter-spacing: .03em; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: .3rem .75rem;
  background: var(--paper-2);
}
.room .link-arrow { margin-top: auto; padding-top: .6rem; }

/* =========================================================
   DISPONIBILIDAD (BUSCADOR)
   ========================================================= */
.availability { background: var(--bark); color: var(--paper); }
.booking {
  max-width: 1000px; margin-inline: auto;
  background: var(--bark-2);
  border: 1px solid rgba(231,196,169,.14);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.booking__head { text-align: center; max-width: 60ch; margin-inline: auto; margin-bottom: 2.4rem; }
.booking__head .eyebrow { margin-inline: auto; }
.booking__intro { color: rgba(242,235,221,.72); margin-top: .9rem; }

.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 1rem;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(242,235,221,.72);
}
.field input[type="date"] {
  font-family: var(--sans); font-size: 1rem; color: var(--paper);
  background: rgba(242,235,221,.06);
  border: 1px solid rgba(242,235,221,.2);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  width: 100%;
  color-scheme: dark;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input[type="date"]:hover { border-color: rgba(242,235,221,.4); }
.field input[type="date"]:focus { outline: none; border-color: var(--clay); background: rgba(242,235,221,.1); }

/* Stepper de huéspedes */
.stepper {
  display: flex; align-items: center;
  background: rgba(242,235,221,.06);
  border: 1px solid rgba(242,235,221,.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.stepper__btn {
  width: 46px; height: 52px;
  background: transparent; border: none; color: var(--paper);
  font-size: 1.3rem; line-height: 1;
  transition: background .25s var(--ease);
}
.stepper__btn:hover { background: rgba(242,235,221,.12); }
.stepper input {
  width: 46px; height: 52px; text-align: center;
  background: transparent; border: none; color: var(--paper);
  font-family: var(--sans); font-size: 1.05rem;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.field--action { align-self: end; }
.field--action .btn { height: 52px; white-space: nowrap; }

.booking__note {
  text-align: center; margin-top: 1.6rem;
  font-size: .9rem; color: rgba(242,235,221,.62);
  transition: color .3s var(--ease);
}
.booking__note[data-state="error"] { color: #F0B49A; }
.booking__note[data-state="ok"] { color: #BFD9AE; }

/* =========================================================
   AMENIDADES
   ========================================================= */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.amenity {
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.amenity:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--clay) 40%, var(--line)); }
.amenity__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  color: var(--clay);
  background: color-mix(in srgb, var(--clay) 10%, transparent);
  margin-bottom: 1.3rem;
}
.amenity__icon svg { width: 26px; height: 26px; }
.amenity__title { font-family: var(--serif); font-weight: 460; font-size: 1.28rem; margin-bottom: .5rem; }
.amenity__text { color: var(--muted); font-size: .94rem; }

/* =========================================================
   GALERÍA
   ========================================================= */
.gallery { background: var(--paper-2); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: clamp(.75rem, 1.5vw, 1.1rem);
}
.gallery__item { overflow: hidden; border-radius: var(--radius-lg); }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.location__text .display { margin-bottom: 1.2rem; }
.location__list {
  display: flex; flex-direction: column; gap: 1.3rem;
  margin: 2.2rem 0;
}
.location__list li { display: flex; flex-direction: column; gap: .25rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.location__list li:last-child { border-bottom: none; padding-bottom: 0; }
.location__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.location__value { color: var(--ink); }
.location__value em { color: var(--muted); font-style: italic; font-size: .9rem; }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 30px 60px -34px rgba(38,33,28,.45);
}
.location__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.92) contrast(1.02); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  text-align: center;
  padding-block: clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}
.cta-band__media {
  position: absolute; inset: 0; z-index: -2;
  background: #1a1713 url("../assets/img/vista-aerea.jpg") center 40% / cover no-repeat;
}
.cta-band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,17,13,.72), rgba(20,17,13,.78));
}
.cta-band__content { max-width: 640px; }
.cta-band__content .eyebrow { margin-inline: auto; }
.cta-band__content .display { margin-bottom: 1rem; }
.cta-band__text { color: rgba(242,235,221,.82); margin-bottom: 2rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bark); color: var(--paper); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.brand--footer { color: var(--paper); margin-bottom: 1.2rem; }
.footer__tag { color: rgba(242,235,221,.6); font-size: .94rem; max-width: 34ch; }
.footer__title {
  font-family: var(--sans); font-weight: 400;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242,235,221,.5);
  margin-bottom: 1.2rem;
}
.footer__col { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.footer__col a { color: rgba(242,235,221,.85); font-size: .94rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--clay); }
.footer__muted { color: rgba(242,235,221,.5); font-size: .94rem; }

.socials { display: flex; gap: .7rem; margin-bottom: 1.2rem; }
.social {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(242,235,221,.22); color: var(--paper);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); }
.footer__reserve { margin-top: .2rem; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-block: 1.6rem calc(1.6rem + var(--safe-bottom));
  border-top: 1px solid rgba(242,235,221,.12);
  font-size: .84rem; color: rgba(242,235,221,.5);
}

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + var(--safe-bottom));
  z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay); color: #FDF6EF;
  box-shadow: 0 14px 30px -8px rgba(166,85,46,.6);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--clay-2); }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   REVEAL (animación sutil al hacer scroll)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__figure { aspect-ratio: 16 / 11; max-height: 460px; order: -1; }
  .location__grid { grid-template-columns: 1fr; }
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Menú móvil */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    padding: calc(90px + var(--safe-top)) var(--gutter) 2.5rem;
    box-shadow: 0 30px 60px -20px rgba(38,33,28,.35);
    border-bottom: 1px solid var(--line);
    transform: translateY(-105%);
    transition: transform .5s var(--ease);
    visibility: hidden;
  }
  .nav__links[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav__link { color: var(--ink); width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.4rem; width: 100%; background: var(--clay); color: #FDF6EF; border-color: var(--clay); padding: .95rem; }
  .nav[data-scrolled="true"] .nav__link { color: var(--ink); }

  /* Toggle activo -> X */
  .nav__toggle[aria-expanded="true"] span { background: var(--ink); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 26px; }

  /* Buscador en dos columnas */
  .booking__form { grid-template-columns: 1fr 1fr; }
  .field--action .btn { width: 100%; }

  /* Galería */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .rooms__grid { grid-template-columns: 1fr; }
  .amenities__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .booking__form { grid-template-columns: 1fr; }
  .booking { padding: 1.6rem 1.25rem; }
  .field--action .btn { height: 54px; }
  .hero__actions .btn { flex: 1; }
  .gallery__grid { grid-auto-rows: 150px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ACCESIBILIDAD: movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media { animation: none; transform: none; }
}
