/* ==========================================================================
   Energym · Web pública
   El edificio es la marca: paredes carbón, vigas pintadas de verde volt.
   Montserrat (títulos, itálica como el logo) · Barlow (texto) · Barlow Condensed (rótulos)
   ========================================================================== */

:root {
  --ground: #121215;
  --ground-2: #18181C;
  --panel: #1E1F24;
  --panel-2: #26272D;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #F3F3EF;
  --text-2: #BDBEC5;
  --text-3: #92939B;

  --paper: #EFEFEA;
  --paper-2: #FFFFFF;
  --paper-ink: #17171B;
  --paper-ink-2: #4A4A52;
  --paper-line: #D9D9D3;

  --volt: #4BFF00;
  --volt-hover: #6BFF2E;
  --volt-ink: #0C2100;
  --volt-ink-2: #1F4A00;
  --cyan: #00E6FF;

  --font-display: "Montserrat", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sign: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 6px;
  --radius-lg: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--volt); color: var(--volt-ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #3A3B42 var(--ground); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #3A3B42; border: 3px solid var(--ground); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #4D4E56; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 0.7rem 1rem; background: var(--volt); color: var(--volt-ink); font-weight: 700; border-radius: var(--radius); transition: top 0.2s; }
.skip:focus { top: 16px; }

.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía ---------- */
.display {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-size: clamp(2.6rem, 1.2rem + 6.4vw, 6rem);
}
.h2 {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1;
}
.h3 { font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 58ch; }
.sign {
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hl { color: var(--volt); }

/* Viga: la barra verde que pinta el edificio. Se dibuja una vez al entrar. */
.beam {
  display: block;
  width: 72px;
  height: 8px;
  margin-top: 1.25rem;
  background: var(--volt);
  transform: skewX(-18deg);
  transform-origin: left;
}
.js .beam { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease-out) 0.15s; }
.js .is-in .beam, .js .beam.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js .beam { clip-path: none; transition: none; } }

.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sec-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
}

/* ---------- Botones ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.5rem;
  background: var(--b-bg); color: var(--b-fg);
  border: 1.5px solid var(--b-bd); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { --b-bd: var(--text); }
.btn:active { transform: translateY(1px); }
.btn--volt { --b-bg: var(--volt); --b-fg: var(--volt-ink); --b-bd: var(--volt); }
.btn--volt:hover { --b-bg: var(--volt-hover); --b-bd: var(--volt-hover); }
.btn--dark { --b-bg: var(--paper-ink); --b-fg: #fff; --b-bd: var(--paper-ink); }
.btn--dark:hover { --b-bg: #000; --b-bd: #000; }
.btn--outline-dark { --b-fg: var(--paper-ink); --b-bd: rgba(12, 33, 0, 0.35); }
.btn--outline-dark:hover { --b-bd: var(--paper-ink); }
.btn--lg { min-height: 58px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem;
  color: var(--text); text-decoration: none;
  border-bottom: 2px solid var(--volt); padding-bottom: 0.2rem;
}
.link-arrow .icon { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.7), rgba(10, 10, 12, 0));
  transition: opacity 0.35s;
}
.site-header.is-solid { background: rgba(18, 18, 21, 0.94); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-solid::before { opacity: 0; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 168px; height: auto; }
@media (max-width: 479px) { .brand img { width: 144px; } }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative; display: block; padding: 0.6rem 0.8rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 3px;
  background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn { min-height: 44px; padding: 0 1.1rem; font-size: 0.92rem; }
.header-actions .btn--member { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; }
@media (max-width: 559px) { .header-actions .btn--wa span { display: none; } .header-actions .btn--wa { width: 48px; padding: 0; } }
@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header-actions .btn--member { display: inline-flex; }
}

/* Menú móvil: hoja a pantalla completa */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--ground);
  padding: 0 var(--gutter) 2rem;
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s var(--ease-out), visibility 0s 0.3s;
  overflow-y: auto;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease-out); }
