/* ================================================================
   Hotel Refugio del Lago — styles.css
   ================================================================ */


/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --forest:  #14301F;
  --pine:    #1B3D2C;
  --ink:     #0E1C13;
  --gold:    #B8933F;
  --gilded:  #D4AA5A;
  --parch:   #F2EDE4;
  --cream:   #EDE7DC;
  --muted:   #6b6460;

  --pad-x:        clamp(24px, 6vw, 80px);
  --pad-section:  100px;
  --radius:       3px;
  --transition-reveal: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
}


/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--parch);
  color: var(--forest);
  overflow-x: hidden;
}

/* Textura de grano sobre toda la página */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9997; opacity: .6;
}


/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; }

section          { padding: var(--pad-section) var(--pad-x); }
#about           { background: var(--forest); }
#rooms           { background: var(--parch); }
#amenities       { background: var(--cream); }
#reserva         { background: var(--parch); }


/* ================================================================
   TIPOGRAFÍA
   Sistema simple: eyebrow, títulos de sección, y clases
   semánticas directas para cada bloque de texto.
   ================================================================ */

/* Etiqueta decorativa dorada con línea lateral */
.eyebrow {
  font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; font-weight: 600;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.eyebrow::after {
  content: ''; display: block;
  width: 48px; height: 1px; background: var(--gold);
}

/* Variante izquierda — sección Sobre el Hotel (fondo oscuro) */
.eyebrow--left { color: rgba(184,147,63,.8); }
.eyebrow--left::after  { display: none; }
.eyebrow--left::before {
  content: ''; display: block;
  width: 48px; height: 1px; background: rgba(184,147,63,.7);
}

/* Variante centrada — Servicios y Reservas */
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.eyebrow--center::after  { width: 40px; }

/* Título grande de sección — Playfair, peso ligero */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.section-title--sm    { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-title--light { color: var(--parch); }
.section-title--dark  { color: var(--forest); }

/* Texto secundario bajo el título de sección */
.section-description {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
}

/* Párrafo principal en Sobre el Hotel — fondo oscuro */
.about-body-text {
  font-size: .86rem;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(242,237,228,.62);
  margin-bottom: 18px;
}

/* Párrafo secundario en Sobre el Hotel — tono más atenuado */
.about-body-text--dim {
  color: rgba(242,237,228,.42);
  margin-bottom: 0;
}


/* ─── BOTONES ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  border: none; border-radius: 2px;
  cursor: pointer; transition: background .3s;
}
.btn--primary { background: var(--forest); color: var(--parch); padding: 16px 48px; }
.btn--primary:hover { background: var(--pine); }


/* ─── CURSOR ─────────────────────────────────────────────────── */
#cursor {
  width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s, height .35s, opacity .35s, background .3s;
  mix-blend-mode: multiply;
}
#cursor.large { width: 52px; height: 52px; opacity: .22; background: var(--pine); }


/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 32px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .6s, padding .5s, backdrop-filter .6s;
}
#navbar.scrolled {
  background: rgba(14,28,19,.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 18px 56px;
  border-bottom: 1px solid rgba(184,147,63,.12);
}

.nav-logo-wrap { opacity: 0; visibility: hidden; transition: opacity .4s; }
#navbar.scrolled .nav-logo-wrap { opacity: 1; visibility: visible; }
.nav-logo-wrap img { height: 40px; width: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.4)); }

.nav-links { display: flex; gap: 44px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(242,237,228,.72);
  text-decoration: none;
  font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s;
}
.nav-links a:hover { color: var(--parch); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border: 1px solid rgba(184,147,63,.5) !important;
  color: var(--gilded) !important;
  padding: 8px 22px; border-radius: 2px;
  transition: background .3s, border-color .3s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--ink) !important; border-color: var(--gold) !important; }
.nav-cta::after { display: none !important; }

#hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
#hamburger span { display: block; width: 26px; height: 1.5px; background: rgba(242,237,228,.8); }


/* ─── NAVBAR MOBILE ──────────────────────────────────────────── */
#mobileNav {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(14,28,19,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 36px; opacity: 0; pointer-events: none;
  transition: opacity .5s;
}
#mobileNav.open { opacity: 1; pointer-events: all; }
#mobileNav a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 300;
  color: rgba(242,237,228,.8); text-decoration: none;
  letter-spacing: .06em; transition: color .3s;
}
#mobileNav a:hover, #mobileNav .mobile-link--cta { color: var(--gilded); }
#mobileClose {
  position: absolute; top: 28px; right: 32px;
  background: none; border: none;
  color: rgba(242,237,228,.6); font-size: 2rem; cursor: pointer;
}


