:root {
  --navy:      #0c1a28;
  --gold:      #b8975a;
  --gold-2:    #d4b07a;
  --cream:     #faf8f5;
  --white:     #ffffff;
  --gray:      #e8e4de;
  --text:      #1a1a1a;
  /* #7a7065 daba 4.30:1 sobre las fichas de comodidades y 4.25:1 sobre las
     pestañas: por debajo del 4.5:1 que pide WCAG AA para texto normal.
     #6b6157 sube esos casos a 5.37 y 5.31 sin cambiar el tono. */
  --muted:     #6b6157;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  /* Sombra "flotante": tres capas y con extensión negativa, para que se lea
     como distancia al fondo y no como un borde oscuro alrededor. */
  --flotante:
    0 2px 6px rgba(12,26,40,.07),
    0 14px 28px -8px rgba(12,26,40,.16),
    0 34px 64px -16px rgba(12,26,40,.30);
  --flotante-alto:
    0 4px 10px rgba(12,26,40,.08),
    0 20px 36px -8px rgba(12,26,40,.18),
    0 46px 80px -16px rgba(12,26,40,.34);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }

/* ─── SCROLL ANIMATIONS ───
   La curva arranca rápido y frena largo, en vez del 'ease' simétrico: se lee
   como que la pieza se acomoda, no como que se desliza. El retraso sale de
   --i, que se pone por elemento cuando hay hermanos que entran juntos; sin
   --i vale 0 y el elemento entra solo, como antes. */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* El sitio anima al entrar en pantalla. Con movimiento reducido, las piezas
   simplemente están ahí. Antes esto no estaba cubierto. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  overflow: visible;
  /* Sin backdrop-filter a propósito. El header es sticky, así que el blur se
     recalculaba en cada frame de scroll sobre un video en reproducción, y
     sobre un fondo 97% opaco no se llegaba a ver. Era costo puro. */
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(12,26,40,0.09); }
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1rem; height: 68px;
}
.brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.3rem; letter-spacing: 0.06em;
  text-decoration: none; color: var(--navy);
}
.brand span { color: var(--gold); }
.nav { display: flex; }
.nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 6px;
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.nav-checkin {
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 0.5rem 1.1rem !important;
  margin-left: 0.6rem;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-checkin:hover {
  background: var(--gold);
  color: var(--white) !important;
}
.menu-btn {
  display: none; border: 0; background: transparent;
  font-size: 1.3rem; cursor: pointer; color: var(--navy);
  position: relative; z-index: 60;
}

/* ─── HERO ─── */
.hero {
  position: relative; height: 100vh;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  /* El zoom cierra el encuadre para dejar fuera los edificios vecinos y el que
     asoma detrás del hotel. El translateY sube la imagen dentro de ese
     recorte: come cielo por arriba y descubre agua por abajo.
     Los números no son libres: el translate se aplica antes que el scale, así
     que el desplazamiento real es 1.28 x 10% = 12.8%, y el zoom deja 14% de
     sobra por borde. Quedan 1.2% de margen antes de que aparezca borde negro.
     No subirlo más: se probó 1.40 y la imagen se ablanda, porque el mp4 es de
     1920x900 y ampliarlo pierde nitidez. Si hace falta otro encuadre, recortar
     de nuevo desde DJI_0046.MP4 (tramo 1.5s-16.5s, zona x 685-3565, y
     267-1617), no desde este archivo. */
  transform: scale(1.28) translateY(-5%);
}
.overlay {
  position: absolute; inset: 0;
  /* Por encima del video que se inyecta en celular, que va detrás. */
  z-index: 1;
  background:
    /* Capa de bordes: oscurece los extremos izquierdo y derecho para tapar los
       edificios vecinos. Se abre al 16% y no vuelve hasta el 84%, así que el
       hotel, que está al centro, no se toca. */
    linear-gradient(to right,
      rgba(5,10,20,1) 0%,
      rgba(5,10,20,0.62) 7%,
      transparent 18%,
      transparent 82%,
      rgba(5,10,20,0.62) 93%,
      rgba(5,10,20,1) 100%),
    /* Capa original: da contraste al texto, que va sobre la izquierda. */
    linear-gradient(to right, rgba(5,10,20,1) 0%, rgba(5,10,20,0.7) 25%, transparent 45%, transparent 65%, rgba(5,10,20,0.5) 82%, rgba(5,10,20,0.9) 100%),
    linear-gradient(to bottom, rgba(8,15,26,0.1) 0%, rgba(8,15,26,0.65) 100%);
}
/* Video del hero en celular. No está en el HTML: lo inyecta script.js recién
   después de que la página cargó, y sólo si corresponde. Mismo encuadre y mismo
   instante que la foto de fondo, así el pasaje de una a otro no tiene salto. */
.hero-mobile-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  z-index: 0;
}
.hero-mobile-video.visible { opacity: 1; }

@media (min-width: 771px) {
  /* Si se agranda la ventana, manda el video de escritorio. */
  .hero-mobile-video { display: none; }
}

.hero-content {
  position: relative; z-index: 1;
  height: 100%; display: flex;
  flex-direction: column; justify-content: flex-end;
  padding-bottom: 4rem; gap: 1.5rem;
  max-width: 680px;
  /* Se transforma y se desvanece con el scroll: conviene en su propia capa. */
  will-change: transform, opacity;
}
.eyebrow {
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2); font-family: var(--sans);
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05; letter-spacing: 0.01em;
  color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold-2); }

