/* =====================================================================
   BIBLIOTECA · BASE
   Reset, tokens por defecto, utilidades comunes y la "capa de estilo"
   (sombras, cortes entre secciones y texturas) controlada por atributos
   del <body> que fija el preset. Las secciones usan SOLO estas variables.
   ===================================================================== */
:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f4f4;
  --text: #1d1d1d; --text-soft: #5b5b5b; --heading: #111111; --line: #e2e2e2;
  --accent: #d7322a; --accent-hover: #b5251e; --on-accent: #ffffff; --accent-text: #b5251e;
  --accent-2: var(--accent);
  --brand-bg: #111111; --on-brand: #ffffff; --on-brand-soft: rgba(255,255,255,.82);
  --brand-line: rgba(255,255,255,.18); --brand-eyebrow: #ff8a80;
  --overlay: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.78));
  --font-display: Georgia, serif; --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --display-weight: 700; --display-transform: none; --display-tracking: 0; --display-line: 1.05;
  --radius: 14px; --radius-btn: 999px; --border-w: 1px;
  --shadow: none; --shadow-hover: none;
  --corte-alto: 0px;
  --wa: #25d366;
  --wrap: 1160px;
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; }
img, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--heading); line-height: var(--display-line); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--angosto { max-width: 780px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Tipografía común ---------- */
.titulo, .h2 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); letter-spacing: var(--display-tracking); }
.h2 { font-size: clamp(30px, 7.5vw, 54px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.lead { color: var(--text-soft); margin-top: 12px; max-width: 60ch; font-size: 17px; }
.hl { color: var(--accent-text); }

/* Superficie de marca (oscura o del color de la marca) */
.marca { background: var(--brand-bg); color: var(--on-brand); }
.marca h1, .marca h2, .marca h3 { color: var(--on-brand); }
.marca .eyebrow, .marca .hl { color: var(--brand-eyebrow); }
.marca .lead { color: var(--on-brand-soft); }

/* ---------- Secciones ---------- */
.seccion { padding: 72px 0; position: relative; }
.seccion--alt { background: var(--surface-2); }
.seccion__cabeza { margin-bottom: 28px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn); font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn--primario { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn--primario:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }
.btn--borde { border-color: currentColor; color: var(--heading); background: transparent; }
.btn--borde:hover { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.marca .btn--borde { color: var(--on-brand); border-color: var(--brand-line); }
.marca .btn--borde:hover { background: rgba(255,255,255,.1); color: var(--on-brand); border-color: var(--on-brand); }
.btn--grande { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--chico { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--bloque { width: 100%; }
.ico { width: 22px; height: 22px; flex: none; }
.link { display: inline-block; color: var(--accent-text); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.marca .link { color: var(--brand-eyebrow); }

/* ---------- Tarjeta genérica (la usan varias secciones) ---------- */
.tarjeta { background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }

/* ---------- Capa de estilo: sombras (data-sombra) ---------- */
body[data-sombra="suave"] { --shadow: 0 10px 30px rgba(0,0,0,.08); --shadow-hover: 0 16px 40px rgba(0,0,0,.12); }
/* "dura" (rectángulo desplazado del color del texto) quedó prohibida: pedido del usuario, 7/11/2026 */
body[data-sombra="brillo"] { --shadow: 0 0 0 1px var(--accent), 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent); --shadow-hover: 0 0 0 1px var(--accent), 0 0 36px var(--accent); }

/* ---------- Capa de estilo: cortes entre secciones (data-corte) ---------- */
body[data-corte="angulo"] .seccion--alt, body[data-corte="angulo"] .corte { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); padding-top: 104px; }
body[data-corte="curvo"] .seccion--alt, body[data-corte="curvo"] .corte { border-radius: 50% 50% 0 0 / 40px 40px 0 0; padding-top: 100px; }

/* ---------- Capa de estilo: texturas (data-textura) ---------- */
body[data-textura="grano"] { background-image: repeating-linear-gradient(0deg, color-mix(in srgb, var(--text) 3%, transparent) 0 1px, transparent 1px 4px); }
body[data-textura="grilla"] { background-image: linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size: 44px 44px; }
body[data-textura="puntitos"] .seccion--alt { background-image: radial-gradient(color-mix(in srgb, var(--accent) 20%, transparent) 2px, transparent 2.5px); background-size: 26px 26px; }
/* franjas: repite el degradé de .marca (capa mobile) como segunda capa; si no, lo pisa y la sección queda sin fondo (arreglado el 14/11/2026) */
body[data-textura="franjas"] .marca:not(.s-hero) { background-image: repeating-linear-gradient(125deg, transparent 0 46px, rgba(255,255,255,.05) 46px 92px), linear-gradient(165deg, color-mix(in srgb, var(--accent) 24%, var(--brand-bg)) 0%, var(--brand-bg) 72%); background-color: var(--brand-bg); }
/* panal (Gym Hulk, 13/11/2026): trama de hexágonos finos en las secciones de marca, como un techo de luces LED en panal.
   Repite el degradé de .marca (capa mobile, más abajo) como segunda capa: si no, la trama lo pisa y la sección queda sin fondo. */
body[data-textura="panal"] .marca:not(.s-hero) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='45'%3E%3Cpath d='M0 22.5h13L26 0h26l13 22.5h13M13 22.5L26 45h26l13-22.5' fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E"), linear-gradient(165deg, color-mix(in srgb, var(--accent) 24%, var(--brand-bg)) 0%, var(--brand-bg) 72%); background-size: 78px 45px, auto; background-color: var(--brand-bg); }

/* ---------- WhatsApp flotante (global) ---------- */
.wa-burbuja { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.wa-burbuja svg { width: 30px; height: 30px; }
.wa-burbuja { transition: opacity .18s, transform .18s; }
.wa-burbuja--oculta { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-barra { display: none; }
body.con-barra-wa { padding-bottom: 64px; }
@media (max-width: 639px) {
  body.con-barra-wa .wa-burbuja { display: none; }
  .wa-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; background: var(--wa); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .wa-barra svg { width: 24px; height: 24px; }
}
/* Espacio para la burbuja: el pie nunca queda tapado */
.pie { padding-bottom: 96px; }
/* Aviso de demo (solo mientras estructura.json tenga demo: true) */
.aviso-demo { margin: 0; padding: 10px 16px 88px; text-align: center; font-size: 12px; background: var(--brand-bg); color: var(--on-brand-soft); border-top: 1px solid var(--brand-line); }
body:has(.aviso-demo) .pie { padding-bottom: 16px; }

@media (min-width: 640px) {
  .solo-celular { display: none; }
}
@media (min-width: 960px) {
  .seccion { padding: 104px 0; }
  body[data-corte="angulo"] .seccion--alt, body[data-corte="angulo"] .corte { clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); padding-top: 150px; }
  body[data-corte="curvo"] .seccion--alt, body[data-corte="curvo"] .corte { border-radius: 50% 50% 0 0 / 72px 72px 0 0; padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Espacio de demo pendiente (macro m.pendiente) */
.pendiente { display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; height: 100%; min-height: 140px; padding: 16px; text-align: center; color: var(--text-soft); background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px); border: 2px dashed var(--line); border-radius: inherit; }
.pendiente svg { width: 44px; height: 44px; opacity: .55; }
.pendiente__rotulo { font-size: 13px; font-weight: 700; line-height: 1.3; max-width: 22ch; }
.ico-l { width: 26px; height: 26px; flex: none; }

/* <mobile> */
/* ============================================================
   CAPA MOBILE (v2) · todo lo de acá aplica solo debajo de 760 px, salvo el contraste de "marca".
   ============================================================ */
/* Secciones de marca: un tinte del color de acento sobre el fondo de marca, para que se distingan
   también en temas oscuros (ver regla "una sección de marca cada 2–3"). Aplica en compu también. */
.marca { background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 24%, var(--brand-bg)) 0%, var(--brand-bg) 72%); }

.barra-accion { display: none; }
.menu-btn, .enc-menu { display: none; }
.chips { display: none; }

/* Menú hamburguesa: hasta 959 px, el mismo ancho en el que se esconde la navegación del encabezado */
@media (max-width: 959px) {
  .menu-btn { display: grid; place-items: center; flex: none; width: 48px; height: 48px; margin-right: -6px; border: 0; background: transparent; color: var(--on-brand); cursor: pointer; }
  .menu-btn svg { width: 26px; height: 26px; }
  .menu-btn .menu-btn__x { display: none; }
  .menu-btn[aria-expanded="true"] .menu-btn__lineas { display: none; }
  .menu-btn[aria-expanded="true"] .menu-btn__x { display: block; }
  .enc-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--brand-bg); border-bottom: 1px solid var(--brand-line); box-shadow: 0 16px 32px rgba(0, 0, 0, .3); padding: 6px 16px 14px; }
  .enc-menu[hidden] { display: none; }
  .enc-menu a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--brand-line); color: var(--on-brand); font-size: 17px; font-weight: 700; text-decoration: none; }
  .enc-menu a:last-child { border-bottom: 0; }
}