/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100svh; min-height: 640px;
  overflow: hidden; display: flex; align-items: flex-end;
  padding: 0;
}
#heroBg {
  position: absolute; inset: -10%;
  background:
    linear-gradient(to bottom, rgba(14,28,19,.45) 0%, rgba(14,28,19,.15) 40%, rgba(14,28,19,.75) 100%),
    url("img/background.jpg") center 35% / cover;
  will-change: transform;
}
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 50%, rgba(14,28,19,.35) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 10; width: 100%;
  padding: 0 var(--pad-x) clamp(52px, 8vh, 88px);
}
.hero-heading { max-width: 700px; margin-bottom: 44px; }

/* Etiqueta pequeña encima del título principal */
.hero-eyebrow {
  font-size: .65rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gilded);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--gold); }

/* Título principal del hero */
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 300; font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 1.03; color: var(--parch); letter-spacing: -.01em;
}
.hero-h1 em { font-style: italic; color: var(--gilded); }

/* Subtítulo debajo del título — "Boutique Hotel · Naturaleza de lujo" */
.hero-tagline {
  font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,237,228,.5); font-weight: 400;
  margin-top: 20px;
}


/* ─── PANEL DE BÚSQUEDA (BOOKING) ────────────────────────────── */
.booking-panel {
  max-width: 720px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(184,147,63,.22); border-radius: 4px;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
}
.bp-field {
  padding: 18px 24px;
  border-right: 1px solid rgba(242,237,228,.1);
  display: flex; flex-direction: column; gap: 6px;
}
.bp-field:last-of-type { border-right: none; }
.bp-label { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.bp-input {
  background: transparent; border: none; outline: none;
  font-family: 'Raleway', sans-serif;
  font-size: .88rem; font-weight: 300; color: var(--parch); width: 100%;
}
.bp-input::placeholder { color: rgba(242,237,228,.38); }
.bp-input option { background: var(--pine); color: var(--parch); }
.bp-btn {
  background: var(--gold); color: var(--ink); border: none;
  padding: 18px 28px; font-family: 'Raleway', sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; cursor: pointer; transition: background .3s;
  border-radius: 0 4px 4px 0; white-space: nowrap;
}
.bp-btn:hover { background: var(--gilded); }

/* Indicador de scroll animado */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 44px;
}
.scroll-indicator span {
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(242,237,228,.4); font-weight: 500;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(242,237,228,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}


/* ─── SOBRE EL HOTEL ─────────────────────────────────────────── */
#about { position: relative; overflow: hidden; }
#about::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,147,63,.08), transparent 70%);
  pointer-events: none;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Imágenes apiladas con perspectiva */
.about-img-stack { position: relative; height: 560px; }
.about-img-main, .about-img-accent { position: absolute; border-radius: var(--radius); overflow: hidden; }
.about-img-main   { top: 0; left: 0; width: 78%; height: 75%; }
.about-img-accent { bottom: 0; right: 0; width: 56%; height: 52%; border: 4px solid var(--forest); }
.about-img-main img, .about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

/* Insignia dorada con años de hospitalidad */
.about-badge {
  position: absolute; bottom: 52%; left: 68%;
  transform: translate(-50%, 50%);
  background: var(--gold); padding: 18px 22px;
  text-align: center; z-index: 2;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 300; color: var(--ink); line-height: 1;
}
.about-badge-label {
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(14,28,19,.7); margin-top: 4px; font-weight: 600;
}

/* Columna de texto — fondo oscuro */
.about-text { padding: 24px 0; }
.about-text .section-title { margin-bottom: 28px; }
.about-text .section-title em { font-style: italic; color: var(--gilded); }

/* Estadísticas: suites · valoración · lago */
.about-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 44px; }
.about-stats div { display: flex; flex-direction: column; gap: 6px; }
.about-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--gilded); line-height: 1;
}
.about-stats span {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242,237,228,.4); font-weight: 500;
}