/* Entrada escalonada: el resto del sitio revela al scrollear, pero el
   primer cuadro aparecía pintado de una. Sube cada pieza con 100 ms de
   diferencia, en el mismo orden en que se leen. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * {
  animation: heroRise .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-content .eyebrow     { animation-delay: .15s; }
.hero-content h1           { animation-delay: .25s; }
.hero-content .booking-bar { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
}

/* ─── BOOKING BAR ─── */
.booking-bar {
  display: flex; flex-wrap: wrap;
  /* El blur acá SÍ se ve: ese 5% que se transparenta, difuminado, es lo que
     da el vidrio esmerilado sobre el video. A diferencia del header, esta
     barra no es sticky, así que no se recalcula en cada frame de scroll:
     sólo repinta mientras el video corre, y sale de pantalla enseguida. */
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* 680 es lo que permite .hero-content. Con 620 cada campo quedaba con 94px
     de contenido y "2 personas" más la flecha del select ocupan unos 90:
     entraba por 4 píxeles y en algunos navegadores se cortaba. */
  max-width: 680px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.booking-field {
  display: flex; flex-direction: column;
  padding: 0.9rem 0.85rem; flex: 1; min-width: 110px;
  /* Sin esto el contenido impone un ancho mínimo y el select se sale. */
  overflow: hidden;
  border-right: 1px solid var(--gray);
}
.booking-field:last-of-type { border-right: none; }
.booking-field label {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.3rem;
}
/* Aclaración dentro del label: los menores de 2 años no se cuentan como personas.
   El tamaño va en rem y no en em: el label mide 0.62rem, así que un em acá se
   multiplica por ese valor y la aclaración terminaba en 8px, ilegible. Tampoco
   lleva opacity — var(--muted) ya es gris, y bajarle la opacidad encima la
   desteñía contra el vidrio esmerilado de la barra. Lo que la separa del label
   es la minúscula, no el achicarla. */
.booking-field label .field-note {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--muted);
}
/* En escritorio no entra al lado: la barra reparte 680px entre cuatro campos y
   "PERSONAS (DESDE 2 AÑOS)" partía la frase por el medio. Va en renglón propio. */
@media (min-width: 771px) {
  .booking-field label .field-note {
    display: block;
    margin-top: 0.2rem;
  }
}
.booking-field input,
.booking-field select {
  /* Sin width el select se dimensiona por contenido y el contenedor lo recorta
     a la mitad de una palabra: se leía "2 person". El min-width:0 le permite
     achicarse dentro del flex en vez de desbordar. */
  width: 100%; min-width: 0;
  border: none; background: transparent;
  font-family: var(--sans); font-size: 0.88rem;
  color: var(--navy); font-weight: 500;
  cursor: pointer; outline: none;
}
.btn-booking {
  background: var(--gold); color: var(--white);
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; border: none;
  cursor: pointer; padding: 0 1.15rem;
  white-space: nowrap; align-self: stretch;
  /* Va pegado adentro de la barra: sólo redondea el lado que da al borde. */
  border-radius: 0 10px 10px 0;
  transition: background var(--transition);
}
.btn-booking:hover { background: var(--gold-2); }

/* ─── MOSAICO ─── */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 340px 340px;
  /* Sale del borde a borde y se mete en el ancho del resto del sitio. Así la
     separación entre fotos deja de ser una línea entre imágenes y pasa a ser
     el margen de la sección: el mismo blanco, pero ya sin corte que explicar.
     Borde a borde ninguna junta funcionaba —blanca gritaba, sin junta las
     fotos chocaban. */
  gap: 12px;
  width: min(1160px, 92%);
  margin: 2.5rem auto;
}
.mosaic-tile { overflow: hidden; border-radius: 14px; }
.mosaic-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.mosaic-tile:hover img { transform: scale(1.06); }
.mosaic-main { grid-row: 1 / 3; }

@media (prefers-reduced-motion: reduce) {
  .mosaic-tile img { transition: none; }
  .mosaic-tile:hover img { transform: none; }
}

/* ─── SECTIONS ─── */
.section { padding: 6rem 0; }
.bg-light { background: var(--cream); }

/* Escala de letter-spacing para texto en mayúsculas. Sólo dos valores:
     0.22em  rótulos que anuncian una sección (.eyebrow, .label, .section-head span)
     0.14em  todo el resto: botones, navegación, labels de formulario,
             subtítulos de tarjeta, firmas de testimonio
   Antes había ocho valores distintos para el mismo rol visual. */
.label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.label.light { color: rgba(255,255,255,0.5); }
.section-head {
  text-align: center; max-width: 560px;
  margin: 0 auto 3.5rem;
}
.section-head span {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy); margin: 0.8rem 0 0;
  line-height: 1.2; letter-spacing: 0.01em;
}

/* ─── TABS: pastillas ─── */
.tabs {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.tab {
  font-family: var(--sans); font-size: 0.86rem;
  font-weight: 500; letter-spacing: -0.008em;
  text-transform: none; cursor: pointer;
  padding: 0.62rem 1.25rem; border-radius: 8px;
  border: 0;
  background: #f1f0ed; color: var(--muted);
  transition: background var(--transition), color var(--transition),
              transform .38s cubic-bezier(.34,1.4,.64,1), box-shadow var(--transition);
}
.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12,26,40,.09);
  color: var(--navy);
}
/* la elegida es lo más fuerte de la fila */
.tab.active {
  background: var(--navy); color: var(--white);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(12,26,40,.24);
}
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* con 1 o 2 habitaciones la grilla estiraría la tarjeta a todo el ancho */
.cards-grid[data-count="1"],
.cards-grid[data-count="2"] { justify-content: start; }
.cards-grid[data-count="1"] { grid-template-columns: minmax(260px, 340px); }
.cards-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(260px, 340px)); }