/* Barra de acción inferior (WhatsApp · Horarios · Ubicación): aparece después del inicio, como pie fijo */

@media (max-width: 759px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wa-burbuja, .wa-barra { display: none !important; }
  .barra-accion { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--brand-bg); border-top: 1px solid var(--brand-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); transform: translateY(110%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  body.barra-visible .barra-accion { transform: none; visibility: visible; transition: transform .22s ease; }
  .barra-accion a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius-btn); font-weight: 800; font-size: 15px; text-decoration: none; }
  .barra-accion svg { width: 22px; height: 22px; flex: none; }
  .barra-accion__wa { flex: 1.6; background: #0d7a3e; color: #ffffff; }
  .barra-accion__item { flex: 1; flex-direction: column; gap: 2px !important; color: var(--on-brand); font-size: 13px !important; font-weight: 700 !important; }
  .barra-accion__item svg { width: 22px; height: 22px; color: var(--brand-eyebrow); }
  .aviso-demo { padding-bottom: 14px; font-size: 13px; }
  .pie { padding-bottom: 24px; }

  .enc .btn--chico { min-height: 48px; padding: 8px 14px; }
  .marca-logo { min-height: 48px; }
  body .marca-logo__bajada { font-size: 11px; letter-spacing: .14em; }

  /* Chips de secciones (páginas de más de 8 pantallas; los agrega app.js) */
  .chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; background: var(--surface-2); border-bottom: 1px solid var(--line); }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: var(--border-w) solid var(--line); background: var(--surface); color: var(--heading); font-weight: 700; font-size: 15px; text-decoration: none; }

  /* Carruseles: 3 o más tarjetas (servicios, diferenciales, reseñas, pasos, planes) */
  [data-carrusel-m] { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 6px 16px 10px !important; scrollbar-width: none; list-style: none; }
  [data-carrusel-m]::-webkit-scrollbar { display: none; }
  [data-carrusel-m] > * { scroll-snap-align: start; min-width: 0; margin: 0 !important; }
  .carrusel-puntos { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; }
  .carrusel-puntos span { width: 8px; height: 8px; border-radius: 4px; background: currentColor; opacity: .3; transition: width .2s, opacity .2s; }
  .carrusel-puntos span.activo { width: 22px; opacity: .9; }

  /* Ritmo vertical más corto en celular */
  .seccion { padding: 56px 0; }

  /* Mínimos de lectura y de toque */
  .eyebrow { font-size: 13px; letter-spacing: .14em; }
  .link { display: inline-flex; align-items: center; min-height: 48px; }
  body .pie__red { min-height: 48px; }
}
/* Desplegable de celular: <details class="desplegable"><summary>Ver horarios</summary>…</details>.
   En celular arranca cerrado; en compu app.js lo abre y el resumen no se ve (compu queda igual). */