/* ─── TARJETAS DE HABITACIONES ───────────────────────────────── */
.rooms-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.room-card { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.room-card:first-child { grid-row: 1 / 3; }
.room-card img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px;
  transition: transform .9s cubic-bezier(.25,.46,.45,.94);
}
.room-card:first-child img { min-height: 540px; }
.room-card:hover img { transform: scale(1.05); }

.room-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,28,19,.82) 0%, rgba(14,28,19,.1) 60%, transparent 100%);
  transition: opacity .5s;
}
.room-card:hover .room-overlay { opacity: .9; }

.room-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }

/* Categoría de la habitación */
.room-type {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gilded); font-weight: 600; margin-bottom: 6px;
}

/* Nombre de la habitación */
.room-name {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: 1.3rem; color: var(--parch); line-height: 1.2; margin-bottom: 10px;
}
.room-card:first-child .room-name { font-size: 1.9rem; }

/* Precio + botón, visibles al hacer hover */
.room-detail {
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .4s;
}
.room-card:hover .room-detail { opacity: 1; transform: translateY(0); }

.room-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; color: var(--parch);
}
.room-price span {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem; font-weight: 300; color: rgba(242,237,228,.5);
}
.room-btn {
  border: 1px solid rgba(212,170,90,.5); color: var(--gilded); background: transparent;
  padding: 8px 16px; font-family: 'Raleway', sans-serif;
  font-size: .63rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: background .3s, color .3s; white-space: nowrap;
}
.room-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }


/* ─── SERVICIOS (AMENITIES) ──────────────────────────────────── */
.amenities-header { text-align: center; margin-bottom: 56px; }

.amenity-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(20,48,31,.12);
}
.amenity-item {
  padding: 40px 24px; text-align: center;
  border-right: 1px solid rgba(20,48,31,.12);
  transition: background .4s;
}
.amenity-item:last-child { border-right: none; }
.amenity-item:hover { background: var(--forest); }

.amenity-icon { width: 40px; height: 40px; margin: 0 auto 18px; color: var(--gold); transition: color .4s; }
.amenity-item:hover .amenity-icon { color: var(--gilded); }

/* Nombre del servicio */
.amenity-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--forest);
  margin-bottom: 8px; transition: color .4s;
}
.amenity-item:hover .amenity-name { color: var(--parch); }

/* Descripción breve del servicio */
.amenity-desc {
  font-size: .7rem; color: var(--muted); line-height: 1.7; transition: color .4s;
}
.amenity-item:hover .amenity-desc { color: rgba(242,237,228,.55); }


/* ─── SECCIÓN CTA / RESERVA ──────────────────────────────────── */
.cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.cta-inner .eyebrow { margin-bottom: 18px; }
.cta-inner .section-title { margin-bottom: 18px; }
.cta-inner .section-title em { font-style: italic; color: var(--gold); }
.cta-inner .section-description { max-width: 400px; margin: 0 auto 40px; }


/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--ink); border-top: 1px solid rgba(184,147,63,.15); }

.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px var(--pad-x) 48px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 24px; display: block; }
.footer-brand p  { font-size: .78rem; color: rgba(242,237,228,.35); line-height: 1.8; max-width: 240px; }
.footer-brand small {
  display: block; margin-top: 18px;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.footer-col h4 {
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-col a {
  font-size: .78rem; color: rgba(242,237,228,.38);
  text-decoration: none; letter-spacing: .06em; transition: color .3s;
}
.footer-col a:hover { color: rgba(242,237,228,.75); }
.footer-col a.gold { color: var(--gold); }

.footer-bottom {
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(242,237,228,.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .68rem; letter-spacing: .1em; color: rgba(242,237,228,.22); text-transform: uppercase; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242,237,228,.28); text-decoration: none; transition: color .3s;
}
.footer-socials a:hover { color: var(--gold); }

.footer-admin-link {
  opacity: .28;
  transition: opacity .3s;
}
.footer-admin-link:hover { opacity: .6; color: rgba(242,237,228,.38) !important; }


/* ─── MODAL DE RESERVA ───────────────────────────────────────── */
#reservaModal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .5s;
}
#reservaModal.open { opacity: 1; pointer-events: all; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,28,19,.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; z-index: 2;
  background: var(--parch); border-radius: 4px;
  width: 100%; max-width: 560px; max-height: 92svh; overflow-y: auto;
  transform: translateY(28px); transition: transform .55s cubic-bezier(.22,1,.36,1);
}
#reservaModal.open .modal-card { transform: translateY(0); }