.mobile-nav__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; }
.mobile-nav ul { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.7rem; letter-spacing: -0.01em;
  transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.mobile-nav.is-open li a { transform: none; opacity: 1; }
.mobile-nav li:nth-child(2) a { transition-delay: 0.03s; } .mobile-nav li:nth-child(3) a { transition-delay: 0.06s; }
.mobile-nav li:nth-child(4) a { transition-delay: 0.09s; } .mobile-nav li:nth-child(5) a { transition-delay: 0.12s; }
.mobile-nav li:nth-child(6) a { transition-delay: 0.15s; }
.mobile-nav li a[aria-current="page"] { color: var(--volt); }
.mobile-nav li a .icon { width: 22px; height: 22px; color: var(--text-3); }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-3); font-size: 0.95rem; padding-top: 0.5rem; }
.mobile-nav__meta a { color: var(--text-2); text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
body.menu-open { overflow: hidden; }

/* ---------- Hero con video (inicio) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: #000;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 12, 14, 0.96) 0%, rgba(12, 12, 14, 0.55) 38%, rgba(12, 12, 14, 0.12) 70%),
    linear-gradient(to right, rgba(12, 12, 14, 0.75) 0%, rgba(12, 12, 14, 0) 65%);
}
.hero__body { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 1rem + 4vw, 4rem); }
.hero__title { max-width: 16ch; }
.hero__title .hl { display: inline-block; }
.hero__lead { margin-top: 1.5rem; max-width: 46ch; color: #E2E2DE; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; }
.hero__ctas { margin-top: 2rem; }

.hero__bar { position: relative; border-top: 1px solid var(--line-strong); background: rgba(12, 12, 14, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__bar .wrap { display: grid; grid-template-columns: 1fr; }
.hero__bar-item {
  display: flex; align-items: center; gap: 0.75rem; min-height: 64px; padding-block: 0.75rem;
  color: var(--text-2); text-decoration: none; font-size: 1rem;
}
.hero__bar-item + .hero__bar-item { border-top: 1px solid var(--line); }
.hero__bar-item strong { color: var(--text); font-weight: 600; }
.hero__bar-item .icon { color: var(--text-3); }
a.hero__bar-item:hover strong { color: var(--volt); }
a.hero__bar-item .icon--end { margin-left: auto; color: var(--volt); transition: transform 0.25s var(--ease-out); }
a.hero__bar-item:hover .icon--end { transform: translateX(4px); }
@media (max-width: 719px) { .hero__bar-item--addr { display: none; } }
@media (min-width: 720px) {
  .hero__bar .wrap { grid-template-columns: auto 1fr auto; }
  .hero__bar-item + .hero__bar-item { border-top: 0; border-left: 1px solid var(--line); padding-left: 1.5rem; margin-left: 1.5rem; }
}

.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); flex: 0 0 auto; }
.status-dot.is-open { background: var(--volt); box-shadow: 0 0 0 4px rgba(75, 255, 0, 0.18); }
.status-dot.is-closed { background: #FF6B5E; }

.video-toggle {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 1rem); z-index: 2;
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: rgba(12, 12, 14, 0.55); border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; color: #fff;
}
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle:hover { background: rgba(12, 12, 14, 0.8); }

/* Entrada del hero: un solo momento orquestado */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero__title .line { display: block; animation: rise 0.9s var(--ease-out) both; }
.hero__title .line:nth-child(2) { animation-delay: 0.08s; }
.hero__title .line:nth-child(3) { animation-delay: 0.16s; }
.hero__lead { animation: rise 0.9s var(--ease-out) 0.28s both; }
.hero__ctas { animation: rise 0.9s var(--ease-out) 0.38s both; }
.hero .beam { animation: wipe 0.8s var(--ease-out) 0.5s both; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .line, .hero__lead, .hero__ctas, .hero .beam { animation: none; }
}

/* ---------- Cabecera de páginas internas ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: flex-end;
  background: #000;
}
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(18, 18, 21, 1) 0%, rgba(18, 18, 21, 0.7) 40%, rgba(18, 18, 21, 0.25) 100%),
              linear-gradient(to right, rgba(18, 18, 21, 0.7), rgba(18, 18, 21, 0) 70%);
}
.page-hero .wrap { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero .display { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem); max-width: 14ch; }
.page-hero .lead { margin-top: 1.25rem; color: #DCDCD7; }
.crumb { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; color: var(--text-2); text-decoration: none; font-weight: 600; }
.crumb:hover { color: var(--volt); }
.crumb .icon { width: 18px; height: 18px; }

/* ---------- Directorio de pisos (firma) ---------- */
.floors { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .floors { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 4rem); align-items: stretch; } }
.floors__list { list-style: none; border-top: 1px solid var(--line); }
.floor { border-bottom: 1px solid var(--line); }
.floor__btn {
  width: 100%; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 1.35rem 0; background: none; border: 0; text-align: left; cursor: pointer;
}
.floor__tag {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.7rem; letter-spacing: -0.03em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.floor__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); letter-spacing: -0.01em; line-height: 1.15; }
.floor__zones { display: block; margin-top: 0.25rem; color: var(--text-3); font-size: 0.98rem; }
.floor__btn .icon { width: 22px; height: 22px; color: var(--text-3); transition: transform 0.3s var(--ease-out), color 0.3s; }
.floor__btn:hover .floor__tag { border-color: var(--text); }
.floor__btn[aria-expanded="true"] .floor__tag { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.floor__btn[aria-expanded="true"] .floor__zones { color: var(--text-2); }
.floor__btn[aria-expanded="true"] .icon { color: var(--volt); transform: translateX(4px); }
.floor__detail { padding: 0 0 1.5rem; }
.floor__detail[hidden] { display: none; }
.floor__detail p { color: var(--text-2); max-width: 52ch; }
.floor__detail .floor__pic { margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.floor__detail .floor__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .floor__detail .floor__pic { display: none; } .floor__detail { padding-left: 5.5rem; } }

.floors__stage { display: none; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); min-height: 560px; }
@media (min-width: 960px) { .floors__stage { display: block; } }
.floors__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease-out), transform 1.2s var(--ease-out);
}
.floors__stage img.is-active { opacity: 1; transform: none; }
.floors__stage-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.85), rgba(12, 12, 14, 0));
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
}
.floors__stage-cap .sign { color: var(--text-2); }

