/* ============================================================
   LUBRICAR · NOIR-TECH
   Negro puro + acento rojo neón. People-free.
   ============================================================ */

:root {
  --obsidian: #000000;
  --carbon: #0a0a0a;
  --steel: #1a1a1a;
  --steel-2: #232323;
  --bone: #f3f0ea;
  --mute: rgba(243, 240, 234, 0.7);
  --whisper: rgba(243, 240, 234, 0.45);
  --neon: #ff0000;
  --neon-soft: rgba(255, 0, 0, 0.55);
  --neon-glow: 0 0 24px rgba(255, 0, 0, 0.55), 0 0 64px rgba(255, 0, 0, 0.18);
  --wa-green: #25d366;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --shell: clamp(20px, 4vw, 56px);
  --max: 1320px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* anchor scroll respeta el nav fijo */
}
body {
  overflow-x: hidden;
  /* iOS: aire seguro abajo cuando hay home indicator */
  padding-bottom: env(safe-area-inset-bottom);
}

img, svg, video, iframe { display: block; max-width: 100%; }

::selection { background: var(--neon); color: var(--obsidian); }

a { color: inherit; text-decoration: none; }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 8vw, 96px);
  padding: 0 var(--shell);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 24px;
}
.section-kicker .rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--neon);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--bone);
}

.section-lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--mute);
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--shell);
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(0,0,0,0.85);
  border-bottom-color: var(--steel);
}

/* When mobile menu is open, neutralize backdrop-filter so the drawer's
   position:fixed maps to the viewport, not the nav's containing block. */
body.menu-open { overflow: hidden; }
body.menu-open .nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(0,0,0,0.97);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
}
.nav-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  /* mezclar fondo blanco del JPG con el negro del nav */
  mix-blend-mode: screen;
  filter: contrast(1.1) brightness(1.1);
  transition: filter 0.25s var(--ease);
}
.nav-mark:hover .nav-logo {
  filter: contrast(1.2) brightness(1.25) drop-shadow(0 0 12px rgba(255,0,0,0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--bone); }

.nav-links .nav-cta {
  color: var(--bone);
  border: 1px solid var(--steel-2);
  padding: 10px 14px;
  transition: all 0.2s var(--ease);
}
.nav-links .nav-cta:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--neon-glow);
}

/* status indicator (shared in nav, location, fab) */
.nav-status, .loc-status, .wa-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.is-online .status-dot {
  background: var(--neon);
  animation: pulse 1.8s var(--ease) infinite;
}
.is-online .status-label { color: var(--bone); }
.is-offline .status-label { color: var(--whisper); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--steel-2);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

/* Drawer móvil — desktop hidden por defecto */
.mobile-drawer { display: none; }
.nav-burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--bone);
  margin: 4px auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0 var(--shell) clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--obsidian);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.85) brightness(0.65);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.85), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 35%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0 0 32px;
}
.hero-eyebrow .rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--neon);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.5vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  max-width: 16ch;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero-title .word::after { content: " "; }
.hero-title .accent {
  color: var(--neon);
  text-shadow: 0 0 32px rgba(255,0,0,0.3);
}

.hero-sub {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--mute);
  margin: 0 0 48px;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: var(--shell);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--whisper);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--neon-soft), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px; /* WCAG touch target */
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.cta-primary {
  background: var(--obsidian);
  color: var(--bone);
  border-color: var(--neon);
  box-shadow: var(--neon-glow);
}
.cta-primary:hover {
  background: var(--neon);
  color: var(--obsidian);
  box-shadow: 0 0 36px rgba(255,0,0,0.85), 0 0 96px rgba(255,0,0,0.35);
  transform: translateY(-1px);
}
.cta-primary .cta-bracket { color: var(--neon); transition: color 0.25s var(--ease); }
.cta-primary:hover .cta-bracket { color: var(--obsidian); }

.cta-ghost {
  color: var(--mute);
  border-color: var(--steel-2);
}
.cta-ghost:hover { color: var(--bone); border-color: var(--bone); }
.cta-arrow { transition: transform 0.25s var(--ease); }
.cta-ghost:hover .cta-arrow { transform: translateX(4px); }

.cta-block { width: 100%; justify-content: center; }