.modal-header { background: var(--forest); padding: 36px 40px 28px; position: relative; }
.modal-eyebrow {
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.modal-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 300; color: var(--parch); line-height: 1.1;
}
.modal-title em { font-style: italic; color: var(--gilded); }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: rgba(242,237,228,.4);
  font-size: 1.4rem; cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: color .3s, background .3s;
}
.modal-close:hover { color: var(--parch); background: rgba(242,237,228,.08); }

.modal-body   { padding: 32px 40px 36px; }
.modal-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.modal-field  { display: flex; flex-direction: column; gap: 8px; }
.modal-label  { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.modal-input {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(20,48,31,.2); outline: none;
  padding: 10px 0; font-family: 'Raleway', sans-serif;
  font-size: .9rem; font-weight: 300; color: var(--forest); width: 100%;
  transition: border-color .3s;
}
.modal-input:focus        { border-color: var(--gold); }
.modal-input::placeholder { color: rgba(20,48,31,.3); }
.modal-input option       { background: var(--parch); color: var(--forest); }

.modal-divider { height: 1px; background: rgba(20,48,31,.1); margin: 24px 0; }

.modal-submit {
  width: 100%; background: var(--forest); color: var(--parch); border: none;
  padding: 18px; font-family: 'Raleway', sans-serif;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: background .3s; margin-top: 8px;
}
.modal-submit:hover { background: var(--pine); }

/* Aclaración debajo del botón confirmar */
.modal-note {
  text-align: center; margin-top: 16px;
  font-size: .68rem; color: rgba(20,48,31,.35); letter-spacing: .06em;
}


/* ─── ANIMACIONES DE ENTRADA ─────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: var(--transition-reveal);
}
.reveal       { transform: translateY(36px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .5s; }


/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #navbar          { padding: 26px 36px; }
  #navbar.scrolled { padding: 16px 36px; }
  .rooms-grid      { grid-template-columns: 1fr 1fr; }
  .room-card:first-child { grid-column: 1 / 3; grid-row: 1; }
  .amenity-grid    { grid-template-columns: repeat(3, 1fr); }
  .amenity-item:nth-child(3)           { border-right: none; }
  .amenity-item:nth-child(4),
  .amenity-item:nth-child(5)           { border-top: 1px solid rgba(20,48,31,.12); }
  .footer-top      { grid-template-columns: 1fr 1fr; }
  .about-grid      { gap: 48px; }
}

@media (max-width: 768px) {
  #navbar          { padding: 20px; }
  #navbar.scrolled { padding: 14px 20px; }
  .nav-links  { display: none; }
  #hamburger  { display: flex; }

  section { padding-left: 20px; padding-right: 20px; }

  .hero-h1 { font-size: clamp(2.6rem, 12vw, 4rem); }

  .booking-panel { grid-template-columns: 1fr; }
  .bp-field      { border-right: none; border-bottom: 1px solid rgba(242,237,228,.1); padding: 14px 18px; }
  .bp-field:last-of-type { border-bottom: none; }
  .bp-btn        { border-radius: 0 0 4px 4px; text-align: center; padding: 16px; }

  .rooms-grid            { grid-template-columns: 1fr; gap: 12px; }
  .room-card:first-child { grid-column: 1; grid-row: auto; }
  .room-card:first-child img { min-height: 340px; }
  .room-card img         { min-height: 220px; }
  .room-detail           { opacity: 1; transform: none; }

  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-img-stack { height: 360px; }

  .amenity-grid                { grid-template-columns: 1fr 1fr; }
  .amenity-item                { padding: 32px 16px; }
  .amenity-item:nth-child(2n)  { border-right: none; }
  .amenity-item:nth-child(n+3) { border-top: 1px solid rgba(20,48,31,.12); }
  .amenity-item:nth-child(3)   { border-right: 1px solid rgba(20,48,31,.12); }

  .footer-top    { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand img { height: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .modal-card   { max-width: 100%; max-height: 88svh; }
  .modal-header { padding: 28px 24px 22px; }
  .modal-title  { font-size: 1.5rem; }
  .modal-body   { padding: 24px; }
  .modal-row    { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-h1          { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .scroll-indicator { display: none; }
  section           { padding-top: 72px; padding-bottom: 72px; }
}