/* ---------- Programas (filas tipo pizarra) ---------- */
.programs { list-style: none; border-top: 1px solid var(--line); }
.program {
  display: grid; gap: 0.6rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .program { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) 220px; align-items: center; }
}
.program h3 { font-weight: 800; font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.05; }
.program p { color: var(--text-2); max-width: 54ch; }
.program__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; list-style: none; }
.program__tags li { padding: 0.25rem 0.65rem; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 0.88rem; color: var(--text-2); }
.program__pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.program__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.program:hover .program__pic img { transform: scale(1.05); }
@media (max-width: 859px) { .program__pic { order: -1; aspect-ratio: 16 / 9; } }

/* Programas en detalle (servicios) */
.feature { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }
  .feature:nth-child(even) .feature__pic { order: 2; }
}
.feature__pic { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.feature__pic img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-weight: 800; font-style: italic; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.02em; }
.feature p { margin-top: 1rem; color: var(--text-2); max-width: 52ch; }
.checks { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; margin-top: 0.15rem; color: var(--volt); }
.feature .btn-row { margin-top: 2rem; }

/* ---------- Plan (campo volt) ---------- */
.plan { background: var(--volt); color: var(--volt-ink); position: relative; overflow: hidden; isolation: isolate; }
.plan::before {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 46%; height: 160%;
  background: rgba(12, 33, 0, 0.06); transform: skewX(-18deg);
}
.plan .wrap { display: grid; gap: 3rem; }
@media (min-width: 960px) { .plan .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 4rem; } }
.plan h2 { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.2rem); line-height: 0.95; }
.plan .lead { color: var(--volt-ink-2); margin-top: 1.25rem; }
.price-card { background: var(--paper-ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); box-shadow: 0 30px 60px -30px rgba(12, 33, 0, 0.7); }
.price-card__name { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text-2); }
.price { display: flex; align-items: flex-start; gap: 0.2rem; margin-top: 0.75rem; font-family: var(--font-display); font-style: italic; font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.price__cur { font-size: 2.4rem; margin-top: 0.5rem; color: var(--volt); }
.price__amt { font-size: clamp(5.5rem, 4rem + 6vw, 8rem); }
.price__per { align-self: flex-end; margin-bottom: 0.8rem; margin-left: 0.4rem; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 1.1rem; letter-spacing: 0; color: var(--text-2); }
.price-card .checks { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price-card .btn { width: 100%; margin-top: 2rem; }
.plan__more { margin-top: 2rem; display: grid; gap: 1rem; }
.plan__more-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.plan__more-item .icon { width: 26px; height: 26px; margin-top: 0.1rem; }
.plan__more-item strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.plan__more-item span { color: var(--volt-ink-2); }

/* ---------- Secciones claras (papel) ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .lead { color: var(--paper-ink-2); }
.paper .link-arrow { color: var(--paper-ink); }
.paper ::selection { background: var(--paper-ink); color: var(--volt); }

/* Equipo */
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.coach { display: flex; flex-direction: column; }
.coach__pic { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.coach__pic::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--volt);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.coach:hover .coach__pic::after { transform: scaleX(1); }
.coach__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.coach h3 { margin-top: 1rem; font-weight: 800; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); }
.coach__role { color: var(--muted, var(--text-3)); font-size: 0.95rem; margin-top: 0.15rem; }
.coach__bio { color: var(--muted, var(--text-2)); margin-top: 0.6rem; font-size: 0.98rem; line-height: 1.5; }
.coach__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; list-style: none; }
.coach__tags li { padding: 0.2rem 0.6rem; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 0.85rem; font-weight: 600; }
.paper { --muted: var(--paper-ink-2); }
.paper .coach__tags li { background: var(--paper-2); border-color: var(--paper-line); }
@media (max-width: 559px) { .coach__bio { display: none; } }