.desplegable > summary { list-style: none; }
.desplegable > summary::-webkit-details-marker { display: none; }
@media (min-width: 760px) { .desplegable > summary { display: none; } }
@media (max-width: 759px) {
  .desplegable { margin-top: 12px; }
  .desplegable > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 4px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); font-weight: 800; font-size: 15px; cursor: pointer; }
  .desplegable > summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; }
  .desplegable[open] > summary::after { content: "–"; }
  .desplegable[open] > summary { margin-bottom: 12px; }
}
/* </mobile> */

/* preset contundente + tema del cliente */
:root {
  --bg: #0e0e10;
  --surface: #18181b;
  --surface-2: #222226;
  --text: #f3f3f3;
  --text-soft: #b4b4ba;
  --heading: #ffffff;
  --line: #2f2f35;
  --accent: #d8302a;
  --accent-hover: #b8241e;
  --on-accent: #ffffff;
  --accent-text: #e1625d;
  --brand-bg: #5a0f0c;
  --on-brand: #ffffff;
  --brand-eyebrow: #ffd9d6;
  --accent-2: #d8302a;
  --on-brand-soft: color-mix(in srgb, #ffffff 82%, transparent);
  --brand-line: color-mix(in srgb, #ffffff 20%, transparent);
  --overlay: linear-gradient(180deg, rgba(0,0,0,0.39) 0%, rgba(0,0,0,0.70) 62%, rgba(0,0,0,0.80) 100%);
  --font-display: "Oswald", Georgia, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --radius: 12px;
  --radius-btn: 999px;
  --border-w: 1px;
  --display-transform: uppercase;
  --display-tracking: .01em;
  --display-line: .95;
}

/* encabezado / simple · solo variables CSS (7 = cantidad de ítems, lo reemplaza construir.py) */
.enc { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--brand-bg) 94%, transparent); color: var(--on-brand); border-bottom: 1px solid var(--brand-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marca-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.marca-logo__img { height: 42px; width: auto; border-radius: min(var(--radius), 8px); }
.marca-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.marca-logo__nombre { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); font-size: 21px; letter-spacing: .03em; color: var(--on-brand); }
.marca-logo__bajada { font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-eyebrow); margin-top: 3px; }
.enc-nav { display: none; gap: 24px; }
.enc-nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--on-brand-soft); }
.enc-nav a:hover { color: var(--on-brand); }
@media (min-width: 960px) { .enc-nav { display: flex; } }

.enc__fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }

.enc__fila > .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 419px) { .enc--solo-logo .marca-logo__txt { display: none; } }

/* hero / foto-completa · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.hero__titulo { font-size: clamp(42px, 11vw, 92px); max-width: 14ch; }
.hero__bajada { margin-top: 18px; font-size: 18px; max-width: 46ch; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
.s-hero--foto-completa { position: relative; overflow: hidden; min-height: min(calc(100svh - 64px), 720px); display: flex; align-items: flex-end; }
.s-hero--foto-completa .hero__fondo { position: absolute; inset: 0; }
.s-hero--foto-completa .hero__fondo img { width: 100%; height: 100%; object-fit: cover; }
.s-hero--foto-completa .hero__fondo::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.s-hero--foto-completa .hero__contenido { position: relative; padding-top: 80px; padding-bottom: 56px; }
.s-hero--foto-completa .hero__bajada { color: var(--on-brand-soft); }
@media (min-width: 960px) { .s-hero--foto-completa { align-items: center; } }

/* Opción foto_libre_arriba: lo importante de la foto (un cartel, la fachada) queda a la vista, sin texto encima.
   Celular y tablet: la foto va entera arriba y el texto debajo, sobre el color de marca.
   Compu: el texto baja al pie de la foto y el título se ensancha para ocupar menos alto. */