/* ============================================================
   SERVICES · BENTO
   ============================================================ */
.services {
  padding: clamp(96px, 14vh, 160px) 0;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,0,0,0.04), transparent 50%),
    var(--obsidian);
}

.bento {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.cell-2 { grid-column: span 2; }

.bento-cell {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--steel);
  padding: clamp(28px, 4vw, 48px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  isolation: isolate;
}

.bento-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,0,0,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.bento-cell:hover {
  border-color: var(--neon);
  background: #0d0d0d;
  transform: translateY(-2px);
}
.bento-cell:hover::after { opacity: 1; }
.bento-cell:hover .cell-arrow { color: var(--neon); transform: translate(4px, -4px); }

.cell-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.cell-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--neon);
}
.cell-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--whisper);
  border: 1px solid var(--steel-2);
  padding: 4px 8px;
}

.cell-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--bone);
}

.cell-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  margin: 0 0 20px;
}

.cell-list {
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--steel);
}
.cell-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
  padding: 6px 0 6px 18px;
  position: relative;
}
.cell-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--neon);
}

.cell-icon {
  width: 28px;
  height: 28px;
  color: var(--neon);
  opacity: 0.55;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease);
}
.cell-icon svg { width: 100%; height: 100%; }
.bento-cell:hover .cell-icon { opacity: 1; }

.cell-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--whisper);
  transition: all 0.3s var(--ease);
}

/* ============================================================
   EXPLODED VIEW · STICKY SCROLL SCRUB
   Driver: alto suficiente para "scrubbear" el video.
   Sticky child: viewport completo, contiene video + pins + cue.
   ============================================================ */
.exploded {
  background: var(--obsidian);
  border-top: 1px solid var(--steel);
  position: relative;
}

.exploded-driver {
  height: 320vh; /* desktop: ~3 viewports de scrub */
  position: relative;
}

.exploded-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 96px var(--shell) 32px;
  gap: 24px;
  overflow: hidden;
}

.exploded-head {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.exploded-head .section-title { margin: 0; }
.exploded-head .section-kicker { margin: 0 0 16px; }

.exploded-stage {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  max-height: 64vh;
  border: 1px solid var(--steel);
  background: #050505;
  overflow: hidden;
  isolation: isolate;
}

.exploded-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.08) saturate(0.7) brightness(0.9);
  z-index: 1;
  background: #050505;
}
.exploded-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.7) brightness(0.9);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.exploded-poster.is-hidden { opacity: 0; }

.exploded-loader {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: rgba(255,0,0,0.18);
  z-index: 4;
  transition: opacity 0.3s var(--ease);
}
.exploded-loader .loader-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon-soft);
  transition: width 0.2s var(--ease);
}
.exploded-loader.is-done { opacity: 0; pointer-events: none; }

/* corner brackets — minimal, intencionales (NO frame counters / coords basura) */
.exploded-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.overlay-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--neon);
  opacity: 0.4;
}
.overlay-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.overlay-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.overlay-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.overlay-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.exploded-pins {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 3;
  pointer-events: none;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  opacity: 0;
}
.pin.is-revealed { opacity: 1; }

.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(255,0,0,0.15), 0 0 20px var(--neon-soft);
  position: relative;
  z-index: 2;
}
.pin-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--neon-soft);
  border-radius: 50%;
  animation: pinRing 2.4s var(--ease) infinite;
}
@keyframes pinRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.pin-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--steel-2);
  padding: 6px 10px;
}
.pin-label b {
  color: var(--neon);
  font-weight: 500;
  margin-right: 8px;
}
.pin-l .pin-label { left: 18px; border-left: 1px solid var(--neon); }
.pin-r .pin-label { right: 18px; border-right: 1px solid var(--neon); }

.exploded-cue {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--whisper);
  text-align: center;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: center;
}
.cue-rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--neon);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location {
  padding: clamp(96px, 14vh, 160px) 0;
  background: var(--obsidian);
  border-top: 1px solid var(--steel);
}

.location-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
}

.location-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--steel);
  overflow: hidden;
  background: #050505;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(1) hue-rotate(180deg) contrast(0.9) saturate(0.6) brightness(0.95);
}