/* Testimonios */
.quotes { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); list-style: none; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; background: var(--ground); padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) clamp(0rem, 2vw, 2rem); display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) { .quote:first-child { padding-left: 0; } .quote:last-child { padding-right: 0; } }
.quote__mark { width: 40px; height: 32px; color: var(--volt); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.35; letter-spacing: -0.01em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; }
.quote__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel-2); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--volt); }
.quote__who strong { display: block; font-weight: 700; }
.quote__who span { color: var(--text-3); font-size: 0.95rem; }

/* Eventos */
.events { display: grid; gap: 1.5rem; list-style: none; }
@media (min-width: 760px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.event { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.event__pic { aspect-ratio: 4 / 3; overflow: hidden; }
.event__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.event:hover .event__pic img { transform: scale(1.04); }
.event__body { padding: 1.5rem; display: grid; gap: 0.5rem; }
.event__date { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--volt); }
.event__date .icon { width: 18px; height: 18px; }
.event h3 { font-weight: 800; font-size: 1.35rem; }
.event p { color: var(--text-2); }

/* ---------- Visita / cierre ---------- */
.visit { display: grid; gap: 3rem; }
@media (min-width: 960px) { .visit { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.visit .display { font-size: clamp(2.6rem, 1.4rem + 4.8vw, 5.2rem); }
.visit .lead { margin-top: 1.5rem; }
.visit .btn-row { margin-top: 2rem; }
.hours { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
.hours__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.hours__head h3 { font-size: 1.2rem; font-weight: 800; }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--text-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--volt); font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours__status { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--panel-2); font-weight: 600; }
.addr { margin-top: 1.25rem; display: grid; gap: 0.4rem; }
.addr a { display: inline-flex; gap: 0.6rem; align-items: flex-start; color: var(--text); text-decoration: none; padding: 0.4rem 0; }
.addr a:hover span { text-decoration: underline; text-decoration-color: var(--volt); }
.addr .icon { color: var(--volt); margin-top: 0.15rem; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  min-height: 44px; padding: 0 1.1rem; border-radius: 99px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--text-2); font-weight: 600;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; list-style: none; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.gallery li { position: relative; }
.gallery li.is-wide { grid-column: span 2; }
.gallery li[hidden] { display: none; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 4 / 3; }
.is-wide .shot { aspect-ratio: 16 / 9; }
@media (max-width: 759px) { .is-wide .shot { aspect-ratio: 16 / 10; } }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 0.85rem; text-align: left;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.85), rgba(12, 12, 14, 0));
}
.shot__cap strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; }
.shot__cap span { font-size: 0.9rem; color: var(--text-2); }
@media (max-width: 559px) { .shot__cap span { display: none; } .shot__cap { padding: 2rem 0.75rem 0.6rem; } .shot__cap strong { font-size: 0.9rem; } }

