/* ===== HERO — full-bleed ===== */
.hero {
  display: block;
  width: 100%;
  height: 100vh; /* fallback para navegadores sin soporte de dvh */
  height: 100dvh; /* descuenta la barra de direcciones móvil — evita el hueco en blanco */
  min-height: 480px;
}

.hero__frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: opacity 0.4s ease;
}

/* leve degradado inferior para que el texto de abajo siempre contraste,
   sin importar qué tan clara sea la foto */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

/* Título centrado sobre la foto */
.hero__title {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7.5rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

/* Bloques de texto inferiores */
.hero__meta {
  position: absolute;
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero__meta--left {
  left: 48px;
}

.hero__meta-link {
  transition: opacity 0.25s ease;
}

.hero__meta-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.hero__meta--right {
  right: 48px;
  text-align: right;
}

.hero__meta-label {
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 2px;
}


/* Sin JavaScript, los cuatro enlaces siguen disponibles como lista. */
.hero__nav { width: 260px; text-align: center; align-items: center; }
.hero__nav-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.hero__nav-item { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; color: #fff; font-size: 1.2rem; font-weight: 500; text-shadow: 0 2px 16px #0005; }
.hero__nav-item:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero__nav-hint { font-size: .7rem; font-weight: 400; letter-spacing: .04em; color: #ffffffe0; margin-top: 8px; }

/* Cilindro vertical: una cara frontal y dos caras que se alejan. */
.hero__nav-list.is-wheel { position: relative; height: 184px; perspective: 650px; touch-action: pan-x pinch-zoom; cursor: grab; user-select: none; }
.hero__nav-list.is-wheel li {
  position: absolute; top: calc(50% - 24px); left: 0; width: 100%; height: 48px;
  transform: rotateX(var(--wheel-angle)) translateZ(88px);
  transform-origin: center; backface-visibility: hidden;
  opacity: var(--wheel-opacity); pointer-events: var(--wheel-pointer);
  transition: none;
}
.hero__nav-list.is-wheel .hero__nav-item { min-height: 48px; font-size: 1.35rem; font-weight: 600; }

.hero__nav-list.is-dragging { cursor: grabbing; }
.hero__nav-list.is-dragging li { transition: none; }
.hero__nav-drag-proxy { position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero__nav-item:focus-visible { outline: 2px solid white; outline-offset: 2px; border-radius: 4px; }

@keyframes hero-photo-entry { from { transform: scale(1); } to { transform: scale(1.025); } }
.hero__image.is-entering { animation: hero-photo-entry 1.8s ease-out both; }
.hero__booking {
  position: absolute; top: 32px; right: 48px; z-index: 3; display: inline-flex;
  align-items: center; gap: 10px; min-height: 44px; color: white; font-size: .85rem;
  font-weight: 500; text-shadow: 0 1px 12px #0006;
}
.hero__booking:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .hero__meta--left { left: 24px; bottom: 28px; font-size: .8rem; }
  .hero__meta--right { right: 24px; bottom: 28px; }
  .hero__booking { top: 20px; right: 24px; }
}
@media (max-width: 600px) {
  .hero__title { top: 36%; font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero__nav { right: auto; left: 50%; transform: translateX(-50%); bottom: 76px; width: min(260px, calc(100% - 48px)); }
  .hero__meta--left { bottom: 18px; left: 20px; right: 20px; flex-direction: row; justify-content: space-between; font-size: .56rem; opacity: .78; letter-spacing: .01em; }
  .hero__booking { top: 16px; right: 20px; font-size: .78rem; }
}
@media (max-height: 650px) and (max-width: 600px) {
  .hero__title { top: 28%; }
  .hero__nav { bottom: 62px; }
}
@media (max-height: 550px) and (min-width: 601px) {
  .hero__title { left: 30%; font-size: clamp(3rem, 7vw, 5rem); }
  .hero__nav { bottom: 20px; }
  .hero__booking { top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__image.is-entering { animation: none; }
  .hero__nav-list.is-wheel li { transition: none; }
}