/* ─── CARD SLIDER ─── */
.card-slider {
  position: relative; overflow: hidden;
  aspect-ratio: 3/2;
}
.card-slider .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity .4s ease, transform 1.05s cubic-bezier(.32,.72,0,1);
}
.card-slider .slide.active { opacity: 1; }
.card:hover .card-slider .slide.active { transform: scale(1.08); }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition), background var(--transition);
  z-index: 2; color: var(--navy);
}
.card:hover .slide-btn { opacity: 1; }
.slide-btn:focus-visible { opacity: 1; outline: 2px solid var(--gold); }
.slide-btn:hover { background: rgba(255,255,255,1); }
/* en pantalla táctil no hay hover: si no, nadie se entera de que hay más fotos */
@media (hover: none) {
  .slide-btn { opacity: 1; }
}
.slide-btn.prev { left: 0.6rem; }
.slide-btn.next { right: 0.6rem; }

/* contador de fotos, siempre visible */
.slide-count {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
  color: var(--navy);
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  padding: 0.28rem 0.6rem; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.slide-count i { font-style: normal; color: var(--muted); }

.card-sub {
  font-size: 0.78rem !important;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold) !important; font-weight: 500;
  margin-top: 0.32rem;
}

/* ─── CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.card {
  background: var(--white);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(12,26,40,.05), 0 10px 26px rgba(12,26,40,.06);
  transition: transform .5s cubic-bezier(.34,1.4,.64,1), box-shadow .5s cubic-bezier(.32,.72,0,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(12,26,40,.05), 0 22px 48px rgba(12,26,40,.14);
}
/* señal para quien llega por un link compartido (#hab/<slug>) */
.card.highlight {
  box-shadow: 0 0 0 2px var(--gold), 0 22px 48px rgba(12,26,40,.16);
}
.card-body {
  padding: 1.15rem 1.25rem 1.2rem; display: flex;
  flex-direction: column; gap: 0.62rem; flex: 1;
}
.card-body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.5rem; color: var(--navy);
  letter-spacing: 0.01em; line-height: 1.18;
}
.card-body p { color: var(--muted); font-size: 0.88rem; }

/* comodidades como fichas: salen del mismo desc separado por " · " */
.card-amen { display: flex; flex-wrap: wrap; gap: 0.32rem; }
.card-amen span {
  font-family: var(--sans); font-size: 0.705rem; font-weight: 500;
  color: var(--muted); background: #f3f1ee;
  padding: 0.24rem 0.55rem; border-radius: 6px; line-height: 1.45;
}
.price { color: var(--gold) !important; font-weight: 500 !important; }
.btn-outline {
  display: inline-block; margin-top: auto;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* ─── PANELES SERVICIOS ───
   Entran en el mismo ancho que el resto del sitio, con el radio y la sombra de
   las tarjetas. A todo lo ancho no se podían redondear: una esquina curva
   contra el borde del navegador deja un triángulo de fondo asomando y se lee
   como error, no como decisión. */
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  width: min(1160px, 92%);
  margin: 2.5rem auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--flotante);
  transition: transform .5s cubic-bezier(.16,1,.3,1),
              box-shadow .5s cubic-bezier(.16,1,.3,1);
}
.panel:hover {
  transform: translateY(-8px);
  box-shadow: var(--flotante-alto);
}
.panel-reverse { direction: rtl; }
.panel-reverse > * { direction: ltr; }
.panel img {
  height: 100%; object-fit: cover;
  will-change: transform;
}
/* El acercamiento repite las clases del reveal a propósito: .reveal-left.visible
   fija transform:none y con menos especificidad este hover no ganaría. */
.panel:hover .reveal-left.visible,
.panel:hover .reveal-right.visible { transform: scale(1.04); }

.panel-body {
  padding: 3.5rem 2.8rem;
  display: flex; flex-direction: column;
  justify-content: center; gap: 1rem;
  background: var(--cream);
}
.panel-body h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--navy); line-height: 1.15;
}
.panel-body p { color: var(--muted); font-size: 0.95rem; max-width: 380px; }

/* ─── ABOUT ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-grid h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--navy); margin: 0.8rem 0 1.2rem;
}
.about-grid p { color: var(--muted); font-size: 0.93rem; }
/* Mismo tratamiento que la lista de Contacto: tilde dorada y filete, en vez de
   las viñetas por defecto del navegador. El marcador va absoluto y no flex,
   porque el primer <li> lleva adentro el bloque de horarios y el link de
   Web Check-in. */