.lightbox { width: min(1200px, 100vw); max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 8, 10, 0.94); }
.lightbox figure { margin: 0; padding: 0 var(--gutter); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.lightbox figcaption strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.lightbox figcaption span { color: var(--text-2); }
.lb-nav { display: flex; gap: 0.5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); cursor: pointer; color: #fff; }
.icon-btn:hover { border-color: #fff; }
.icon-btn .icon { width: 22px; height: 22px; }
.lightbox .lb-close { position: fixed; top: 16px; right: 16px; }

/* ---------- Texto en dos columnas (nosotros) ---------- */
.story { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; } }
.story__text p + p { margin-top: 1.1rem; }
.story__text p { color: var(--text-2); font-size: 1.1rem; max-width: 62ch; }
.story__text p:first-child { color: var(--text); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); font-weight: 500; line-height: 1.45; }
.story__pics { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.story__pics img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.story__pics img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.story__pics img:not(:first-child) { aspect-ratio: 1; }

.pillars { display: grid; gap: 1px; background: var(--paper-line); border-block: 1px solid var(--paper-line); list-style: none; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { background: var(--paper); padding: 2rem 0; }
@media (min-width: 900px) { .pillar { padding: 2.25rem 2rem; } .pillar:first-child { padding-left: 0; } .pillar:last-child { padding-right: 0; } }
.pillar h3 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.6rem; letter-spacing: -0.01em; }
.pillar p { margin-top: 0.85rem; color: var(--paper-ink-2); }
.pillar .checks .icon { color: var(--volt-ink-2); }
.pillar .checks { margin-top: 0.85rem; gap: 0.5rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; } }
.channels { list-style: none; display: grid; gap: 0.75rem; }
.channel {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; background: var(--panel); border: 1px solid transparent; border-radius: var(--radius-lg);
  text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
a.channel:hover { border-color: var(--line-strong); background: var(--panel-2); }
.channel__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--panel-2); color: var(--volt); }
.channel__ic .icon { width: 24px; height: 24px; }
.channel--wa .channel__ic { background: var(--volt); color: var(--volt-ink); }
.channel strong { display: block; font-weight: 700; }
.channel span { color: var(--text-2); font-size: 0.98rem; overflow-wrap: anywhere; }
.channel > .icon { color: var(--text-3); width: 20px; height: 20px; }