@media (max-width: 959px) {
  .s-hero--libre-arriba { display: block; min-height: 0; background: var(--brand-bg); }
  .s-hero--libre-arriba .hero__fondo { position: relative; inset: auto; }
  .s-hero--libre-arriba .hero__fondo img { height: auto; }
  .s-hero--libre-arriba .hero__fondo::after { background: linear-gradient(180deg, transparent 55%, var(--brand-bg)); }
  .s-hero--libre-arriba .hero__contenido { padding-top: 14px; padding-bottom: 44px; }
}
/* Opción texto_abajo_compu: solo en compu, el texto baja al pie de la foto y el título se ensancha (igual que libre-arriba),
   así la mitad de arriba (un cartel en la pared) queda a la vista. En celular no cambia: el título sigue sobre la foto. */
@media (min-width: 960px) {
  .s-hero--libre-arriba, .s-hero--texto-abajo { align-items: flex-end; }
  .s-hero--libre-arriba .hero__titulo, .s-hero--texto-abajo .hero__titulo { max-width: 22ch; font-size: clamp(42px, 5.6vw, 84px); }
  .s-hero--libre-arriba .hero__contenido, .s-hero--texto-abajo .hero__contenido { padding-bottom: 96px; }
}

/* datos-clave / tarjeta-flotante · solo variables CSS (4 = cantidad de ítems, lo reemplaza construir.py) */
/* Celular y tablet: va debajo del inicio, sin flotar (ahí aparece la fila de chips). Compu: se monta sobre el borde del inicio. */
.s-datos--flotante { position: relative; z-index: 2; padding-top: 24px; }
.s-datos--flotante .datos__lista { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 22px; background: var(--surface); border-radius: var(--radius); border: var(--border-w) solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.s-datos--flotante li { display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.s-datos--flotante strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.1; color: var(--heading); }
.s-datos--flotante span { font-size: 13px; color: var(--text-soft); font-weight: 600; }
@media (min-width: 640px) { .s-datos--flotante .datos__lista { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .s-datos--flotante { padding-top: 0; margin-top: -48px; }
  .s-datos--flotante .datos__lista { padding: 26px 30px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
  .s-datos--flotante li + li { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* tienda / vidriera · solo variables CSS. Mobile-first: vidriera en carrusel, tienda completa y pedido en ventanas (dialog). */
.s-tie .tie__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 18px; padding: 2px 16px; }
.s-tie .tie__chips::-webkit-scrollbar { display: none; }
.s-tie .tie__chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius-btn); border: var(--border-w) solid var(--line); background: var(--surface); color: var(--heading); font: 700 14px/1 var(--font-body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.s-tie .tie__chip span { color: var(--text-soft); font-weight: 600; }
.s-tie .tie__chip:hover, .s-tie .tie__chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.s-tie .tie__chip:hover span, .s-tie .tie__chip[aria-pressed="true"] span { color: var(--on-accent); }

.s-tie .tie__vidriera, .s-tie .tie__grilla { display: grid; gap: 14px; }
.s-tie .tie__prod { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.s-tie .tie__foto { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.s-tie .tie__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* En la vidriera de celular la foto es más baja (4:3, entera) para que la sección no pase de 1,2 pantallas */
.s-tie .tie__vidriera .tie__foto { aspect-ratio: 4 / 3; }
.s-tie .tie__vidriera .tie__foto img { object-fit: contain; }
.s-tie .tie__vidriera .tie__info { gap: 6px; padding: 12px 14px 14px; }
.s-tie .tie__info { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 14px 16px; }
.s-tie .tie__nombre { font: 800 16px/1.25 var(--font-body); color: var(--heading); text-transform: none; letter-spacing: 0; }
.s-tie .tie__precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; }
.s-tie .tie__precio strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; line-height: 1; color: var(--heading); }
.s-tie .tie__desc { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.s-tie .tie__var { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.s-tie .tie__var select { flex: 1; min-height: 48px; padding: 0 10px; border-radius: var(--radius); border: var(--border-w) solid var(--line); background: var(--surface-2); color: var(--text); font: 600 14px var(--font-body); }
.s-tie .tie__agregar { margin-top: 4px; }
.s-tie .tie__agregar.tie__agregar--ok { background: var(--surface-2); color: var(--heading); box-shadow: none; }
.s-tie .tie__pie { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.s-tie .tie__nota { font-size: 14px; color: var(--text-soft); max-width: 62ch; }
.marca.s-tie .tie__nota { color: var(--on-brand-soft); }

/* Ventanas: tienda completa y pedido */
.s-tie dialog { border: 0; padding: 0; background: var(--bg); color: var(--text); width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
.s-tie dialog::backdrop { background: rgba(0, 0, 0, .6); }
.s-tie .tie__modal-cab { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; background: var(--surface); border-bottom: var(--border-w) solid var(--line); }
.s-tie .tie__modal-tit { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); font-size: 22px; color: var(--heading); }
.s-tie .tie__cerrar { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--heading); font-size: 30px; line-height: 1; cursor: pointer; }
.s-tie .tie__ver-pedido { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 0; border-radius: var(--radius-btn); background: var(--accent); color: var(--on-accent); font: 700 14px var(--font-body); cursor: pointer; }
.s-tie .tie__ver-pedido[hidden] { display: none; }
.s-tie .tie__ver-pedido svg, .s-tie .tie__carrito-btn svg { width: 22px; height: 22px; flex: none; }
.s-tie .tie__filtros { padding: 14px 16px 0; }
.s-tie .tie__buscar { width: 100%; min-height: 48px; padding: 0 16px; border-radius: var(--radius-btn); border: var(--border-w) solid var(--line); background: var(--surface); color: var(--text); font: 500 16px var(--font-body); }
.s-tie .tie__chips--modal { margin: 12px -16px 4px; }
.s-tie .tie__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 16px 32px; }
.s-tie .tie__grilla .tie__info { padding: 10px 10px 12px; }
.s-tie .tie__grilla .tie__nombre { font-size: 14px; }
.s-tie .tie__grilla .tie__precio strong { font-size: 22px; }
.s-tie .tie__grilla .tie__agregar { min-height: 48px; padding: 10px 12px; font-size: 14px; }
.s-tie .tie__vacio { padding: 0 16px 32px; color: var(--text-soft); }

/* Botón flotante del pedido (aparece con el primer producto) */
.s-tie .tie__carrito-btn { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 61; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: var(--radius-btn); background: var(--accent); color: var(--on-accent); font: 800 15px var(--font-body); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); cursor: pointer; }
.s-tie .tie__carrito-btn[hidden] { display: none; }

/* Pedido */
.s-tie .tie__carrito { display: none; }
.s-tie .tie__carrito[open] { display: flex; flex-direction: column; }
.s-tie .tie__lineas { list-style: none; flex: 1; overflow-y: auto; padding: 8px 16px; }
.s-tie .tie__linea { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 0; border-bottom: var(--border-w) solid var(--line); }
.s-tie .tie__linea-nom { font-weight: 700; color: var(--heading); }
.s-tie .tie__linea-sub { font-weight: 800; color: var(--heading); text-align: right; }
.s-tie .tie__cant { display: inline-flex; align-items: center; gap: 4px; }
.s-tie .tie__cant button { width: 48px; height: 48px; border-radius: 50%; border: var(--border-w) solid var(--line); background: var(--surface); color: var(--heading); font: 800 20px var(--font-body); cursor: pointer; }
.s-tie .tie__cant output { min-width: 32px; text-align: center; font-weight: 800; }
.s-tie .tie__linea-unit { font-size: 13px; color: var(--text-soft); text-align: right; }
.s-tie .tie__totales { padding: 12px 16px 4px; display: grid; gap: 6px; border-top: var(--border-w) solid var(--line); background: var(--surface); }
.s-tie .tie__totales p { display: flex; justify-content: space-between; gap: 12px; }
.s-tie .tie__totales p[hidden] { display: none; }
.s-tie .tie__totales strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; color: var(--heading); }
.s-tie .tie__totales [data-fila-efectivo] strong { color: var(--accent-text); }
.s-tie .tie__carrito > .btn { margin: 12px 16px 0; width: auto; }
.s-tie .tie__aviso { padding: 10px 16px 0; font-size: 13px; color: var(--text-soft); }
.s-tie .tie__vaciar { align-self: center; min-height: 48px; margin: 4px 0 calc(12px + env(safe-area-inset-bottom)); padding: 0 16px; border: 0; background: none; color: var(--text-soft); font: 600 14px var(--font-body); text-decoration: underline; cursor: pointer; }

@media (min-width: 760px) {
  .s-tie .tie__grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .s-tie .tie__vidriera { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .s-tie .tie__vidriera .tie__foto { aspect-ratio: 1 / 1; }
  .s-tie .tie__vidriera .tie__foto img { object-fit: cover; }
  .s-tie .tie__chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .s-tie .tie__pie { flex-direction: row; align-items: center; gap: 24px; }
  .s-tie dialog { width: min(1100px, calc(100% - 48px)); height: min(860px, calc(100% - 48px)); margin: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
  .s-tie .tie__carrito { width: min(520px, calc(100% - 48px)); }
  .s-tie .tie__grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-inline: 20px; }
  .s-tie .tie__filtros { padding-inline: 20px; }
  .s-tie .tie__chips--modal { margin-inline: 0; }
  .s-tie .tie__carrito-btn { bottom: 90px; }
}

/* servicios / tarjetas · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.s-serv--tarjetas .serv__grilla { display: grid; gap: 12px; }
.s-serv--tarjetas .serv__item { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; border-left: 5px solid var(--accent); transition: transform .2s, box-shadow .2s; }
.s-serv--tarjetas a.serv__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.s-serv--tarjetas .serv__num { position: absolute; top: 12px; right: 16px; font-family: var(--font-display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
/* El número es decorativo (contorno casi invisible a propósito): va como contenido CSS para que no cuente como texto con poco contraste (Lighthouse color-contrast, ABN GYM 12/11/2026). */
.s-serv--tarjetas .serv__num::before { content: attr(data-n); }
.s-serv--tarjetas .serv__tag { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.s-serv--tarjetas h3 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); font-size: 26px; padding-right: 54px; }
.s-serv--tarjetas p { color: var(--text-soft); }
.s-serv--tarjetas .serv__ir { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--accent-text); }
@media (min-width: 640px) { .s-serv--tarjetas .serv__grilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 960px) { .s-serv--tarjetas .serv__grilla { grid-template-columns: repeat(3, 1fr); } }

/* servicio-estrella / foto-grande · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.s-est .est__puntos { list-style: none; display: grid; gap: 8px; margin: 18px 0 24px; }
.s-est .est__puntos li { display: flex; gap: 10px; align-items: center; }
.s-est .est__puntos .ico { color: var(--accent-text); }
.s-est.marca .est__puntos .ico { color: var(--brand-eyebrow); }
.s-est--foto { position: relative; overflow: hidden; padding: 160px 0 56px; }
.s-est--foto .est__fondo { position: absolute; inset: 0; }
.s-est--foto .est__fondo img { width: 100%; height: 100%; object-fit: cover; }
.s-est--foto .est__fondo::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.s-est--foto .est__caja { position: relative; }
@media (min-width: 960px) { .s-est--foto { padding: 200px 0 96px; } .s-est--foto .est__caja > * { max-width: 620px; } }

/* diferenciales / iconos-grilla · solo variables CSS (4 = cantidad de ítems, lo reemplaza construir.py) */
.s-dif--iconos .dif__grilla { display: grid; gap: 12px; }
.s-dif--iconos .dif__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: min(var(--radius), 14px); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); margin-bottom: 12px; }
.s-dif--iconos .dif__ico svg { width: 26px; height: 26px; }
.s-dif--iconos h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.s-dif--iconos p { color: var(--text-soft); }
@media (min-width: 640px) { .s-dif--iconos .dif__grilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 960px) { .s-dif--iconos .dif__grilla { grid-template-columns: repeat(4, 1fr); } }
/* Con 5 ítems, 3 arriba y 2 abajo (más anchos) en compu, en vez de 4 + 1 suelto (Gym Hulk, 13/11/2026) */
@media (min-width: 960px) {
  .s-dif--iconos .dif__grilla:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .s-dif--iconos .dif__grilla:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .s-dif--iconos .dif__grilla:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}