.about-grid ul {
  list-style: none;
  color: var(--muted); padding-left: 0;
  font-size: 0.9rem; line-height: 1.6;
}
.about-grid ul li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid rgba(184,151,90,0.22);
}
.about-grid ul li:last-child { border-bottom: none; }
.about-grid ul li::before {
  content: '';
  position: absolute; left: 3px; top: 1.1rem;
  width: 5px; height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
/* Flotante: la sombra va profunda y con radio grande, y se extiende menos que
   el elemento (spread negativo) para que se lea como distancia al fondo y no
   como un borde oscuro. Sobre el crema de la sección el efecto se nota. */
.about-grid img {
  object-fit: cover; aspect-ratio: 4/3;
  border-radius: 14px;
  box-shadow: var(--flotante);
  transition: transform .5s cubic-bezier(.16,1,.3,1),
              box-shadow .5s cubic-bezier(.16,1,.3,1);
}
/* Repite las clases del reveal por especificidad, igual que en los paneles:
   .reveal-right.visible fija transform:none y si no, este hover no gana. */
.about-grid img.reveal-right.visible:hover {
  transform: translateY(-8px);
  box-shadow: var(--flotante-alto);
}

@media (prefers-reduced-motion: reduce) {
  .about-grid img, .panel { transition: none; }
  .about-grid img.reveal-right.visible:hover,
  .panel:hover { transform: none; }
}

/* ─── TESTIMONIOS ─── */
/* Antes era una grilla con juntas de 1px sobre gris: la forma era la de una
   planilla, no la de una recomendación. Ahora usan la misma tarjeta que las
   habitaciones —mismo radio, misma sombra— para que el sitio hable un solo
   idioma. */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.testimonials-grid blockquote {
  background: var(--white);
  border-radius: 14px;
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: 0 1px 2px rgba(12,26,40,.05), 0 10px 26px rgba(12,26,40,.06);
  display: flex; flex-direction: column;
}
/* La comilla pasa a ser una marca arriba del texto. Antes iba detrás, a 5rem,
   y en columnas angostas se le encimaba. */
.testimonials-grid blockquote::before {
  content: '\201C';
  font-family: var(--serif); font-size: 2.8rem;
  line-height: 0.62; color: var(--gold); opacity: 0.5;
  margin-bottom: 0.5rem;
}
.testimonials-grid blockquote p {
  font-size: 0.93rem; color: var(--muted);
  line-height: 1.75;
}
.testimonials-grid cite {
  margin-top: auto; padding-top: 1.1rem;
  font-style: normal; color: var(--navy);
  font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ─── CONTACTO ─── */
.contact-section { background: var(--navy); color: var(--white); padding-bottom: 3rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-section h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--white); margin: 0.8rem 0 1rem;
}
.contact-section > .container > div > p {
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
}
.contact-info {
  list-style: none; padding: 0;
  margin: 2rem 0; display: flex; flex-direction: column; gap: 0;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--gold); margin-top: 0.15rem;
}
.contact-item > div {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.contact-label {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); opacity: 0.8;
}
.contact-item span:not(.contact-label) {
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
}
.contact-item a {
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold-2); }
.contact-form {
  /* El header es sticky y taparía el borde de arriba al saltar hasta acá desde
     el botón Consultar de una habitación. */
  scroll-margin-top: 88px;
  background: var(--white); padding: 2.5rem 2rem;
  display: grid; gap: 1rem;
  border-radius: 14px;
}
.contact-form label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%; border: none;
  border-bottom: 1px solid var(--gray);
  padding: 0.5rem 0; font-family: var(--sans);
  font-size: 0.9rem; color: var(--text);
  background: transparent;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form select {
  width: 100%; border: none;
  border-bottom: 1px solid var(--gray);
  padding: 0.5rem 0; font-family: var(--sans);
  font-size: 0.9rem; color: var(--text);
  background: transparent;
  transition: border-color var(--transition);
}
.contact-form select:focus { outline: none; border-bottom-color: var(--gold); }
.btn-primary {
  background: var(--gold); color: var(--white);
  border: none; padding: 0.9rem 2rem;
  font-family: var(--sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  width: 100%; margin-top: 0.5rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--gold-2); }