.form-card { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem); }
.form-card h2 { font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; }
.form-card > p { color: var(--text-2); margin-top: 0.6rem; }
.form { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.98rem; }
.field label .opt { color: var(--text-3); font-weight: 500; }
.input {
  width: 100%; min-height: 52px; padding: 0.75rem 0.95rem;
  background: var(--ground-2); color: var(--text); caret-color: var(--volt);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #84858D; }
.input:hover { border-color: rgba(255, 255, 255, 0.35); }
.input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(75, 255, 0, 0.2); }
.input[aria-invalid="true"] { border-color: #FF6B5E; }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23BDBEC5' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 20px; padding-right: 2.75rem; }
.field-error { color: #FF8E84; font-size: 0.92rem; font-weight: 600; }
.field-error:empty { display: none; }
.form-note { color: var(--text-3); font-size: 0.92rem; display: flex; gap: 0.5rem; align-items: center; }
.form .btn { width: 100%; }

.map { margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); }
@media (max-width: 599px) { .map { aspect-ratio: 4 / 3; } }

/* FAQ / acordeones */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--volt); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--volt); }
.faq .faq__a { padding: 0 0 1.5rem; color: var(--text-2); max-width: 70ch; }
.faq .faq__a ul { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.85rem; }
.faq .faq__a li { display: flex; gap: 0.6rem; align-items: flex-start; }
.faq .faq__a li .icon { width: 18px; height: 18px; margin-top: 0.25rem; color: #FF8E84; }
.faq__n { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; margin-right: 0.9rem; border-radius: var(--radius); background: var(--panel-2); font-family: var(--font-sign); font-weight: 700; font-size: 1.05rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.faq summary > span:first-child { display: flex; align-items: center; }

/* Pestañas (normativas) */
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 99px; background: var(--panel); margin-bottom: 2.5rem; max-width: 100%; }
@media (max-width: 559px) { .tabs { display: flex; } .tabs .tab { flex: 1 1 0; padding: 0 0.75rem; } }
.tab { min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: 99px; background: transparent; color: var(--text-2); font-weight: 700; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--volt); color: var(--volt-ink); }
.tabpanel[hidden] { display: none; }
.tabpanel > p { color: var(--text-2); margin-bottom: 1.5rem; max-width: 65ch; }

.essentials { display: grid; gap: 1px; background: var(--paper-line); border-block: 1px solid var(--paper-line); list-style: none; }
@media (min-width: 900px) { .essentials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.essentials li { background: var(--paper); padding: 2rem 0; }
@media (min-width: 900px) { .essentials li { padding: 2.25rem 2rem; } .essentials li:first-child { padding-left: 0; } .essentials li:last-child { padding-right: 0; } }
.essentials h3 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; }
.essentials p { margin-top: 0.75rem; color: var(--paper-ink-2); }
.note { margin-top: 2rem; color: var(--paper-ink-2); font-weight: 600; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: #000; }
.cta-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(12, 12, 14, 0.95) 10%, rgba(12, 12, 14, 0.4)); }
.cta-band .wrap { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.cta-band .display { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.8rem); max-width: 16ch; }
.cta-band .lead { margin-top: 1.25rem; color: #DCDCD7; }
.cta-band .btn-row { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0C0C0E; border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); color: var(--text-2); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr; } }
.footer-brand img { width: 180px; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.socials a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--text); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.socials .icon { width: 20px; height: 20px; }
.site-footer h2 { font-family: var(--font-sign); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; text-decoration: none; color: var(--text-2); }
.site-footer li a:hover { color: var(--volt); }
.foot-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-variant-numeric: tabular-nums; }
.foot-hours li span:last-child { color: var(--text); }
.foot-contact li a { display: inline-flex; gap: 0.6rem; align-items: flex-start; }
.foot-contact .icon { width: 18px; height: 18px; margin-top: 0.2rem; color: var(--volt); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--volt); }

/* ---------- Botón flotante de socios ---------- */
.member-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 52px; padding: 0 1.15rem 0 1rem;
  background: var(--paper-2); color: var(--paper-ink); border-radius: 99px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; text-decoration: none;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.6);
  transform: translateY(140%); transition: transform 0.45s var(--ease-out);
}
.member-fab.is-visible { transform: none; }
.member-fab .icon { width: 22px; height: 22px; color: var(--volt-ink-2); }
.member-fab:hover { background: var(--volt); }
@media (min-width: 1080px) { .member-fab { right: 24px; bottom: 24px; } }
.no-js .member-fab { transform: none; }

/* ---------- Revelado suave (contenido visible por defecto) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