/* galeria / grilla · solo variables CSS (4 = cantidad de ítems, lo reemplaza construir.py) */
.s-gal--grilla .gal__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.s-gal--grilla figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.s-gal--grilla img { width: 100%; height: 100%; object-fit: cover; }
.s-gal--grilla figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13px; font-weight: 700; }
@media (min-width: 960px) {
  .s-gal--grilla .gal__grilla { grid-template-columns: repeat(3, 1fr); }
  /* Con 4 fotos justas: las 2 primeras (apaisadas) apiladas a la izquierda y las otras 2 altas a la derecha, sin huecos */
  .s-gal--grilla .gal__grilla:has(> figure:nth-child(4):last-child) { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 260px); }
  .s-gal--grilla .gal__grilla:has(> figure:nth-child(4):last-child) figure { aspect-ratio: auto; }
  .s-gal--grilla .gal__grilla:has(> figure:nth-child(4):last-child) figure:nth-child(n+3) { grid-row: span 2; }
  .s-gal--grilla .gal__grilla:has(> figure:nth-child(4):last-child) figure:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .s-gal--grilla .gal__grilla:has(> figure:nth-child(4):last-child) figure:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
}
.s-gal--grilla .gal--pendiente figcaption { background: none; color: var(--heading); position: absolute; padding: 10px 12px; }