.form-note {
  min-height: 1.3em; font-size: 0.83rem;
  color: var(--gold); letter-spacing: 0.04em;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #07101a;
  /* 0.3 sobre este fondo daba 2.69:1, muy por debajo del mínimo. La dirección
     y el copyright son justamente lo que alguien va a buscar acá. */
  color: rgba(255,255,255,0.55);
  padding: 2rem 0; font-size: 0.82rem;
}
.footer-grid {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-grid h3 {
  font-family: var(--serif); font-weight: 400;
  color: rgba(255,255,255,0.6); margin-bottom: 0.25rem;
}
/* Iconos en el trazo del sitio, no en los colores de cada red: el azul de
   Facebook y el degradé de Instagram no entran en esta paleta. La forma
   alcanza para reconocerlas. */
.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(184,151,90,0.35);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition),
              background var(--transition);
}
.social-links a svg { width: 18px; height: 18px; }
/* Navy sobre dorado y no blanco: a 18px el ícono necesita el contraste. */
.social-links a:hover {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}
.social-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .panel, .panel-reverse { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
  .panel img { aspect-ratio: 16/9; }
  .panel-body { padding: 3rem 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mosaic { grid-template-rows: 260px 260px; }
}
/* El menú pasa a hamburguesa antes que el resto del diseño. Con cinco
   entradas —Habitaciones, Servicios, Ubicación, Contacto y Web Check-in— más
   la marca, hacen falta unos 800px de ventana para que entre cómodo. A 770,
   que es donde cambia todo lo demás, quedaba una franja de anchos con el menú
   apretado contra la marca. */
@media (max-width: 860px) {
  .header-grid { grid-template-columns: auto auto; }
  .nav {
    position: absolute; right: -200px; top: 68px;
    background: var(--white);
    width: 180px;
    flex-direction: column; gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: -4px 8px 20px rgba(12,26,40,0.15);
    border-radius: 0 0 0 8px;
    transition: right .3s cubic-bezier(.4,0,.2,1);
    z-index: 55;
  }
  .nav.open { right: 0; }
  .nav a { text-align: center; }
  .nav a { font-size: 0.85rem; padding: 0.8rem; }
  .nav-checkin { margin: 0.3rem 1rem 0; }
  .menu-btn { display: block; }
}

@media (max-width: 770px) {
  .section { padding: 4rem 0; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 260px 200px 200px; }
  .mosaic-main { grid-row: auto; }
  .hero {
    /* 100vh en iOS mide la pantalla SIN la barra de direcciones, así que el
       final del hero quedaba abajo del pliegue y cortaba el botón de reservar.
       svh mide el peor caso: con la barra visible. Los 68px son el header. */
    height: 90vh;
    height: calc(100svh - 68px);
  }
  /* Menos aire abajo: cada píxel cuenta para que el botón entre. */
  /* El texto va anclado al fondo del hero, así que todo el aire que se le
     saque abajo lo baja en pantalla. 1rem es lo mínimo antes de que quede
     pegado al borde. */
  .hero-content { padding-bottom: 1rem; gap: 1rem; }

  /* Sombra propia de celular. La de escritorio arranca casi negra por la
     izquierda para dar contraste al texto, y en una pantalla angosta eso cae
     justo encima del hotel. Acá son dos capas: una lateral que oscurece los
     bordes para tapar los hoteles vecinos, abierta entre el 20% y el 80% —el
     Atlántico ocupa del 24% al 78% de la pantalla— y una vertical que sólo
     oscurece abajo, donde va el texto. */
  .overlay {
    background:
      linear-gradient(to right,
        rgba(8,15,26,0.88) 0%,
        rgba(8,15,26,0.45) 9%,
        transparent 20%,
        transparent 80%,
        rgba(8,15,26,0.45) 91%,
        rgba(8,15,26,0.88) 100%),
      linear-gradient(to bottom,
        transparent 0%,
        transparent 38%,
        rgba(8,15,26,0.42) 62%,
        rgba(8,15,26,0.88) 100%);
  }
}
@media (max-width: 770px) {
  .booking-bar { flex-direction: column; max-width: 100%; }
  .booking-field { border-right: none; border-bottom: 1px solid var(--gray); }
  /* Apilada, el botón queda abajo a lo ancho: el redondeo pasa al otro par. */
  .btn-booking { padding: 1rem; border-radius: 0 0 10px 10px; }
  .hero-img { object-position: 60% center; }
  video.hero-img { display: none !important; }
  .hero-img-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: url('images/general/hero-aerea-mobile.jpg') center center/cover no-repeat;
    z-index: 0;
    transition: opacity .9s ease;
  }
  /* Con el video andando la foto se apaga: si asoma por los bordes se ven dos
     encuadres superpuestos. */
  .hero-img-wrap.video-on::before { opacity: 0; }

  /* Dos capas. La lateral oscurece los bordes para tapar los hoteles vecinos,
     pero se abre antes del 22% y no vuelve hasta el 78%: el Atlántico ocupa
     del 23% al 77% de la pantalla, así que queda limpio.
     La vertical sólo oscurece abajo, donde va el texto. */
  .overlay {
    background:
      linear-gradient(to right,
        rgba(8,15,26,0.72) 0%,
        rgba(8,15,26,0.28) 10%,
        transparent 22%,
        transparent 78%,
        rgba(8,15,26,0.28) 90%,
        rgba(8,15,26,0.72) 100%),
      linear-gradient(to bottom,
        transparent 0%,
        transparent 40%,
        rgba(8,15,26,0.40) 62%,
        rgba(8,15,26,0.86) 100%);
  }
}

/* ── Más info / Preguntas frecuentes ────────────────────────── */
.faq-section {
  padding: 0 0 4rem;
  background: var(--white);
}

.faq-block { max-width: 820px; margin: 0 auto; }

/* El disparador: discreto, centrado, sin peso visual */
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}

.faq-toggle::-webkit-details-marker { display: none; }

.faq-toggle span {
  border-bottom: 1px solid var(--gray);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.faq-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}

.faq-toggle:hover { color: var(--gold); }
.faq-toggle:hover span { border-color: var(--gold); }

.faq-block[open] .faq-toggle { color: var(--gold); }
.faq-block[open] .faq-toggle::after { transform: translateY(1px) rotate(-135deg); }

.faq-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.faq-panel {
  padding-top: 1.25rem;
  animation: faqFade .4s ease both;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-list { border-top: 1px solid var(--gray); }

.faq-item { border-bottom: 1px solid var(--gray); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem .25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.faq-answer { padding: 0 .25rem 1.25rem; }

.faq-answer p {
  margin: 0;
  max-width: 68ch;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel { animation: none; }
}

@media (max-width: 640px) {
  .faq-item summary { font-size: 1.05rem; padding: .95rem .25rem; }
  .faq-answer p { font-size: .9rem; }
}

/* ── Link refinado (Web Check-in en "Nosotros") ─────────────── */
.about-times {
  display: block;
  color: var(--muted);
}

.link-refined {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .5rem;
  padding-bottom: 4px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
}

/* Filete que crece de izquierda a derecha */
.link-refined::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gray);
}

