:root {
  --night: #0d0a10;
  --night-soft: #1a1219;
  --card: rgba(32, 22, 28, 0.75);
  --text: #f6f1f1;
  --muted: #c9bcc0;
  --brand: #e6293a;
  --brand-soft: #f2aab0;
  --brand-deep: #cb0e0e;
  --whatsapp: #25d366;
  --line: rgba(242, 170, 176, 0.2);
  --shadow: 0 12px 40px rgba(8, 3, 5, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(203, 14, 14, 0.14), transparent 45%),
    radial-gradient(circle at 10% 20%, rgba(230, 41, 58, 0.06), transparent 40%),
    linear-gradient(175deg, var(--night-soft) 0%, var(--night) 55%, #080508 100%);
  min-height: 100vh;
  /* espacio para la barra fija inferior en móvil */
  padding-bottom: 4.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1001;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  padding: 1.1rem 5vw 5.5rem;
  display: grid;
  align-content: start;
  gap: clamp(2rem, 8vh, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* móvil primero: imagen liviana (mejora el LCP en celular) */
  background:
    linear-gradient(180deg, rgba(13, 10, 16, 0.72) 0%, rgba(13, 10, 16, 0.55) 45%, rgba(13, 10, 16, 0.88) 100%),
    url("img/hero-mobile.webp") center 35% / cover no-repeat;
  pointer-events: none;
  animation: heroZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

@media (min-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(13, 10, 16, 0.72) 0%, rgba(13, 10, 16, 0.55) 45%, rgba(13, 10, 16, 0.88) 100%),
      url("img/hero.webp") center 35% / cover no-repeat;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

/* entrada escalonada del hero */
.hero__content > * {
  animation: rise 0.7s ease both;
}

.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.24s; }
.hero__content > *:nth-child(4) { animation-delay: 0.36s; }
.hero__content > *:nth-child(5) { animation-delay: 0.48s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--brand);
}

.nav-call {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-soft);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
}

.hero__logo {
  display: block;
  width: min(480px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(230, 41, 58, 0.35)) drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5));
}

.hero__title-text {
  display: block;
  margin-top: 0.7rem;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  line-height: 1.25;
  color: var(--brand-soft);
  max-width: 22ch;
}

