/* Tema compartido del sitio público (landing, reservar, miembro) — header,
   footer, botones "graffiti" y animación de aparición al hacer scroll.
   No lo usa el panel admin, así que no afecta su estilo. */

:root {
  --graffiti-white: #f4fbfb;
  --hero-cyan: #00d9ff;
  --hero-pill: #007791;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
section { scroll-margin-top: 76px; }
h1, h2, h3, h4 { font-family: "Poppins", "Manrope", sans-serif; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-mark {
  display: flex; flex-direction: column; line-height: 1;
  text-decoration: none;
}
.brand-mark .word {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
}
.brand-mark .word .accent { color: var(--hero-cyan); }
.brand-mark .sub {
  font-family: "Poppins", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: "Poppins", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; color: var(--hero-cyan); }
.nav-cta.btn-pill {
  border-radius: 999px;
  padding: 11px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--hero-pill);
  color: #fff;
}
.nav-cta.btn-pill:hover { filter: brightness(1.12); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; width: 40px; height: 40px; color: var(--text);
  font-size: 1.1rem; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none !important; }
  .menu-toggle { display: block; }
}
.mobile-menu {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

/* ── Botones "graffiti" (acento audaz, esquinas rectas) ──── */
.btn-graffiti {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-graffiti.solid { background: var(--hero-cyan); color: #000; }
.btn-graffiti.solid:hover { filter: brightness(1.1); }
.btn-graffiti.outline {
  background: transparent; color: var(--hero-cyan);
  border: 1.5px solid var(--hero-cyan);
}
.btn-graffiti.outline:hover { background: rgba(0,217,255,0.08); }
.btn-graffiti.text-link {
  background: transparent; color: #fff;
  padding: 16px 6px;
}
.btn-graffiti.text-link:hover { color: var(--hero-cyan); }

/* ── Banda "page-hero": versión chica del hero de la landing,
   para el título de página de secciones internas (reservar, etc.) ──── */
.page-hero {
  background: #000;
  border-bottom: 1px solid var(--accent-soft);
  padding: 32px 0 36px;
}
.page-hero .eyebrow { color: var(--hero-cyan); }
.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.05;
  margin: 6px 0 10px;
}
.page-hero p { color: var(--text-muted); max-width: 520px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding: 36px 0; margin-top: 48px; }
.site-footer::before {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 170px; height: 58px;
  background-image: url("/assets/brand/footer-ambient.jpg");
  background-size: cover;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, #000 25%, transparent 70%);
  mask-image: radial-gradient(circle at 100% 100%, #000 0%, #000 25%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 760px) { .site-footer::before { display: none; } }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.86rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 24px; color: var(--text-muted); font-size: 0.8rem; }

/* ── Aparición al hacer scroll ────────────────────────────
   Elementos con class="reveal" empiezan invisibles/corridos y aparecen
   suavemente cuando entran en pantalla (ver observer en app.js). Si JS no
   corre por algún motivo, igual quedan visibles (no dependen de JS para
   mostrarse, sólo para animarse). */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