.link-refined::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

.link-refined:hover::after,
.link-refined:focus-visible::after { width: 100%; }

.link-refined .arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.link-refined:hover .arrow { transform: translateX(4px); }

.link-refined:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ── Acciones de las cards de habitación ────────────────────── */
.card-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid #efeeeb;
}

/* "Consultar" es la acción principal: pastilla llena, ancho completo.
   Sigue siendo un <a href="#contacto">, así que anda sin JS. */
.btn-card {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .58rem 1rem;
  border: 0; border-radius: 8px;
  background: var(--navy);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.2;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform .38s cubic-bezier(.34,1.4,.64,1);
}

.btn-card:hover { background: #1b2f43; color: var(--white); transform: translateY(-1px); }
.btn-card:active { transform: scale(.97); }

.btn-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* "Compartir" queda subordinado: círculo con el ícono solo */
.btn-card-share {
  flex: 0 0 auto;
  width: 36px; height: 36px; padding: 0;
  border-radius: 8px;
  background: #f3f1ee;
  color: var(--muted);
  font-size: 0;
}

.btn-card-share:hover { background: #e9e7e3; color: var(--navy); transform: translateY(-1px); }
.btn-card-share:active { transform: scale(.94); }

.btn-card-share svg {
  width: 15px; height: 15px;
  opacity: .85;
  transition: opacity var(--transition);
}

.btn-card-share:hover svg { opacity: 1; }

/* ── Menú de compartir ──────────────────────────────────────── */
.share-menu {
  position: absolute;
  z-index: 80;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  padding: .35rem 0;
  background: var(--white);
  border: 1px solid #eceae7;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(12, 26, 40, .16);
  animation: shareIn .28s cubic-bezier(.4,0,.2,1) both;
}

@keyframes shareIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.share-menu a,
.share-menu button {
  padding: .7rem 1.15rem;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-align: left;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.share-menu a:hover,
.share-menu button:hover {
  background: var(--cream);
  color: var(--gold);
}

.share-menu [data-action="close"] {
  margin-top: .2rem;
  border-top: 1px solid var(--gray);
  color: var(--muted);
  font-size: .65rem;
}

@media (prefers-reduced-motion: reduce) {
  .share-menu { animation: none; }
  .link-refined::after { transition: none; }
  .card, .card-slider .slide, .tab, .btn-card { transition: none; }
  .card:hover { transform: none; }
  .card:hover .card-slider .slide.active { transform: scale(1.02); }
}

@media (max-width: 400px) {
  .card-actions { gap: .45rem; }
  .btn-card { font-size: .76rem; }
  .tab { font-size: .8rem; padding: .58rem 1.05rem; }
}

/* ── Fix: el menú off-canvas (right:-200px) generaba scroll horizontal
   en mobile. Se usa `clip` en vez de `hidden` para no romper el
   position:sticky del header. ─────────────────────────────────── */
html, body { overflow-x: clip; }

/* ── Crédito Famerix en el pie ───────────────────────────────── */
.footer-credit {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  /* .55 de blanco sobre el #07101a del pie da contraste suficiente;
     el 0.3 que usa el resto del footer no alcanzaría para un enlace. */
  color: rgba(255,255,255,.55);
  font-size: .76rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit a:hover,
.footer-credit a:focus-visible { color: rgba(255,255,255,.9); }

.footer-credit svg { width: 17px; height: 17px; flex: 0 0 auto; }

.footer-credit b { font-weight: 600; letter-spacing: 0; }

/* La x en lavanda: sobre fondo oscuro el índigo de marca no contrasta. */
.footer-credit i { font-style: normal; color: #818CF8; }

.footer-credit a:focus-visible {
  outline: 2px solid #818CF8;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── BARRA CONDENSADA DE RESERVA + WHATSAPP FLOTANTE ────────── */

:root { --dock-h: 58px; }

/* Aparece cuando el hero sale de pantalla, así el buscador deja de perderse
   para siempre al primer scroll. Sólo mobile: en desktop la barra del hero
   se recupera con dos vueltas de rueda. */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  align-items: center; gap: 0.8rem;
  min-height: var(--dock-h);
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--gray);
  box-shadow: 0 -6px 24px rgba(12,26,40,0.14);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.dock.visible { transform: translateY(0); }

.dock-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dock-dates {
  font-size: 0.82rem; font-weight: 500; color: var(--navy);
  line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dock-sub {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.dock-cta {
  flex: 0 0 auto;
  background: var(--gold); color: var(--white);
  font-family: var(--sans); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; border-radius: 8px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
}
.dock-cta:hover { background: var(--gold-2); }
.dock-cta:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* En navy y no en el verde de la marca: el verde no entra en esta paleta, y
   el dorado ya lo usa el botón de reservar acá al lado. El ícono se reconoce
   por su forma, no por el color. Para pasarlo a dorado: var(--gold). */
.wa-fab {
  position: fixed; right: 1rem; bottom: 1rem;
  z-index: 65;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 16px rgba(12,26,40,0.3);
  transition: background var(--transition), transform var(--transition),
              bottom .4s cubic-bezier(.16,1,.3,1);
}
.wa-fab svg { width: 29px; height: 29px; }
.wa-fab:hover { background: var(--gold); transform: translateY(-2px); }
.wa-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 770px) {
  .dock { display: flex; }
  /* La barra es fixed y taparía el final del pie. Este colchón garantiza que
     scrolleando hasta abajo se llegue al último renglón. */
  .site-footer { padding-bottom: calc(2rem + var(--dock-h)); }
  /* Con la barra afuera, el botón sube para no quedar encima. */
  body.dock-open .wa-fab { bottom: calc(1rem + var(--dock-h)); }
}

@media (prefers-reduced-motion: reduce) {
  .dock, .wa-fab { transition: none; }
}


/* ── MAPA DE UBICACIÓN ───────────────────────────────────────
   El iframe hace de imagen y el enlace de arriba se lleva todos los toques:
   tocar el mapa abre Google Maps con la navegación, que es lo que se espera
   de un mapa en la página de un hotel. Como efecto lateral, el iframe no
   captura el scroll del dedo en celular. */
.map-wrap {
  position: relative;
  margin-top: 2.8rem;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
}
.map-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  /* Baja la saturación del mapa para que no compita con la paleta del sitio,
     sin llegar a gris: las calles y la costa tienen que seguir leyéndose. */
  filter: grayscale(0.4);
}
.map-link {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.3rem;
  text-decoration: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(12,26,40,0.5));
  transition: background var(--transition);
}
.map-link:hover { background: linear-gradient(to bottom, rgba(12,26,40,0.12), rgba(12,26,40,0.65)); }
.map-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.map-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--white);
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.3rem; border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: background var(--transition);
}
.map-link:hover .map-cta { background: var(--gold-2); }
.map-cta svg { width: 15px; height: 15px; flex: 0 0 auto; }

@media (max-width: 770px) {
  .map-wrap { height: 240px; margin-top: 2rem; }
}


/* Sección activa en el menú. El filete crece desde la izquierda hacia la
   sección donde está el visitante. Sólo aplica a los enlaces internos: el de
   Web Check-in apunta afuera y queda excluido por el selector. */
.nav a[href^="#"] { position: relative; }
.nav a[href^="#"]::after {
  content: '';
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.1rem;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.nav a.on { color: var(--navy); }
.nav a.on::after { transform: scaleX(1); }

@media (max-width: 770px) {
  /* En el desplegable los enlaces van centrados y el filete no se entiende.
     Queda sólo el cambio de color. */
  .nav a[href^="#"]::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav a[href^="#"]::after { transition: none; }
}

/* ── Sello de reCAPTCHA ──────────────────────────────────────
   Google lo inyecta fijo abajo a la derecha, donde ahora están el botón de
   WhatsApp y la barra de reserva: quedaba encimado y cortado. Permite
   ocultarlo con la condición de mostrar la leyenda en el formulario, que es
   lo que hace .form-legal. */
.grecaptcha-badge { visibility: hidden; }

.form-legal {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
}
.form-legal a {
  color: var(--muted);
  text-decoration: underline;
  transition: color var(--transition);
}
.form-legal a:hover { color: var(--gold); }
.form-legal a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── RESTO DE SERVICIOS ──────────────────────────────────────
   Antes eran viñetas dentro de "Sobre nosotros", donde nadie los buscaba.
   Van debajo de los paneles con foto: éstos son el titular, esto la letra
   chica que confirma que el hotel está completo. */
.serv-mas {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.serv-mas-lbl {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: -0.2rem;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.serv-mas li:not(.serv-mas-lbl) {
  background: var(--cream);
  border-radius: 14px;
  padding: 1.4rem 1rem;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.7rem;
  transition: transform .4s cubic-bezier(.16,1,.3,1),
              box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.serv-mas li:not(.serv-mas-lbl):hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 3px rgba(12,26,40,.06), 0 12px 28px rgba(12,26,40,.10);
}
.serv-mas svg { width: 26px; height: 26px; color: var(--gold); flex: 0 0 auto; }
.serv-mas span { font-size: 0.84rem; color: var(--navy); line-height: 1.35; }

/* El enlace dentro de una respuesta del FAQ */
.faq-answer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.faq-answer a:hover { color: var(--gold-2); }

@media (prefers-reduced-motion: reduce) {
  .serv-mas li:not(.serv-mas-lbl) { transition: none; }
  .serv-mas li:not(.serv-mas-lbl):hover { transform: none; }
}

/* ── AVISO DEL FORMULARIO ────────────────────────────────────
   Antes era una línea de texto chico en dorado, del mismo color que todo lo
   demás, y se borraba sola a los 6 segundos: la confirmación pasaba
   desapercibida. Ahora es un bloque con ícono, y el de éxito se queda. */
.form-note {
  min-height: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.form-note.enviando { color: var(--muted); }

.form-note.ok,
.form-note.mal {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1.05rem 1.1rem;
  border-radius: 10px;
  margin-top: 0.3rem;
  /* Más grande y con más peso que el resto del formulario: es la confirmación
     de que la consulta salió, y antes pasaba desapercibida. */
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}
.form-note svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* En la paleta del sitio, no en verde y rojo de sistema: el éxito va en el
   crema con el dorado, el error en un ladrillo apagado que convive con el
   navy. */
.form-note.ok {
  background: var(--cream);
  border: 1px solid rgba(184,151,90,.45);
  color: var(--navy);
}
.form-note.ok svg { color: var(--gold); }
.form-note.mal {
  background: #f7efec;
  border: 1px solid rgba(150,72,50,.35);
  color: #7d3a28;
}

/* ── PANEL DE CONFIRMACIÓN DEL FORMULARIO ────────────────────
   Cuando la consulta sale, el formulario se retira y queda esto. Los campos
   vacíos junto a un cartel de éxito confunden: parece que hay que llenarlos
   otra vez. */
.contact-form.enviado > *:not(.form-ok) { display: none; }

/* Sin esto el panel se ve siempre: display:flex le gana al [hidden] del
   navegador, que sólo declara display:none sin más peso. */
.form-ok[hidden] { display: none; }

.form-ok {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 2.6rem 1.5rem 2.2rem;
  animation: okEntra .55s cubic-bezier(.16,1,.3,1) both;
}
@keyframes okEntra {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* La tilde se dibuja: el círculo primero, el trazo después. */
.form-ok-tilde { width: 62px; height: 62px; color: var(--gold); }
.form-ok-tilde circle {
  stroke-dasharray: 145; stroke-dashoffset: 145;
  animation: dibuja .6s cubic-bezier(.4,0,.2,1) .15s forwards;
}
.form-ok-tilde path {
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: dibuja .35s cubic-bezier(.4,0,.2,1) .6s forwards;
}
@keyframes dibuja { to { stroke-dashoffset: 0; } }

.form-ok h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.75rem; color: var(--navy);
  margin: 1.1rem 0 0; line-height: 1.2;
}
.form-ok p {
  color: var(--muted); font-size: 0.9rem;
  max-width: 34ch; margin: 0.6rem 0 0;
}

.form-ok-wa {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.6rem;
  background: var(--navy); color: var(--white);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.8rem 1.4rem; border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition);
}
.form-ok-wa svg { width: 16px; height: 16px; }
.form-ok-wa:hover { background: var(--gold); }
.form-ok-wa:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.form-ok-otra {
  margin-top: 1.1rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem;
  color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.form-ok-otra:hover { color: var(--gold); }
.form-ok-otra:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  .form-ok { animation: none; }
  .form-ok-tilde circle, .form-ok-tilde path { animation: none; stroke-dashoffset: 0; }
}


/* ─── SELECTOR DE IDIOMA ─── */
/* Va como columna propia del header y no dentro del menú: un visitante que no
   lee español no debería tener que abrir la hamburguesa para encontrarlo. */
.header-grid { grid-template-columns: auto 1fr auto auto; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gray); border-radius: 999px;
  overflow: hidden; justify-self: end; margin-left: 0.5rem;
}
.lang-switch a {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 0.36rem 0.66rem; line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.lang-switch a:hover { color: var(--navy); background: var(--cream); }
.lang-switch a.on, .lang-switch a.on:hover { background: var(--gold); color: var(--white); }
@media (max-width: 860px) {
  .header-grid { grid-template-columns: auto 1fr auto auto; }
  .lang-switch { margin-right: 0.6rem; }
}


/* ─── VISOR AMPLIADO DE FOTOS DE HABITACIONES ─── */
/* Sólo las fichas de Habitaciones y sólo desktop. En mobile la foto ya ocupa
   casi todo el ancho y un panel encima estorba más de lo que ayuda.
   El cursor es la manito de siempre: un cursor propio no lo soporta Safari y,
   peor, ignora el ajuste de tamaño de puntero de quien lo agrandó por visión. */
@media (min-width: 771px) {
  #tab-panels .card-slider { cursor: pointer; }
}

.lb[hidden] { display: none !important; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
  background: rgba(12, 26, 40, 0.72);
  animation: lb-in .18s ease-out;
}
@keyframes lb-in { from { opacity: 0 } to { opacity: 1 } }

/* Más grande que la ficha pero no a pantalla completa: se planta en 900px y
   deja ver el fondo, así no se pierde el contexto de dónde estaba la persona. */
.lb-panel {
  position: relative;
  width: min(900px, 78vw);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--flotante-alto);
  overflow: hidden;
  animation: lb-pop .22s cubic-bezier(.32,.72,0,1);
}
@keyframes lb-pop { from { transform: scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }

/* contain y no cover: 22 de las 65 fotos son verticales (1800x2400) y un
   recuadro 3:2 recortado se comía más de media altura. La caja mantiene alto
   fijo para que el panel no salte de tamaño al pasar de una foto a otra. */
.lb-stage { position: relative; aspect-ratio: 3/2; background: var(--cream); }
.lb-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--transition);
}
.lb-nav:hover { background: #fff; }
.lb-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb-nav.prev { left: 1rem; }
.lb-nav.next { right: 1rem; }

.lb-close {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--transition);
}
.lb-close:hover { background: #fff; }
.lb-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.lb-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .95rem 1.3rem 1.05rem;
}
.lb-title { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.lb-sub {
  display: block; font-family: var(--sans); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-top: .15rem;
}
.lb-count { font-family: var(--sans); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.lb-count b { color: var(--navy); font-weight: 600; }

@media (max-width: 770px) { .lb { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .lb, .lb-panel { animation: none; } }

/* ─── LÍNEA HACIA /historia/ ───
   Va al pie del texto de "A pasos del agua". Discreta a propósito: la dueña no
   quería que la historia le quite lugar a habitaciones y reservas (14/11/2026). */
.link-historia {
  display: inline-block; margin-top: 1.1rem;
  font-size: 0.95rem; color: var(--muted); text-decoration: none;
}
.link-historia b { font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--gold); }
.link-historia:hover b, .link-historia:focus-visible b { color: var(--gold); }