.hero__lead {
  margin: 1.2rem 0 1.6rem;
  font-size: clamp(1.02rem, 2.6vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1.4rem;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7fe0a0;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.open-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  60% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.rating__stars {
  color: var(--brand);
  letter-spacing: 0.1em;
}

.rating:hover {
  color: var(--text);
}

.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
}

.wave path {
  fill: rgba(203, 14, 14, 0.16);
}

/* ---------- Nav flotante al hacer scroll ---------- */
.scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 5vw;
  background: rgba(13, 10, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.35s ease;
}

.scroll-nav.visible {
  transform: translateY(0);
}

.scroll-nav__brand {
  margin: 0;
  display: flex;
  align-items: center;
}

.scroll-nav__brand img {
  height: 34px;
  width: auto;
  display: block;
}

.scroll-nav__actions {
  display: flex;
  gap: 0.6rem;
}

.scroll-nav__actions a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.scroll-nav__actions .scroll-nav__wa {
  background: var(--whatsapp);
  color: #06230f;
}

/* ---------- Nav de secciones (móvil) ---------- */
.anchor-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.55rem 4vw;
  background: rgba(13, 10, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.35s ease;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.anchor-nav::-webkit-scrollbar {
  display: none;
}

.anchor-nav.visible {
  transform: translateY(0);
}

.anchor-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.anchor-nav a.active {
  color: #fff;
  background: rgba(230, 41, 58, 0.16);
  border-color: var(--line);
}

@media (min-width: 760px) {
  .anchor-nav {
    display: none;
  }
}

/* ---------- Cinta de servicios ---------- */
.ribbon {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(32, 22, 28, 0.5);
  padding: 0.65rem 0;
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.ribbon__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  white-space: nowrap;
  color: var(--brand-soft);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ribbon__group i {
  font-style: normal;
  color: var(--brand-deep);
  font-size: 0.7rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #06230f;
  box-shadow: var(--shadow);
}

.btn--ghost {
  border: 1px solid rgba(244, 241, 233, 0.45);
  color: var(--text);
}

.btn--block {
  display: block;
  margin-top: 0.7rem;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- Secciones ---------- */
.section {
  width: min(1100px, 92vw);
  margin: 4.5rem auto;
  /* al saltar por ancla, deja aire sobre el título (no lo pega al borde) */
  scroll-margin-top: 1.5rem;
}

.section h2 {
  position: relative;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  margin: 0 0 0.4rem;
  padding-bottom: 0.6rem;
}

/* firma visual: onda de río bajo cada título */
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 88px;
  height: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 88 8"><path d="M0,4 C11,0 22,8 33,4 C44,0 55,8 66,4 C77,0 88,8 88,4" fill="none" stroke="%23e6293a" stroke-width="2"/></svg>') no-repeat;
}

.section-subtitle {
  color: var(--muted);
  margin: 0.3rem 0 1.4rem;
  max-width: 62ch;
}

/* ---------- Habitaciones ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.room-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.room-card > picture {
  display: block;
}

.room-card > picture > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.room-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.room-card__body h3 {
  margin: 0 0 0.3rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
}

.room-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

.btn--sm {
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
}

.note {
  color: var(--muted);
  margin-top: 1.3rem;
  max-width: 62ch;
}

/* ---------- Reserva express ---------- */
.booking {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
  max-width: 640px;
}

.booking__group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.booking__group legend {
  width: 100%;
  padding: 0 0 0.55rem;
  font-weight: 600;
  color: var(--brand-soft);
  font-size: 0.95rem;
}

.booking__group label {
  cursor: pointer;
}

.booking__group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking__group span {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking__group input:checked + span {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.booking__group input:focus-visible + span {
  outline: 2px solid var(--brand-soft);
  outline-offset: 2px;
}

.booking__send {
  font-size: 1.05rem;
  padding: 0.95rem 1.4rem;
}

.booking__hint {
  margin: -0.4rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Banda de reseñas ---------- */
.reviews {
  width: min(1100px, 92vw);
  margin: 4.5rem auto;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(203, 14, 14, 0.14), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.reviews__stars {
  margin: 0;
  color: var(--brand);
  font-size: 2rem;
  letter-spacing: 0.18em;
}

.reviews__title {
  margin: 0.4rem 0 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.reviews__sub {
  margin: 0.3rem 0 1.3rem;
  color: var(--muted);
}

.reviews__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* ---------- Barra de progreso ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  z-index: 1001;
}

/* ---------- Servicios ---------- */
.service-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.service-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.3rem;
}

.service-grid strong {
  font-size: 1.05rem;
}

.service-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Galería ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.media-grid img,
.room-card > picture > img {
  cursor: zoom-in;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.media-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.media-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(2, 6, 16, 0.5);
}

.room-card {
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.room-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}

/* ---------- Lightbox ---------- */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  background: rgba(4, 7, 15, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
}

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lightbox button {
  position: absolute;
  background: rgba(32, 22, 28, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox button:hover {
  border-color: var(--brand);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__prev {
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.video-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.video-grid video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0a070a;
}

/* ---------- Bueno saber ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.info-cards article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
}

.info-cards h3 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brand-soft);
}

.info-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Preguntas frecuentes ---------- */
.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
}

.faq-item a {
  color: var(--brand-soft);
}

/* ---------- Cifras ---------- */
.stats {
  width: min(1100px, 92vw);
  margin: 4.5rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1rem;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  color: var(--brand);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Ubicación ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.map-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

/* fondo del mapa (facade y mientras carga el iframe): evita hueco negro */
.map-frame--facade {
  width: 100%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--brand-soft);
  font-weight: 600;
  padding: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(203, 14, 14, 0.14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(242, 170, 176, 0.06) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #1a1219, #0d0a10);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-frame--facade:hover {
  color: #fff;
  border-color: var(--brand);
}

.map-frame__hint {
  pointer-events: none;
}

.map-frame iframe {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.location-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.location-info strong {
  color: var(--text);
}

.location-info a:not(.btn) {
  color: var(--brand-soft);
  text-decoration: none;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  text-decoration: none;
  color: var(--text);
  display: grid;
  gap: 0.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
}

.contact-card strong {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  color: var(--brand-soft);
}

.contact-card__hint {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 2.2rem 5vw 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer__nap {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.footer__nap a {
  color: var(--brand-soft);
  text-decoration: none;
}

.footer__seo {
  margin: 0 auto;
  max-width: 68ch;
  font-size: 0.9rem;
}

.footer__social {
  margin: 0.8rem 0 0;
}

.footer__social a {
  color: var(--brand-soft);
  text-decoration: none;
}

/* ---------- CTA flotantes ---------- */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: #06230f;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed;
  left: 1rem;
  bottom: 5.4rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(32, 22, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--brand);
  color: var(--text);
}

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(13, 10, 16, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}

.action-bar a {
  padding: 0.95rem 0.4rem;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.action-bar .action-bar__wa {
  color: var(--whatsapp);
}

/* ---------- Animaciones ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* hijos escalonados: el JS asigna transition-delay por índice */
.stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before,
  .hero__content > *,
  .ribbon__track,
  .open-badge i {
    animation: none;
  }

  .btn,
  .contact-card,
  .whatsapp-float,
  .media-grid img,
  .room-card {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .action-bar {
    display: none;
  }

  .whatsapp-float {
    bottom: 1.2rem;
    width: 62px;
    height: 62px;
  }

  .to-top {
    bottom: 1.2rem;
  }
}

@media (max-width: 759px) {
  /* en móvil la barra inferior ya cubre llamada/WhatsApp */
  .scroll-nav {
    display: none;
  }

  /* deja aire bajo la barra de secciones fija al saltar por ancla */
  .section {
    scroll-margin-top: 4rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 76vh;
  }

  .nav-call {
    font-size: 0.9rem;
  }
}