.location-card {
  background: var(--carbon);
  border: 1px solid var(--steel);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.loc-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--whisper);
  margin: 0;
}

.loc-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}

.loc-status {
  padding: 10px 14px;
  border: 1px solid var(--steel-2);
  align-self: flex-start;
}

.loc-hours {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}
.loc-hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--steel);
  color: var(--mute);
}
.loc-hours tr:last-child td { border-bottom: none; }
.loc-hours td:last-child {
  text-align: right;
  color: var(--bone);
  letter-spacing: 0.08em;
}

.loc-fine {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 32px var(--shell);
  border-top: 1px solid var(--steel);
  background: var(--obsidian);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--whisper);
  text-transform: uppercase;
}

.footer-credit {
  color: var(--mute);
  transition: color 0.2s var(--ease);
}
.footer-credit:hover { color: var(--neon); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--steel);
  color: var(--whisper);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:not(.is-inactive):hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--neon-glow);
}
.footer-social-link.is-inactive {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================================
   FLOATING WHATSAPP FAB
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  min-height: 56px;
  background: var(--obsidian);
  border: 1px solid var(--neon);
  box-shadow: var(--neon-glow);
  transform: translateY(180%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wa-fab.is-visible { transform: translateY(0); opacity: 1; }
.wa-fab:hover {
  box-shadow: 0 0 36px rgba(255,0,0,0.85), 0 0 96px rgba(255,0,0,0.35);
  transform: translateY(-2px);
}

.wa-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--wa-green);
  color: #000;
  flex-shrink: 0;
}
.wa-icon svg { width: 20px; height: 20px; }

.wa-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
}

.wa-status {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wa-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: block; min-width: 48px; min-height: 48px; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav-status .status-label { display: none; }
  .nav-logo { height: 32px; }

  /* Drawer móvil — sibling de <header>, sin trampas de containing block */
  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    z-index: 99;
    padding: 88px var(--shell) calc(40px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .mobile-drawer.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
  }
  .drawer-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-width: 480px;
    margin: 0 auto;
  }
  .drawer-links a {
    font-family: var(--font-mono);
    font-size: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bone);
    padding: 20px 4px;
    min-height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--steel);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  }
  .mobile-drawer.is-open .drawer-links a {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-drawer.is-open .drawer-links a:nth-child(1) { transition-delay: 0.08s; }
  .mobile-drawer.is-open .drawer-links a:nth-child(2) { transition-delay: 0.14s; }
  .mobile-drawer.is-open .drawer-links a:nth-child(3) { transition-delay: 0.20s; }
  .mobile-drawer.is-open .drawer-links a:nth-child(4) { transition-delay: 0.26s; }
  .drawer-links .drawer-cta {
    border: 1px solid var(--neon);
    padding: 18px;
    margin-top: 24px;
    justify-content: center;
    color: var(--neon);
    border-bottom: 1px solid var(--neon);
  }

  .hero {
    padding-top: 88px; /* aire bajo el nav */
    padding-bottom: clamp(64px, 10vh, 96px);
  }
  .hero-title { font-size: clamp(40px, 9vw, 64px); }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell { min-height: 200px; padding: 28px 24px; }

  .location-grid { grid-template-columns: 1fr; }
  /* aire al final para que la FAB no tape el último CTA */
  .location { padding-bottom: clamp(120px, 18vh, 200px); }

  .pin-label { font-size: 9px; padding: 4px 6px; letter-spacing: 0.1em; }

  .hero-scroll { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

  /* Móvil: keep sticky scrub but with shorter driver and tighter padding. */
  .exploded-driver { height: 220vh; }
  .exploded-sticky {
    padding: 80px var(--shell) 24px;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
  }
  .exploded-stage {
    aspect-ratio: auto;
    max-height: 60vh;
    height: 60vh;
  }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .cta { justify-content: center; }
  .cell-list li { font-size: 10px; }
  .bento { grid-template-columns: 1fr; }
  .cell-2 { grid-column: span 1; }

  /* FAB compacta a solo ícono en pantallas pequeñas */
  .wa-fab { padding: 0; border-radius: 0; }
  .wa-fab .wa-icon { width: 52px; height: 52px; }
  .wa-fab .wa-meta { display: none; }
  .wa-fab { bottom: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
