/* ==========================================================================
   Header / Navegación
   ========================================================================== */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

#site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  border-bottom-color: rgba(192, 192, 192, 0.14);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.15rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--pure-white);
  white-space: nowrap;
}
.wordmark--small { font-size: 1rem; }
.wordmark__x, .wordmark__v {
  color: var(--chrome);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
}

.nav-link {
  font-family: var(--font-structural);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  padding-block: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.nav-link:hover { color: var(--pure-white); }
.nav-link--active {
  color: var(--pure-white);
  border-bottom-color: var(--crimson);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-book-now {
  padding: 0.7rem 1.4rem;
  font-size: 0.72rem;
}
@media (max-width: 480px) {
  .btn-book-now { display: none; }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(192, 192, 192, 0.25);
  border-radius: var(--radius-soft);
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 18px;
  margin-inline: auto;
  background: var(--pure-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.97);
  padding: 6.5rem 2rem 2rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-brand), transform 0.35s var(--ease-brand);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.mobile-menu .nav-link { font-size: 1.4rem; letter-spacing: 0.06em; }

/* ==========================================================================
   Footer
   ========================================================================== */

#site-footer {
  border-top: 1px solid rgba(192, 192, 192, 0.12);
  padding-top: 3.5rem;
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer__tagline {
  margin-top: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.site-footer__links, .site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: var(--font-structural);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.site-footer__social { flex-direction: row; gap: 1.25rem; }
.site-footer__links a:hover, .site-footer__social a:hover { color: var(--pure-white); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid rgba(192, 192, 192, 0.12);
  padding-block: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Utilidades de sección compartidas
   ========================================================================== */

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0;
  text-transform: uppercase;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* Page hero pequeño para páginas internas (no home) */
.page-intro {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}
.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  text-transform: uppercase;
  line-height: 0.98;
  margin: 0.75rem 0 0;
}