/* videos / carrusel-reels · solo variables CSS (los blancos y negros son del reproductor, siempre sobre video) */
.s-vid .vid__perfil { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.s-vid .vid__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); background: var(--surface-2); flex: none; }
.s-vid .vid__avatar--ico { display: grid; place-items: center; color: var(--accent-text); }
.s-vid .vid__avatar--ico svg { width: 26px; height: 26px; }
.s-vid .vid__quien { flex: 1 1 160px; min-width: 0; }
.s-vid .vid__nombre { margin: 0; font-weight: 800; color: var(--heading); }
.s-vid .vid__usuario { margin: 2px 0 0; font-size: 14px; color: var(--text-soft); }
.marca .vid__nombre { color: var(--on-brand); }
.marca .vid__usuario { color: var(--on-brand-soft); }
.marca .vid__avatar { border-color: var(--brand-eyebrow); }
.s-vid .vid__seguir { min-height: 48px; padding: 10px 18px; }
.s-vid .vid__lista { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 1.8); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.s-vid .vid__lista > li { scroll-snap-align: start; min-width: 0; }
.s-vid .vid__reel { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); background: var(--brand-bg); box-shadow: var(--shadow); text-decoration: none; }
.s-vid .vid__reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.s-vid .vid__reel:hover img, .s-vid .vid__reel:focus-visible img { transform: scale(1.04); }
.s-vid .vid__play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #ffffff; border: 2px solid rgba(255, 255, 255, .85); transition: transform .2s; }
.s-vid .vid__play svg { width: 26px; height: 26px; margin-left: 3px; }
.s-vid .vid__reel:hover .vid__play { transform: scale(1.08); }
.s-vid .vid__datos { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; gap: 2px 8px; flex-wrap: wrap; padding: 7px 10px; border-radius: calc(var(--radius) / 2); background: rgba(0, 0, 0, .76); color: #ffffff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.vid__modal { width: min(420px, 94vw); height: min(88vh, 860px); padding: 0; border: 0; border-radius: var(--radius); background: #000000; overflow: visible; }
.vid__modal::backdrop { background: rgba(0, 0, 0, .8); }
.vid__marco, .vid__marco iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; background: #ffffff; }
.vid__cerrar { position: absolute; top: -14px; right: -10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #ffffff; background: #000000; color: #ffffff; font-size: 26px; line-height: 1; cursor: pointer; }
.vid__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: #111111; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: pointer; transition: background .15s, transform .15s; }
.vid__nav:hover { background: #ffffff; transform: scale(1.06); }
.vid__nav svg { width: 22px; height: 22px; }
.vid__nav--ant { left: 6px; }
.vid__nav--sig { right: 6px; }
@media (min-width: 640px) {
  .vid__nav { width: 48px; height: 48px; margin-top: -24px; }
  .vid__nav--ant { left: -68px; }
  .vid__nav--sig { right: -68px; }
}

.s-vid--carrusel .vid__riel { position: relative; }
.s-vid--carrusel .vid__flecha { display: none; }

@media (min-width: 960px) {
  .s-vid--carrusel .vid__lista { grid-auto-columns: calc((100% - 4 * 14px) / 4.4); gap: 14px; }
  .s-vid--carrusel .vid__flecha { display: grid; place-items: center; position: absolute; top: calc(50% - 26px); right: -22px; width: 48px; height: 48px; border-radius: 50%; border: var(--border-w) solid var(--line); background: var(--surface); color: var(--heading); box-shadow: var(--shadow); cursor: pointer; }
  .s-vid--carrusel .vid__flecha svg { width: 22px; height: 22px; }
  .s-vid--carrusel .vid__flecha--ant { right: auto; left: -22px; }
  .s-vid--carrusel .vid__flecha--ant svg { transform: rotate(180deg); }
}

/* celular: perfil en una fila */
@media (max-width: 759px) {
  .s-vid .vid__perfil { flex-wrap: nowrap; gap: 10px; margin-bottom: 16px; }
  .s-vid .vid__avatar { width: 48px; height: 48px; }
  .s-vid .vid__quien { flex: 1 1 0; }
  .s-vid .vid__usuario { font-size: 13px; }
  .s-vid .vid__seguir { padding: 10px 14px; }
}

/* grilla-horaria / pestanas-dia · solo variables CSS (6 = cantidad de ítems, lo reemplaza construir.py) */
.s-gh--pestanas .gh__tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 6px; scrollbar-width: none; }
.s-gh--pestanas [role="tab"] { flex: none; min-width: 56px; min-height: 48px; padding: 8px 14px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 14px var(--font-body); cursor: pointer; }
.s-gh--pestanas [role="tab"][aria-selected="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.s-gh--pestanas .gh__lista { list-style: none; display: grid; gap: 8px; }
.s-gh--pestanas .gh__lista li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: var(--border-w) solid var(--line); }
.s-gh--pestanas .gh__hora { font-family: var(--font-display); font-size: 22px; color: var(--accent-text); }
.s-gh--pestanas small { color: var(--text-soft); }
.s-gh--pestanas .gh__vig { margin-top: 14px; font-size: 13px; color: var(--text-soft); }
@media (min-width: 960px) { .s-gh--pestanas .gh__lista { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* prueba-social / resumen · solo variables CSS (4 = cantidad de ítems, lo reemplaza construir.py) */
.s-ps--resumen .ps__cabeza { display: flex; flex-direction: column; gap: 18px; }
.s-ps--resumen .ps__cabeza .seccion__cabeza { margin-bottom: 0; }
.s-ps--resumen .ps__rating { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 12px 18px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); }
.s-ps--resumen .ps__rating strong { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: var(--display-weight); }
.s-ps--resumen .ps__rating span { font-size: 13px; font-weight: 700; line-height: 1.3; }
.s-ps--resumen .ps__rotulo { margin: 22px 0 18px; font-size: 13px; color: var(--text-soft); }
.s-ps--resumen.marca .ps__rotulo { color: var(--on-brand-soft); }
.s-ps--resumen .ps__temas { list-style: none; display: grid; gap: 12px; }
.s-ps--resumen .ps__temas h3 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); font-size: 22px; margin-bottom: 6px; border-left: 4px solid var(--accent); padding-left: 10px; }
.s-ps--resumen .ps__temas p { color: var(--text-soft); }
.s-ps--resumen .ps__link { margin-top: 22px; }
@media (min-width: 640px) { .s-ps--resumen .ps__temas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 960px) { .s-ps--resumen .ps__cabeza { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

/* equipo / tarjetas-foto · solo variables CSS (5 = cantidad de ítems, lo reemplaza construir.py) */
.s-eq--tarjetas .eq__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.s-eq--tarjetas figure { margin: 0 0 10px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.s-eq--tarjetas img { width: 100%; height: 100%; object-fit: cover; }
.s-eq--tarjetas h3 { font-size: 17px; font-weight: 800; font-family: var(--font-body); }
.s-eq--tarjetas .eq__grilla p { color: var(--accent-text); font-size: 14px; font-weight: 700; }
@media (min-width: 960px) { .s-eq--tarjetas .eq__grilla { grid-template-columns: repeat(4, 1fr); } }
.s-eq--tarjetas .eq--pendiente figure { border-radius: var(--radius); }
/* Con 5 profes, una fila de 5 en compu (con 4 columnas quedaba una tarjeta sola abajo; Gym Hulk, 13/11/2026) */
@media (min-width: 960px) { .s-eq--tarjetas .eq__grilla:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* faq / acordeon · solo variables CSS (7 = cantidad de ítems, lo reemplaza construir.py) */
.s-faq--acordeon .faq__lista { border-top: 1px solid var(--line); }
.s-faq--acordeon details { border-bottom: 1px solid var(--line); }
.s-faq--acordeon summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 17px; color: var(--heading); }
.s-faq--acordeon summary::-webkit-details-marker { display: none; }
.s-faq--acordeon summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent-text); transition: transform .2s; }
.s-faq--acordeon details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.s-faq--acordeon details p { padding: 0 0 20px; color: var(--text-soft); }
.s-faq--acordeon.marca summary { color: var(--on-brand); }
.s-faq--acordeon.marca details p { color: var(--on-brand-soft); }
.s-faq--acordeon.marca details, .s-faq--acordeon.marca .faq__lista { border-color: var(--brand-line); }

/* ubicacion / mapa-horarios · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.s-ub .ub__dir { display: flex; gap: 8px; align-items: center; font-size: 19px; font-weight: 700; color: var(--heading); margin-top: 6px; }
.s-ub .ub__dir .ico { color: var(--accent-text); }
.s-ub .ub__llegar { color: var(--text-soft); margin-top: 6px; }
.s-ub .ub__horas { width: 100%; max-width: 440px; border-collapse: collapse; margin-top: 18px; }
.s-ub .ub__horas th, .s-ub .ub__horas td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.s-ub .ub__horas td { text-align: right; font-weight: 800; color: var(--heading); }
.s-ub .ub__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s-ub .ub__mapa { position: relative; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); min-height: 320px; background: var(--surface-2); }
.s-ub .ub__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.s-ub--mapa .ub__dos { display: grid; gap: 28px; }
@media (min-width: 960px) { .s-ub--mapa .ub__dos { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; } }

/* cta-cierre / bloque-color · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.s-cta--color { background: var(--accent); color: var(--on-accent); padding: 80px 0; text-align: center; }
.s-cta--color .cta__caja { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.s-cta--color .h2, .s-cta--color .hl { color: var(--on-accent); }
.s-cta--color .h2 { max-width: 18ch; }
.s-cta--color .cta__btn { background: var(--heading); color: var(--bg); box-shadow: var(--shadow); }
.s-cta--color .cta__btn:hover { background: var(--heading); transform: translateY(-2px); }

/* pie / completo · solo variables CSS (3 = cantidad de ítems, lo reemplaza construir.py) */
.pie { background: var(--brand-bg); color: var(--on-brand-soft); padding-top: 36px; }
.pie__nombre { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform); font-size: 24px; color: var(--on-brand); }
.pie__redes { display: flex; flex-wrap: wrap; gap: 10px; }
.pie__red { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--brand-line); text-decoration: none; font-weight: 600; color: var(--on-brand); }
.pie__red svg { width: 22px; height: 22px; }
.pie__red--wa svg { color: var(--wa); }
.pie__red--ig svg { color: #e1306c; }
.pie__red--fb svg { color: #1877f2; }
.pie small { opacity: .75; }
.pie--completo .pie__grilla { display: grid; gap: 20px; }
@media (min-width: 960px) { .pie--completo .pie__grilla { grid-template-columns: 1fr auto; align-items: center; } .pie--completo small { grid-column: 1 / -1; } }
