/* ==========================================================================
   Grupo Cumbre Integral — hoja de estilos del sitio corporativo (v6)
   Un solo archivo, compartido por todas las páginas e idiomas.
   Tema CLARO por defecto; tema oscuro con [data-theme="dark"] (las variables de :root son las oscuras).
   ========================================================================== */

:root {
  --font-t: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-b: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --azul: #0080d9;
  --azul2: #38a7f0;
  --azul3: #7cc7ff;
  --oro: #d4af37;

  --bg: #04060a;
  --bg2: #0a0e15;
  --surface: #10151f;
  --surface2: #161c28;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --fg: #f2f5f9;
  --muted: #a3acb9;
  --subtle: #6f7886;
  --glow: rgba(0, 128, 217, 0.4);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --grid: rgba(56, 167, 240, 0.08);

  /* colores de marca (fondo nativo de cada logo) */
  --pneumex-bg: #000034; --pneumex: #ffd239;
  --neosense-bg: #ffffff; --neosense: #00006d; --neosense2: #60a5ee;
  --novamotor-bg: #ffffff; --novamotor: #f67d16;
  --mextron-bg: #0b0b0b; --mextron: #ffffff;
  --profilex-bg: #ffffff; --profilex: #616161;
  --astromart-bg: #0a0a0f; --astromart: #5b2d9b; --astromart2: #8b5cf6;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 64px;
  --bar-h: 40px;
  --tab-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;
  color-scheme: dark;
}

html:not([data-theme="dark"]) {
  --bg: #f3f5f9;
  --bg2: #ffffff;
  --surface: #ffffff;
  --surface2: #eef2f8;
  --line: rgba(10, 14, 22, 0.1);
  --line2: rgba(10, 14, 22, 0.2);
  --fg: #0b0f17;
  --muted: #4b5563;
  --subtle: #7b8494;
  --glow: rgba(0, 128, 217, 0.25);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --grid: rgba(0, 128, 217, 0.1);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rapido { --dur: 0.45s; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
body.sin-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-t); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--azul2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--azul); color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(100%, 1560px); margin: 0 auto; padding: 0 var(--gutter); }

/* texto de apoyo tipo consola */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azul2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--azul2); }
.h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; }
.h2 .az { color: var(--azul2); }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); max-width: 60ch; }

.sec { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.centro { text-align: center; }
.sec-head.centro .eyebrow { justify-content: center; }
.sec-head.centro .h2, .sec-head.centro .lead { margin-inline: auto; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-t); font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  border: 1px solid var(--line2); color: var(--fg);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); border-color: var(--azul2); }
.btn-azul { background: linear-gradient(135deg, var(--azul), #1b96ea); border-color: transparent; color: #fff; box-shadow: 0 10px 30px var(--glow); }
.btn-azul:hover { box-shadow: 0 16px 40px var(--glow); }
.btn-fantasma { background: transparent; }
.btn .fl { transition: transform 0.25s var(--ease); }
.btn:hover .fl { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Fondo: rejilla técnica y resplandor que sigue al cursor
   -------------------------------------------------------------------------- */
.fondo {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 128, 217, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(56, 167, 240, 0.08), transparent 60%),
    var(--bg);
}
.fondo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.6;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(56, 167, 240, 0.14), transparent 60%);
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  transition: opacity 0.6s;
}
@media (pointer: fine) { .cursor-glow.on { opacity: 1; } }

/* --------------------------------------------------------------------------
   Barra de navegación
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 18px; width: 100%; max-width: none; }
.nav-logo { flex: none; }
.nav-logo img { height: 54px; width: auto; max-width: none; flex: none; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.nav-logo .claro, html:not([data-theme="dark"]) .nav-logo .oscuro { display: none; }
html:not([data-theme="dark"]) .nav-logo .claro { display: block; }
.nav-links { display: none; margin-left: auto; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.activo { color: var(--fg); background: var(--line); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-tools { margin-left: auto !important; }
@media (min-width: 1280px) { .nav-tools { margin-left: 8px !important; } }
.nav-cta { display: none; }
.lang { display: flex; flex: none; white-space: nowrap; align-items: center; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; gap: 2px; }
.lang a {
  font-family: var(--font-m); font-size: 12px; padding: 5px 9px; border-radius: 999px; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lang a[aria-current="true"] { background: var(--azul); color: #fff; }
.lang a:hover:not([aria-current="true"]) { color: var(--fg); }
.ico-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line2); color: var(--muted); transition: color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.ico-btn:hover { color: var(--fg); border-color: var(--azul2); transform: rotate(-12deg); }
.ico-btn svg { width: 18px; height: 18px; }
.theme-btn .luna, html:not([data-theme="dark"]) .theme-btn .sol { display: none; }
html:not([data-theme="dark"]) .theme-btn .luna { display: block; }

.nav-links a, .nav-cta { white-space: nowrap; }
.nav-tools { flex: none; }
.menu-btn { display: grid; }
@media (min-width: 1280px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; min-height: 40px; padding: 0 18px; font-size: 14px; }
  .menu-btn { display: none; }
}

/* barra de marcas (bajo la nav) */
.brandbar {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 55; height: var(--bar-h);
  display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--bg2) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.brandbar::-webkit-scrollbar { display: none; }
.brandbar.oculta { transform: translateY(-110%); opacity: 0; }
.brandbar a {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 18px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--muted);
  border-right: 1px solid var(--line); transition: color 0.2s, background 0.2s;
}
.brandbar a:last-child { border-right: 0; }
.brandbar a:hover { color: var(--fg); background: var(--line); }
.brandbar .mono { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bc, var(--surface2)); }
.brandbar .mono img { width: 14px; height: 14px; object-fit: contain; }
.brandbar .sector { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
@media (max-width: 1023px) { .brandbar .sector { display: none; } }

/* --------------------------------------------------------------------------
   HERO cinematográfico — se controla con --p (0→1 según el scroll)
   -------------------------------------------------------------------------- */
.hero-wrap { height: 250vh; position: relative; }
html.rapido .hero-wrap { height: 170vh; }
.hero {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center; isolation: isolate;
  --p: 0;
}
.hero-media { position: absolute; inset: 0; z-index: -3; background: #070a10; }
.hero-media::before { content: ""; position: absolute; inset: -40px; background: url("../assets/video/gci-machine-poster.jpg") center/cover no-repeat; filter: blur(28px) brightness(0.5); }
.hero-media video, .hero-media img { position: relative; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  transform: scale(calc(1.12 - var(--p) * 0.12));
  filter: saturate(1.1) contrast(1.05);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 45%, transparent 30%, rgba(4, 6, 10, 0.85) 100%),
    linear-gradient(to bottom, rgba(4, 6, 10, 0.55), transparent 30%, transparent 60%, var(--bg) 100%);
}
html:not([data-theme="dark"]) .hero-media::after {
  background:
    radial-gradient(70% 60% at 50% 45%, transparent 30%, rgba(4, 6, 10, 0.7) 100%),
    linear-gradient(to bottom, rgba(4, 6, 10, 0.5), transparent 35%, transparent 65%, var(--bg) 100%);
}
.hero-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-scan {
  position: absolute; left: 0; right: 0; height: 2px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--azul2), transparent);
  top: calc(var(--p) * 100%); opacity: calc(0.9 - var(--p));
  box-shadow: 0 0 24px var(--azul2);
}

.hero-inner { position: relative; text-align: center; padding: calc(var(--nav-h) + var(--bar-h) + 8px) var(--gutter) 56px; width: 100%; max-width: 1200px; color: #fff; }
/* cada capa aparece en su tramo de --p */
.capa { --a: 0; --b: 1; opacity: clamp(0, calc((var(--p) - var(--a)) / (var(--b) - var(--a))), 1); }
.hero-intro { --a: -0.2; --b: -0.1; margin-bottom: clamp(12px, 2vh, 24px); }
.hero-intro .l1 {
  font-family: var(--font-m); font-size: clamp(11px, 1.1vw, 14px); letter-spacing: 0.32em; text-transform: uppercase; color: var(--azul3);
  margin-bottom: 6px;
}
.hero-intro .l2 {
  font-family: var(--font-t); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  font-size: clamp(18px, 3vw, 40px); color: var(--azul2); margin-top: 6px;
  text-shadow: 0 0 40px var(--glow);
}
.hero-logo { --a: 0.04; --b: 0.16; display: inline-block; position: relative; padding: clamp(14px, 2vh, 22px) clamp(22px, 3vw, 36px); border-radius: 26px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 60px var(--glow); }
.hero-logo img { height: clamp(110px, 17vh, 170px); width: auto; margin: 0 auto;
  transform: scale(calc(0.86 + clamp(0, calc((var(--p) - 0.04) / 0.12), 1) * 0.14)); }
.hero-logo .anillo {
  position: absolute; inset: -10%; border-radius: 50%; border: 1px solid rgba(56, 167, 240, 0.35);
  mask-image: conic-gradient(from calc(var(--p) * 720deg), #000 0 25%, transparent 35% 100%);
  animation: girar 12s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.hero-holding { --a: 0.14; --b: 0.22; font-family: var(--font-m); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin: 14px 0 0; }

.hero-monos { display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); margin: clamp(14px, 2.4vh, 26px) 0; flex-wrap: wrap; }
.hero-monos .mono {
  --i: 0; --a: calc(0.22 + var(--i) * 0.05); --b: calc(var(--a) + 0.08);
  opacity: clamp(0, calc((var(--p) - var(--a)) / 0.06), 1);
  width: clamp(48px, 6vw, 68px); height: clamp(48px, 6vw, 68px); border-radius: 50%;
  display: grid; place-items: center; background: var(--bc, #111); border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 0 var(--glow);
  transform: translate(calc(var(--dx, 0) * (1 - clamp(0, calc((var(--p) - var(--a)) / 0.1), 1)) * 1px),
                       calc(var(--dy, 0) * (1 - clamp(0, calc((var(--p) - var(--a)) / 0.1), 1)) * 1px))
             rotate(calc(var(--rot, 0) * (1 - clamp(0, calc((var(--p) - var(--a)) / 0.1), 1)) * 1deg));
  transition: box-shadow 0.3s, scale 0.3s;
}
.hero-monos .mono:hover { scale: 1.08; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 8px var(--glow); }
.hero-monos .mono img { width: 58%; height: 58%; object-fit: contain; }

.hero-title { --a: 0.5; --b: 0.62; font-size: clamp(38px, 6.4vw, 92px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; font-weight: 800; }
.hero-title .l2 { display: block; color: var(--azul2); text-shadow: 0 0 60px var(--glow); }
.hero-sub { --a: 0.6; --b: 0.7; margin: 12px auto 0; max-width: 60ch; color: rgba(255, 255, 255, 0.78); font-size: clamp(15px, 1.4vw, 20px); }
.hero-cta { --a: 0.68; --b: 0.78; margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hud {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2;
  width: min(360px, 70vw); text-align: center; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--azul3);
  opacity: clamp(0, calc(1 - (var(--p) - 0.75) * 6), 1);
}
.hud .pct { font-size: 13px; color: #fff; margin-top: 2px; }
.hud .barra { height: 2px; margin-top: 8px; background: rgba(255, 255, 255, 0.15); overflow: hidden; border-radius: 2px; }
.hud .barra i { display: block; height: 100%; width: 100%; background: var(--azul2); transform-origin: left; transform: scaleX(var(--p)); }
.hud-flecha { display: block; margin: 8px auto 0; width: 14px; height: 14px; border-right: 1px solid var(--azul3); border-bottom: 1px solid var(--azul3); transform: rotate(45deg); animation: flecha 1.6s ease-in-out infinite; }
@keyframes flecha { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; } 50% { transform: translateY(6px) rotate(45deg); opacity: 1; } }

.bandera { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + var(--bar-h) + 14px); z-index: 2; width: 38px; height: 24px; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); opacity: 0.9; }
.bandera img, .bandera video { width: 100%; height: 100%; object-fit: cover; }
.bandera.cn { left: calc(var(--gutter) + 48px); }

@media (max-width: 767px) {
  .hero-wrap { height: 200vh; }
  html.rapido .hero-wrap { height: 150vh; }
  .hero-media video, .hero-media img { object-position: 50% 40%; }
}
@media (max-aspect-ratio: 1/1) {
  .hero-media video, .hero-media img { object-fit: contain; object-position: 50% 42%; transform: scale(calc(1.04 - var(--p) * 0.04)); }
  .hero-logo img { height: clamp(80px, 12vh, 110px); }
  .hero-inner { padding-top: calc(var(--nav-h) + var(--bar-h) + 50px); padding-bottom: 90px; }
  .hero-intro .l2 { font-size: 16px; letter-spacing: 0.14em; }
  .hud { bottom: calc(var(--tab-h) + 12px + env(safe-area-inset-bottom)); }
  .bandera { top: calc(var(--nav-h) + var(--bar-h) + 12px); width: 30px; height: 19px; }
  .bandera.cn { left: calc(var(--gutter) + 38px); }
}

/* --------------------------------------------------------------------------
   Revelado por sección (IntersectionObserver pone .in)
   -------------------------------------------------------------------------- */
[data-fx] { --d: 0ms; }
[data-fx="rise"] { opacity: 0; transform: translateY(36px); transition: opacity var(--dur) var(--ease) var(--d), transform var(--dur) var(--ease) var(--d); }
[data-fx="rise"].in { opacity: 1; transform: none; }
[data-fx="scale"] { opacity: 0; transform: scale(0.92); transition: opacity var(--dur) var(--ease) var(--d), transform var(--dur) var(--ease) var(--d); }
[data-fx="scale"].in { opacity: 1; transform: none; }
[data-fx="izq"] { opacity: 0; transform: translateX(-40px); transition: opacity var(--dur) var(--ease) var(--d), transform var(--dur) var(--ease) var(--d); }
[data-fx="der"] { opacity: 0; transform: translateX(40px); transition: opacity var(--dur) var(--ease) var(--d), transform var(--dur) var(--ease) var(--d); }
[data-fx="izq"].in, [data-fx="der"].in { opacity: 1; transform: none; }
[data-fx="wipe"] { clip-path: inset(0 100% 0 0); transition: clip-path calc(var(--dur) * 1.3) var(--ease) var(--d); }
[data-fx="wipe"].in { clip-path: inset(0 0 0 0); }
[data-fx="decode"] .w { display: inline-block; opacity: 0; transform: translateY(0.4em) rotateX(60deg); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d)); }
[data-fx="decode"].in .w { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms) !important; }

/* --------------------------------------------------------------------------
   EMPRESA — video anclado con zoom + cifras
   -------------------------------------------------------------------------- */
.empresa { position: relative; min-height: 90vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: #fff; }
.empresa-media { position: absolute; inset: 0; z-index: -2; }
.empresa-media video, .empresa-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateY(var(--par, 0)); transition: transform 0.1s var(--ease); }
.empresa-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 10, 0.92) 0%, rgba(4, 6, 10, 0.75) 45%, rgba(4, 6, 10, 0.35) 100%), linear-gradient(to bottom, var(--bg), transparent 20%, transparent 80%, var(--bg)); }
.empresa-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.empresa .h2 { max-width: 14ch; }
.empresa .lead { color: rgba(255, 255, 255, 0.78); }
.empresa .lead strong { color: #fff; }
.cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cifra {
  padding: 22px 20px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 21, 31, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.cifra::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--glow), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.cifra:hover::before { opacity: 1; }
.cifra .n { font-family: var(--font-t); font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1; color: var(--azul2); }
.cifra .n small { font-size: 0.5em; color: var(--azul3); }
.cifra .t { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.cifra .f { position: absolute; right: 14px; top: 12px; font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em; color: var(--subtle); }
@media (min-width: 900px) { .empresa-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* --------------------------------------------------------------------------
   MARCAS — tarjetas con el fondo nativo de cada logo, inclinación y brillo
   -------------------------------------------------------------------------- */
.brands-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); perspective: 1400px; }
.brand-card {
  --bc: var(--surface); --ac: var(--azul2);
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.brand-card:hover { border-color: color-mix(in srgb, var(--ac) 60%, transparent); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--ac) 30%, transparent); }
.brand-card .brillo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ac) 22%, transparent), transparent 55%); opacity: 0; transition: opacity 0.3s; }
.brand-card:hover .brillo { opacity: 1; }
.brand-logo {
  height: 150px; display: grid; place-items: center; background: var(--bc); padding: 26px 30px; position: relative; overflow: hidden;
}
.brand-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.brand-card:hover .brand-logo::after { transform: translateX(120%); }
.brand-logo img { max-height: 84px; width: auto; max-width: 78%; object-fit: contain; transition: transform 0.4s var(--ease); }
.brand-card:hover .brand-logo img { transform: scale(1.05); }
.brand-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.brand-body h3 { font-size: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-body .sector { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac); padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent); border-radius: 999px; white-space: nowrap; }
.brand-body .claim { color: var(--ac); font-weight: 600; font-size: 15px; }
.brand-body .desc { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.brand-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.brand-foot .dom { font-family: var(--font-m); font-size: 12px; color: var(--subtle); }
.brand-foot .go { font-weight: 600; color: var(--fg); display: inline-flex; gap: 6px; align-items: center; }
.brand-foot .go .fl { transition: transform 0.25s var(--ease); }
.brand-card:hover .go .fl { transform: translateX(4px); }
.brand-card .num { position: absolute; top: 12px; left: 14px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); mix-blend-mode: difference; }

/* --------------------------------------------------------------------------
   ASTROMART — canal de venta, órbita con cometa
   -------------------------------------------------------------------------- */
.astro { position: relative; overflow: hidden; }
.astro-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.astro-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.feat { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s, transform 0.3s var(--ease); }
.feat:hover { border-color: var(--astromart2); transform: translateY(-3px); }
.feat .t { font-family: var(--font-t); font-weight: 700; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.feat .t i { width: 8px; height: 8px; border-radius: 50%; background: var(--astromart2); box-shadow: 0 0 12px var(--astromart2); }
.feat .d { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.astro-stage {
  position: relative; aspect-ratio: 1 / 0.85; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 60% at 50% 50%, #1a0b33 0%, #0a0a0f 70%); border: 1px solid rgba(139, 92, 246, 0.25);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.astro-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.astro-stage .logo { position: relative; z-index: 2; width: min(70%, 420px); opacity: 0; transform: scale(0.9); transition: opacity 1s var(--ease) 0.9s, transform 1s var(--ease) 0.9s; filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.5)); }
.astro-stage.in .logo { opacity: 1; transform: none; }
.astro-stage .tag { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: #c4b5fd; z-index: 2; }
.astro .btn-morado { background: linear-gradient(135deg, var(--astromart), var(--astromart2)); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(91, 45, 155, 0.45); }
.astro .dom { font-family: var(--font-m); color: var(--astromart2); font-size: 13px; }
@media (min-width: 960px) { .astro-grid { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   HERRAMIENTAS — la suite de ASTROMART: 12 tarjetas por grupo, ícono de línea, estado
   -------------------------------------------------------------------------- */
.suite { display: grid; gap: 28px; }
.suite-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--subtle); margin-bottom: 12px; }
.suite-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.suite-fila { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.g-principales .suite-fila { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.suite-card {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: inherit;
  overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.suite-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at 0% 0%, color-mix(in srgb, var(--azul) 18%, transparent), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.suite-card:hover { transform: translateY(-4px); border-color: var(--azul); box-shadow: var(--shadow); }
.suite-card:hover::before { opacity: 1; }
.suite-ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--azul) 12%, var(--surface2)); color: var(--azul2); border: 1px solid color-mix(in srgb, var(--azul) 30%, transparent); position: relative; }
.suite-ico svg { width: 36px; height: 36px; transition: transform 0.5s var(--ease); }
.suite-card:hover .suite-ico svg { transform: scale(1.1) rotate(-4deg); }
.suite-body { position: relative; min-width: 0; }
.suite-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.suite-card h3 { font-size: 22px; }
.estado { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--subtle); white-space: nowrap; }
.estado i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.est-disponible .estado { color: #3fb27f; border-color: rgba(63, 178, 127, 0.5); }
.est-disponible .estado i { box-shadow: 0 0 0 0 rgba(63, 178, 127, 0.5); animation: pulso 1.8s ease-out infinite; }
.est-construccion .estado { color: #d9a03c; border-color: rgba(217, 160, 60, 0.5); }
.est-proximamente .suite-ico { color: var(--muted); background: var(--surface2); border-color: var(--line); }
.suite-card .kind { color: var(--azul2); font-size: 13px; font-weight: 600; margin-top: 4px; }
.est-proximamente .kind { color: var(--muted); }
.suite-card .desc { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.suite-card .marca { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.suite-card .marca img { width: 14px; height: 14px; object-fit: contain; }
.suite-marcas { display: grid; gap: 28px; }
@media (min-width: 1100px) {
  .suite-marcas { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 18px; align-items: start; }
  .suite-marcas .suite-fila { grid-template-columns: 1fr; }
  .g-neumatica .suite-fila { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .suite-card { grid-template-columns: 52px 1fr; padding: 16px; } .suite-ico { width: 52px; height: 52px; } .suite-ico svg { width: 30px; height: 30px; } }

/* --------------------------------------------------------------------------
   REYNOSA — radar y mapa estilizado
   -------------------------------------------------------------------------- */
.reynosa { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.reynosa-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/video/industrial-poster.jpg") center/cover no-repeat; transform: scale(1.08) translateY(var(--par, 0)); }
.reynosa-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 10, 0.94) 0%, rgba(4, 6, 10, 0.78) 50%, rgba(4, 6, 10, 0.45) 100%), linear-gradient(to bottom, var(--bg), transparent 15%, transparent 85%, var(--bg)); }
.reynosa-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(56, 167, 240, 0.5); font-family: var(--font-m); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul3); margin-bottom: 18px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--azul2); box-shadow: 0 0 0 0 var(--glow); animation: pulso 1.8s ease-out infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 var(--glow); } 100% { box-shadow: 0 0 0 14px transparent; } }
.reynosa .lead { color: rgba(255, 255, 255, 0.78); }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.dato { padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 21, 31, 0.6); backdrop-filter: blur(8px); }
.dato .k { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul3); }
.dato .v { margin-top: 6px; font-weight: 600; font-size: 15px; }
.radar { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.radar svg { width: 100%; height: 100%; }
.radar .barrido { transform-origin: 50% 50%; animation: girar 5s linear infinite; }
.radar .ping { transform-origin: 50% 50%; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.radar .etiqueta { position: absolute; left: 50%; top: 50%; transform: translate(14px, -50%); padding: 8px 12px; border-radius: 10px; background: rgba(16, 21, 31, 0.9); border: 1px solid rgba(56, 167, 240, 0.5); font-family: var(--font-m); font-size: 11px; letter-spacing: 0.1em; white-space: nowrap; }
@media (min-width: 960px) { .reynosa-grid { grid-template-columns: 1.1fr 0.9fr; } }
@media (max-width: 600px) { .datos { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CONTACTO
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 18px; margin-top: 28px; }
.cinfo { display: flex; gap: 14px; align-items: flex-start; }
.cinfo .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--azul2); flex: none; }
.cinfo .ic svg { width: 20px; height: 20px; }
.cinfo .k { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); }
.cinfo .v { font-weight: 600; font-size: 17px; }
.cinfo .v a:hover { color: var(--azul2); }
.cinfo .s { color: var(--muted); font-size: 14px; }
.form-card { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--azul), transparent 40%, transparent 60%, var(--azul2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo.full { grid-column: 1 / -1; }
.campo label { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); color: var(--fg);
  font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 0; border-color: var(--azul2); box-shadow: 0 0 0 4px var(--glow); }
.campo textarea { min-height: 130px; resize: vertical; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--azul); }
.consent a { color: var(--azul2); text-decoration: underline; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: 14px; color: var(--muted); }
.form-msg.err { color: #ff7a7a; }
.form-ok { text-align: center; padding: 30px 10px; }
.form-ok .palomita { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: #fff; box-shadow: 0 0 0 10px var(--glow); animation: pop 0.6s var(--ease); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   PIE
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(28px + var(--tab-h)); background: var(--bg2); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { height: 84px; width: auto; }
.footer-brand .claro, html:not([data-theme="dark"]) .footer-brand .oscuro { display: none; }
html:not([data-theme="dark"]) .footer-brand .claro { display: block; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 36ch; margin: 14px 0 0; }
.footer-brand .firma { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--azul2); margin-top: 10px; }
.footer h4 { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.footer li a:hover { color: var(--fg); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--subtle); }
.footer-bottom .mx { font-family: var(--font-m); letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer { padding-bottom: 28px; } }

/* --------------------------------------------------------------------------
   MÓVIL — barra inferior y hoja
   -------------------------------------------------------------------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--bg2) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .activo, .tabbar a:active { color: var(--azul2); }
.tabbar .central { color: #fff; }
.tabbar .central span.ic { width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--azul), var(--azul2)); box-shadow: 0 10px 24px var(--glow); }
.sheet-fondo { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sheet-fondo.abierta { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 88vh; overflow: auto;
  background: var(--bg2); border-radius: 24px 24px 0 0; border-top: 1px solid var(--line2);
  transform: translateY(105%); transition: transform 0.4s var(--ease); padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  touch-action: pan-y;
}
.sheet.abierta { transform: none; }
.sheet .asa { width: 44px; height: 5px; border-radius: 3px; background: var(--line2); margin: 6px auto 18px; }
.sheet h4 { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); margin: 18px 0 10px; font-weight: 500; }
.sheet .lista { display: grid; gap: 6px; }
.sheet .lista a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-weight: 600; font-size: 16px; }
.sheet .lista a .mono { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bc, var(--surface2)); }
.sheet .lista a .mono img { width: 16px; height: 16px; object-fit: contain; }
.sheet .fila { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (min-width: 1024px) { .tabbar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------------------------
   Páginas interiores (Quiénes somos, legales, 404)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + var(--bar-h) + 80px) 0 70px; overflow: hidden; isolation: isolate; color: #fff; min-height: 70vh; display: grid; align-items: end; }
.page-hero .media { position: absolute; inset: 0; z-index: -2; }
.page-hero .media video, .page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(4, 6, 10, 0.6), rgba(4, 6, 10, 0.3) 50%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(42px, 7vw, 96px); text-transform: uppercase; letter-spacing: -0.02em; }
.page-hero .sub { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--azul3); margin: 14px 0 18px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); }
.page-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.shield { position: relative; min-height: 80vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; color: #fff; }
.shield .media { position: absolute; inset: 0; z-index: -2; }
.shield .media video, .shield .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translateY(var(--par, 0)); }
.shield .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(4, 6, 10, 0.2), rgba(4, 6, 10, 0.85)), linear-gradient(to bottom, var(--bg), transparent 15%, transparent 85%, var(--bg)); }
.shield .h2 { margin-inline: auto; font-size: clamp(40px, 7vw, 92px); }
.shield .lead { margin: 18px auto 0; color: rgba(255, 255, 255, 0.8); }

.ficha { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ficha div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ficha div:last-child { border-bottom: 0; }
.ficha .k { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); padding-top: 3px; }
.ficha .v { font-weight: 600; }
.dos { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .dos { grid-template-columns: 1.1fr 0.9fr; } }
.identidad-logo { display: grid; place-items: center; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.identidad-logo img { width: min(100%, 360px); }
.identidad-logo .claro, html:not([data-theme="dark"]) .identidad-logo .oscuro { display: none; }
html:not([data-theme="dark"]) .identidad-logo .claro { display: block; }
.identidad-logo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, var(--glow), transparent 70%); opacity: 0.8; }

.mv { display: grid; gap: 18px; }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }
.card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 28px; position: relative; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.card:hover { transform: translateY(-4px); border-color: var(--azul); box-shadow: var(--shadow); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--azul) 14%, transparent); color: var(--azul2); margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card .n { position: absolute; top: 16px; right: 18px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; color: var(--subtle); }
.valores { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: v; }
.valor { padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; transition: transform 0.35s var(--ease), border-color 0.3s; }
.valor:hover { transform: translateY(-4px); border-color: var(--azul2); }
.valor::before { counter-increment: v; content: "0" counter(v); font-family: var(--font-m); font-size: 12px; letter-spacing: 0.2em; color: var(--azul2); display: block; margin-bottom: 12px; }
.valor h3 { font-size: 20px; margin-bottom: 8px; }
.valor p { color: var(--muted); font-size: 15px; margin: 0; }
.pilares { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.estructura { display: grid; gap: 12px; }
.fila-marca { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 20px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: transform 0.3s var(--ease), border-color 0.3s; }
.fila-marca:hover { transform: translateX(6px); border-color: var(--ac, var(--azul)); }
.fila-marca .logo { height: 64px; border-radius: 10px; background: var(--bc, var(--surface2)); display: grid; place-items: center; padding: 10px 14px; }
.fila-marca .logo img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.fila-marca .t { font-weight: 700; font-family: var(--font-t); font-size: 20px; }
.fila-marca .c { color: var(--muted); font-size: 14px; }
.fila-marca .dom { font-family: var(--font-m); font-size: 12px; color: var(--subtle); white-space: nowrap; }
@media (max-width: 600px) { .fila-marca { grid-template-columns: 110px 1fr; } .fila-marca .dom { display: none; } }
.cta-final { text-align: center; padding: clamp(40px, 6vw, 80px) var(--gutter); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--azul) 18%, var(--surface)), var(--surface)); position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, var(--glow), transparent 70%); }
.cta-final > * { position: relative; }
.cta-final .h2 { margin-inline: auto; }
.cta-final .lead { margin: 16px auto 24px; }
.cta-final .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.legal { padding-top: calc(var(--nav-h) + var(--bar-h) + 60px); max-width: 78ch; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal .pend { background: rgba(255, 196, 0, 0.14); border: 1px dashed rgba(255, 196, 0, 0.6); padding: 2px 8px; border-radius: 6px; color: #ffd166; font-family: var(--font-m); font-size: 13px; }
.legal .rev { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }

.p404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) var(--gutter) 60px; }
.p404 .n { font-family: var(--font-t); font-size: clamp(100px, 22vw, 240px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--azul2); text-stroke: 2px var(--azul2); }
.p404 h1 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0; }

/* --------------------------------------------------------------------------
   Arriba
   -------------------------------------------------------------------------- */
.arriba { position: fixed; right: 18px; bottom: calc(18px + var(--tab-h) + env(safe-area-inset-bottom)); z-index: 65; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line2); color: var(--fg); opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); box-shadow: var(--shadow); }
.arriba.ver { opacity: 1; transform: none; }
.arriba svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .arriba { bottom: 24px; } }

/* --------------------------------------------------------------------------
   Movimiento reducido: todo visible, sin escenas
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-fx], [data-fx="decode"] .w, .astro-stage .logo { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hero-wrap { height: auto !important; }
  .hero { position: relative; --p: 1 !important; }
  .hero .capa { opacity: 1 !important; }
  .hero-monos .mono { transform: none !important; }
  .hero-scan, .tool-img .scan, .radar .barrido, .radar .ping, .hud-flecha, .hero-logo .anillo, .badge i { animation: none !important; display: none; }
  .hero-media video, .hero-media img { transform: none; }
}

/* --------------------------------------------------------------------------
   Capa tecnológica: progreso, HUD de esquinas, telemetría, ticker, esquinas de tarjeta
   -------------------------------------------------------------------------- */
.progreso { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--azul), var(--azul2)); transform-origin: left; transform: scaleX(var(--sp, 0)); box-shadow: 0 0 12px var(--glow); pointer-events: none; }
.esquinas { position: absolute; inset: calc(var(--nav-h) + var(--bar-h) + 12px) var(--gutter) 14px; pointer-events: none; z-index: 2; opacity: calc(0.9 - var(--p) * 0.6); }
.esquinas i { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(124, 199, 255, 0.7); }
.esquinas i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.esquinas i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.esquinas i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.esquinas i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.telemetria { position: absolute; right: calc(var(--gutter) + 12px); top: calc(var(--nav-h) + var(--bar-h) + 24px); z-index: 2; font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(124, 199, 255, 0.85); text-align: right; line-height: 1.9; opacity: calc(1 - var(--p) * 1.6); pointer-events: none; }
.telemetria b { color: #fff; font-weight: 500; }
.telemetria .vivo::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3fb27f; margin-right: 6px; box-shadow: 0 0 8px #3fb27f; animation: parpadeo 1.4s ease-in-out infinite; }
@keyframes parpadeo { 50% { opacity: 0.2; } }
@media (max-width: 767px) { .telemetria { display: none; } .esquinas { inset: calc(var(--nav-h) + var(--bar-h) + 10px) 12px calc(var(--tab-h) + 60px); } }
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); padding: 12px 0; font-family: var(--font-m); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-pista { display: flex; gap: 48px; width: max-content; animation: correr 40s linear infinite; }
.ticker:hover .ticker-pista { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.ticker span::after { content: "◆"; color: var(--azul2); font-size: 8px; }
.ticker b { color: var(--azul2); font-weight: 500; }
@keyframes correr { to { transform: translateX(-50%); } }
.brand-card::after, .suite-card::after, .card::after, .valor::after, .feat::after, .dato::after, .cifra::after {
  content: ""; position: absolute; inset: 8px; pointer-events: none; border-radius: 10px; opacity: 0; transition: opacity 0.3s;
  background:
    linear-gradient(var(--azul2), var(--azul2)) top left / 14px 1px no-repeat, linear-gradient(var(--azul2), var(--azul2)) top left / 1px 14px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) top right / 14px 1px no-repeat, linear-gradient(var(--azul2), var(--azul2)) top right / 1px 14px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) bottom left / 14px 1px no-repeat, linear-gradient(var(--azul2), var(--azul2)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) bottom right / 14px 1px no-repeat, linear-gradient(var(--azul2), var(--azul2)) bottom right / 1px 14px no-repeat;
}
.brand-card:hover::after, .suite-card:hover::after, .card:hover::after, .valor:hover::after, .feat:hover::after, .dato:hover::after, .cifra:hover::after { opacity: 1; }
.eyebrow::after { content: ""; width: 7px; height: 13px; background: var(--azul2); margin-left: 2px; animation: parpadeo 1s steps(2) infinite; }
.btn-azul { position: relative; overflow: hidden; }
.btn-azul::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-130%); transition: transform 0.8s var(--ease); }
.btn-azul:hover::after { transform: translateX(130%); }
html:not([data-theme="dark"]) .fondo::after { opacity: 0.9; }
html:not([data-theme="dark"]) .hero-inner, html:not([data-theme="dark"]) .empresa, html:not([data-theme="dark"]) .reynosa { color: #fff; }
@media (prefers-reduced-motion: reduce) { .ticker-pista, .telemetria .vivo::before, .eyebrow::after { animation: none !important; } }

/* --------------------------------------------------------------------------
   Ronda 3: pipeline de ingenieros, mapa de México, Fundador, Calcula
   -------------------------------------------------------------------------- */
.pipeline { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); padding-top: 10px; }
.pipeline .linea { position: absolute; left: 32px; right: 32px; top: 38px; height: 2px; background: linear-gradient(90deg, var(--azul), var(--azul2)); box-shadow: 0 0 14px var(--glow); display: none; transform-origin: left; transform: scaleX(0) !important; transition: transform 1.6s var(--ease) 0.2s; }
.pipeline .linea.in { transform: scaleX(1) !important; }
@media (min-width: 1000px) { .pipeline .linea { display: block; } }
.paso { position: relative; padding: 0 4px; }
.paso .nodo { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--azul2); box-shadow: 0 0 0 6px color-mix(in srgb, var(--azul) 14%, transparent), 0 0 24px var(--glow); font-family: var(--font-m); font-size: 13px; color: var(--azul2); margin-bottom: 18px; position: relative; z-index: 1; transition: transform 0.4s var(--ease); }
.paso:hover .nodo { transform: scale(1.1) rotate(-6deg); }
.paso h3 { font-size: 22px; margin-bottom: 8px; }
.paso p { color: var(--muted); font-size: 15px; margin: 0; }
.sello-fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sello-fila .sello { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-t); font-weight: 600; font-size: 17px; }
.sello-fila .sello svg { width: 24px; height: 24px; color: var(--azul2); }

.plazas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.plaza { position: relative; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 21, 31, 0.6); backdrop-filter: blur(8px); transition: border-color 0.3s, transform 0.3s var(--ease); }
.plaza:hover { border-color: var(--azul2); transform: translateY(-3px); }
.plaza .num { position: absolute; top: 12px; right: 14px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; color: var(--azul3); }
.plaza .n { font-family: var(--font-t); font-weight: 700; font-size: 20px; }
.plaza .n small { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); margin-left: 6px; }
.plaza .tag { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azul2); margin: 6px 0 8px; }
.plaza:first-child .tag { color: #3fb27f; }
.plaza p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 560px) { .plazas { grid-template-columns: 1fr; } }
.mapa { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
.mapa-svg { width: 100%; height: auto; overflow: visible; }
.mapa-svg .pais-borde { fill: none; stroke: var(--azul2); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0 10px var(--glow)); stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.in .mapa-svg .pais-borde, .mapa.in .pais-borde { animation: trazar 3s var(--ease) forwards; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.mapa-svg .ruta { fill: none; stroke: #fff; stroke-width: 1.2; stroke-dasharray: 5 6; opacity: 0.8; animation: ruta 1.4s linear infinite; }
@keyframes ruta { to { stroke-dashoffset: -22; } }
.mapa-svg .plaza-pin circle { fill: var(--azul2); }
.mapa-svg .plaza-pin .ping { fill: none; stroke: var(--azul2); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * 0.5s); }
.mapa-svg .plaza-pin.debut circle { fill: #3fb27f; }
.mapa-svg .plaza-pin.debut .ping { stroke: #3fb27f; fill: none; }
.mapa-svg text { fill: #fff; font-family: var(--font-t); font-weight: 700; font-size: 14px; paint-order: stroke; stroke: rgba(4, 6, 10, 0.85); stroke-width: 4px; stroke-linejoin: round; }
.mapa-svg text.num { font-family: var(--font-m); font-weight: 400; font-size: 9px; letter-spacing: 0.14em; fill: var(--azul3); }
.mapa-svg text.titulo { font-family: var(--font-m); font-weight: 400; font-size: 10px; letter-spacing: 0.26em; fill: var(--azul3); stroke: none; }

.fundador-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
@media (min-width: 900px) { .fundador-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.retrato { display: grid; place-items: center; }
.retrato .placa { position: relative; width: min(100%, 300px); aspect-ratio: 1; border-radius: 36px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 128, 217, 0.35), rgba(4, 6, 10, 0.6)); border: 1px solid rgba(124, 199, 255, 0.4); backdrop-filter: blur(10px); box-shadow: var(--shadow), 0 0 60px var(--glow); }
.retrato .iniciales { font-family: var(--font-t); font-weight: 800; font-size: clamp(72px, 10vw, 120px); color: #fff; letter-spacing: -0.04em; text-shadow: 0 0 40px var(--glow); }
.retrato .anillo { position: absolute; inset: -8%; border-radius: 50%; border: 1px solid rgba(124, 199, 255, 0.5); mask-image: conic-gradient(#000 0 30%, transparent 40% 100%); animation: girar 10s linear infinite; }
.retrato .anillo.a2 { inset: -16%; animation-duration: 16s; animation-direction: reverse; border-color: rgba(124, 199, 255, 0.3); }
.retrato-tag { margin-top: 18px; display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(4, 6, 10, 0.78); border: 1px solid rgba(124, 199, 255, 0.55); font-family: var(--font-m); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
.lead.grande { font-size: clamp(19px, 1.7vw, 24px); color: var(--fg); }
.cifras.cuatro { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.cifras.cuatro .cifra, .dos .cifra { background: var(--surface); border-color: var(--line); }
.cifras.cuatro .cifra .t, .dos .cifra .t { color: var(--muted); }
.dos .cifra .t b { color: var(--fg); font-family: var(--font-t); font-size: 17px; }

.calcula-hero h1 { display: flex; align-items: center; gap: 18px; }
.ico-calcula { width: clamp(56px, 7vw, 96px); height: clamp(56px, 7vw, 96px); border-radius: 22px; display: grid; place-items: center; background: rgba(0, 128, 217, 0.25); border: 1px solid rgba(124, 199, 255, 0.5); color: #fff; flex: none; }
.ico-calcula svg { width: 60%; height: 60%; }
.disc-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.disc { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, transform 0.3s var(--ease); }
.disc:hover { border-color: var(--azul2); transform: translateX(4px); }
.disc .dn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-t); font-weight: 800; font-size: 20px; color: var(--azul2); background: color-mix(in srgb, var(--azul) 12%, var(--surface2)); flex: none; }
.disc b { display: block; font-family: var(--font-t); font-size: 15px; }
.disc span { font-size: 13px; color: var(--muted); }
.telefono { width: min(100%, 220px); margin: 20px auto 0; aspect-ratio: 9 / 18; border-radius: 32px; border: 2px solid var(--line2); background: #0a0817; padding: 18px 14px; box-shadow: var(--shadow), inset 0 0 0 4px #000; position: relative; }
.telefono::before { content: ""; position: absolute; top: 8px; left: 50%; width: 60px; height: 6px; border-radius: 3px; background: #222; transform: translateX(-50%); }
.telefono .pantalla { display: grid; gap: 10px; padding-top: 16px; }
.telefono .pb { height: 14px; border-radius: 7px; background: rgba(139, 92, 246, 0.35); }
.telefono .pb.c { width: 60%; background: rgba(56, 167, 240, 0.4); }
.telefono .pn { font-family: var(--font-t); font-weight: 800; font-size: 56px; color: #c4b5fd; text-align: center; padding: 8px 0; text-shadow: 0 0 30px rgba(139, 92, 246, 0.8); }
@media (prefers-reduced-motion: reduce) { .mapa-svg .ruta, .mapa-svg .plaza-pin .ping, .retrato .anillo { animation: none !important; } .mapa-svg .pais-borde { stroke-dashoffset: 0; } }

.fundador-hero .media::after { background: linear-gradient(to bottom, rgba(4, 6, 10, 0.72), rgba(4, 6, 10, 0.62) 55%, var(--bg) 100%); }
.fundador-hero .media img { filter: saturate(0.6); }
@media (max-width: 767px) { .page-hero { min-height: 60vh; } .retrato .placa { width: min(100%, 220px); } }

/* fotos del fundador */
.retrato .placa { aspect-ratio: 454 / 900; width: min(100%, 200px); border-radius: 28px; padding: 0; overflow: visible; background: none; border: 0; backdrop-filter: none; }
.retrato .placa img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; border: 1px solid rgba(124, 199, 255, 0.5); box-shadow: var(--shadow), 0 0 50px var(--glow); position: relative; z-index: 1; }
.retrato .anillo { border-radius: 36px; inset: -10px; mask-image: conic-gradient(#000 0 22%, transparent 30% 100%); }
.retrato .anillo.a2 { inset: -22px; border-radius: 46px; }
@media (max-width: 767px) { .retrato .placa { width: min(100%, 150px); } }
.fotos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); max-width: 820px; }
@media (max-width: 560px) { .fotos { grid-template-columns: repeat(2, 1fr); } }
.foto { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.3s; }
.foto:hover { transform: translateY(-4px); border-color: var(--azul2); }
.foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; filter: saturate(0.92); transition: transform 0.6s var(--ease); }
.foto:hover img { transform: scale(1.04); }
.foto figcaption { padding: 8px 10px; font-family: var(--font-m); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }

/* holomundo de Calcula */
.calcula-hero { min-height: 86vh; align-items: center; }
.holo-fondo { background: radial-gradient(70% 70% at 70% 45%, #1a0b33 0%, #0a0817 55%, #04060a 100%); }
.calcula-hero .media.holo-fondo::after { background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%); }
.calcula-grid { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
@media (min-width: 960px) { .calcula-grid { grid-template-columns: 0.95fr 1.05fr; } }
.holo { position: relative; width: 100%; aspect-ratio: 1 / 0.9; min-height: 320px; }
#holomundo { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.holo-cap { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--font-m); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #c4b5fd; pointer-events: none; }
@media (max-width: 959px) { .holo { aspect-ratio: 1 / 1; min-height: 300px; } }

/* el diamante de Calcula va en morado, su color */
.suite-card.est-disponible .suite-ico { color: #c4b5fd; background: rgba(139, 92, 214, 0.18); border-color: rgba(139, 92, 214, 0.5); }
.ico-calcula { background: rgba(139, 92, 214, 0.35); border-color: rgba(196, 181, 253, 0.7); box-shadow: 0 0 40px rgba(139, 92, 214, 0.6); }
.ico-calcula svg { width: 70%; height: 70%; }

.ico-calcula img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(196, 181, 253, 0.8)); }
.suite-ico img { width: 44px; height: 44px; object-fit: contain; }
.suite-card.est-disponible .suite-ico { background: #060b37; }

.ico-calcula { background: #0a0817; border-color: rgba(139, 92, 214, 0.6); }
.ico-calcula svg { width: 80%; height: 80%; filter: drop-shadow(0 0 8px rgba(139, 92, 214, 0.9)); }
.suite-card.est-disponible .suite-ico { background: #0a0817; border-color: rgba(139, 92, 214, 0.5); }
.suite-card.est-disponible .suite-ico svg { width: 44px; height: 44px; filter: drop-shadow(0 0 6px rgba(139, 92, 214, 0.8)); }

/* íconos de la suite, como en el mockup de Astromart: morado encendido si está lista, tenue si no */
.suite-ico { background: #0a0817; border-color: rgba(139, 92, 214, 0.35); color: #4a3a6e; --hi: #5f4b85; }
.suite-ico svg { width: 44px; height: 44px; }
.suite-card.est-disponible .suite-ico { color: #8b5cd6; --hi: #cdb4f2; border-color: rgba(139, 92, 214, 0.6); }
.suite-card.est-disponible .suite-ico svg { filter: drop-shadow(0 0 8px rgba(139, 92, 214, 0.55)); }
.suite-card:hover .suite-ico { color: #8b5cd6; --hi: #cdb4f2; }
.ico-calcula { color: #8b5cd6; --hi: #cdb4f2; }

/* el monograma de cada marca sobre su color de fondo nativo (Pneumex se pierde sobre blanco) */
.suite-card .marca .chip { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bc, var(--surface2)); border: 1px solid var(--line2); flex: none; }
.suite-card .marca .chip img { width: 13px; height: 13px; object-fit: contain; }

/* logo original de la marca en la tarjeta de la herramienta, sobre su fondo nativo */
.suite-card .marca-logo { display: inline-flex; align-items: center; margin-top: 12px; padding: 6px 12px; border-radius: 8px; background: var(--bc); border: 1px solid var(--line2); }
.suite-card .marca-logo img { height: 20px; width: auto; max-width: 140px; object-fit: contain; }

/* ==========================================================================
   Ronda móvil: monogramas tecnológicos y menú que impresiona
   ========================================================================== */
/* monogramas del hero: disco de la marca + anillo giratorio en su color + rubro */
.hero-monos { gap: clamp(14px, 2.6vw, 30px); }
.hero-monos .mono { position: relative; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible; }
.hero-monos .mono .disco { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bc); border: 1.5px solid rgba(255, 255, 255, 0.85); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(255, 255, 255, 0.08); }
.hero-monos .mono .disco img { width: 58%; height: 58%; object-fit: contain; }
.hero-monos .mono .aro { position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, var(--ac), transparent 30%, transparent 55%, var(--ac) 70%, transparent 85%); -webkit-mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px)); mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px)); animation: girar calc(5s + var(--i) * 0.7s) linear infinite; filter: drop-shadow(0 0 6px var(--ac)); }
.hero-monos .mono::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--ac) 45%, transparent); animation: girar 18s linear infinite reverse; }
.hero-monos .mono:hover .disco { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 6px color-mix(in srgb, var(--ac) 35%, transparent), 0 0 30px var(--ac); }
.mono-tag { position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%); font-family: var(--font-m); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ac); white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.hero-monos { margin-bottom: clamp(30px, 4.6vh, 46px); }
@media (max-width: 640px) { .mono-tag { display: none; } .hero-monos { margin-bottom: clamp(14px, 2.4vh, 26px); gap: 12px; } .hero-monos .mono::after { inset: -10px; } }

/* barra: el menú desde 1024 px se abre como panel lateral */
.sheet-top { display: flex; align-items: center; gap: 12px; padding: 4px 2px 14px; border-bottom: 1px solid var(--line); }
.sheet-top img { height: 40px; width: auto; }
.sheet-top .claro, html:not([data-theme="dark"]) .sheet-top .oscuro { display: none; }
html:not([data-theme="dark"]) .sheet-top .claro { display: block; }
.st-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.st-txt b { font-family: var(--font-t); font-size: 16px; }
.st-txt .vivo { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #3fb27f; }
.st-txt .vivo::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3fb27f; margin-right: 6px; box-shadow: 0 0 8px #3fb27f; animation: parpadeo 1.4s ease-in-out infinite; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mosaico { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 13px; line-height: 1.2; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.2s; transition-delay: calc(var(--i) * 35ms + 80ms); }
.sheet.abierta .mosaico, .sheet.abierta .m-logo { opacity: 1; transform: none; }
.mosaico::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px circle at 50% 0%, var(--glow), transparent 70%); opacity: 0.5; }
.mosaico:active { transform: scale(0.95); border-color: var(--azul2); }
.mosaico .mi { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--azul) 14%, var(--surface2)); color: var(--azul2); border: 1px solid color-mix(in srgb, var(--azul) 30%, transparent); }
.mosaico .mi svg { width: 22px; height: 22px; }
.mosaico .mi img { width: 22px; height: 22px; object-fit: contain; }
.mosaico:nth-child(4) .mi { background: #0a0817; color: #8b5cd6; --hi: #cdb4f2; border-color: rgba(139, 92, 214, 0.5); }
.mosaico:nth-child(4) .mi svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(139, 92, 214, 0.7)); }
.mosaico span:last-child { position: relative; }
.sheet-marcas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.m-logo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 12px; border-radius: 12px; background: var(--bc); border: 1px solid var(--line2);
  opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--i) * 40ms + 300ms); }
.m-logo img { height: 22px; width: auto; max-width: 100%; object-fit: contain; }
.m-logo span { font-family: var(--font-m); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a93a3; }
.sheet-acciones { display: grid; gap: 8px; margin-top: 16px; }
.sheet-acciones .btn { width: 100%; }
.sheet-acciones .btn svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .sheet { left: auto; top: 0; right: 0; bottom: 0; width: 440px; max-height: none; border-radius: 24px 0 0 24px; border-top: 0; border-left: 1px solid var(--line2); transform: translateX(105%); padding-top: 20px; }
  .sheet .asa { display: none; }
}
@media (max-width: 360px) { .sheet-grid { grid-template-columns: repeat(2, 1fr); } }

/* barra inferior: indicador encendido y botón central con pulso */
.tabbar a, .tabbar button { position: relative; }
.tabbar .activo::before { content: ""; position: absolute; top: 6px; width: 34px; height: 3px; border-radius: 3px; background: var(--azul2); box-shadow: 0 0 10px var(--azul2); }
.tabbar .central span.ic { position: relative; }
.tabbar .central span.ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 var(--glow); animation: pulso 2.2s ease-out infinite; }
@media (max-width: 420px) { .nav-tools .theme-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .mosaico, .m-logo { opacity: 1; transform: none; transition: none; } .hero-monos .mono .aro, .hero-monos .mono::after, .tabbar .central span.ic::after { animation: none; } }

/* celular: la primera pantalla ya trae logo y marcas (no medio vacía); el título entra al deslizar */
@media (max-width: 767px) {
  .hero-logo, .hero-holding { --a: -0.3 !important; --b: -0.1 !important; }
  .hero-monos .mono { opacity: 1 !important; transform: none !important; }
  .hero-media video { object-position: 50% 30%; }
  .hero-intro { margin-bottom: 26px !important; }
  .hero-intro .l2 { font-size: 15px; }
  .hero-intro, .hero-holding { display: inline-block; padding: 6px 12px; border-radius: 12px; background: rgba(4, 6, 10, 0.72); backdrop-filter: blur(6px); }
  .hero-intro { display: block; margin-inline: auto; max-width: 330px; }
  .hero-logo { padding: 10px 16px; }
  .hero-logo img { height: 84px !important; }
}

/* Los enlaces del menú vuelven a verse desde 1024 px (compactos); el botón azul y el menú ☰
   solo aparecen cuando no caben todos. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links { display: flex; gap: 0; }
  .nav-links a { padding: 7px 7px; font-size: 13.5px; }
  .menu-btn { display: none; }
  .nav-logo img { height: 46px; }
  .nav-tools .theme-btn { width: 36px; height: 36px; }
}

/* ==========================================================================
   Barra de navegación tecnológica: riel HUD, numeración, esquinas y escaneo
   ========================================================================== */
.nav-links { counter-reset: nn; align-items: center; padding: 3px; border-radius: 12px; border: 1px solid var(--line2);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), color-mix(in srgb, var(--surface2) 60%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px color-mix(in srgb, var(--azul) 8%, transparent); position: relative; }
.nav-links::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--azul2), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: riel 4s linear infinite; opacity: 0.8; }
@keyframes riel { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.nav-links a { counter-increment: nn; position: relative; border-radius: 9px; padding: 13px 12px 5px !important; font-family: var(--font-t); font-weight: 600; letter-spacing: 0.01em; line-height: 1; color: var(--muted); transition: color 0.2s, background 0.25s; }
.nav-links a::before { content: "0" counter(nn); position: absolute; top: 3px; left: 12px; font-family: var(--font-m); font-size: 8px; font-weight: 500; letter-spacing: 0.14em; color: var(--azul2); opacity: 0.75; }
.nav-links a::after { content: ""; position: absolute; inset: 0; border-radius: 9px; pointer-events: none; opacity: 0; transition: opacity 0.2s;
  background:
    linear-gradient(var(--azul2), var(--azul2)) top left / 7px 1.5px no-repeat, linear-gradient(var(--azul2), var(--azul2)) top left / 1.5px 7px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) top right / 7px 1.5px no-repeat, linear-gradient(var(--azul2), var(--azul2)) top right / 1.5px 7px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) bottom left / 7px 1.5px no-repeat, linear-gradient(var(--azul2), var(--azul2)) bottom left / 1.5px 7px no-repeat,
    linear-gradient(var(--azul2), var(--azul2)) bottom right / 7px 1.5px no-repeat, linear-gradient(var(--azul2), var(--azul2)) bottom right / 1.5px 7px no-repeat; }
.nav-links a:hover, .nav-links a.activo { color: var(--fg); background: color-mix(in srgb, var(--azul) 12%, transparent); }
.nav-links a:hover::after, .nav-links a.activo::after { opacity: 1; }
.nav-links a.activo { color: var(--azul2); text-shadow: 0 0 12px var(--glow); }
.nav-links a.activo::before { opacity: 1; }
@media (min-width: 1024px) and (max-width: 1279px) { .nav-links a { padding: 13px 7px 5px !important; } .nav-links a::before { left: 7px; } }

/* botón principal con esquinas cortadas, tipo panel de control */
.nav-cta { border-radius: 10px !important; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); font-family: var(--font-t); letter-spacing: 0.02em; }
.nav-cta::before { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: parpadeo 1.6s ease-in-out infinite; }
.nav-cta { padding-left: 22px !important; }

/* selector de idioma y botones redondos con aro de luz */
.lang { border-color: color-mix(in srgb, var(--azul) 35%, var(--line2)); box-shadow: inset 0 0 12px color-mix(in srgb, var(--azul) 10%, transparent); }
.lang a { font-weight: 500; letter-spacing: 0.08em; }
.lang a[aria-current="true"] { box-shadow: 0 0 12px var(--glow); }
.ico-btn { border-color: color-mix(in srgb, var(--azul) 35%, var(--line2)); position: relative; }
.ico-btn:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--azul) 18%, transparent), 0 0 16px var(--glow); color: var(--azul2); }

/* línea de luz que recorre el borde inferior de la barra */
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--azul2), transparent); background-size: 30% 100%; background-repeat: no-repeat; animation: riel 7s linear infinite; opacity: 0.6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nav-links::after, .nav::after, .nav-cta::before { animation: none; } }

/* ==========================================================================
   Botones de vidrio neón (referencia de Orlando, 15 oct): panel azul translúcido, borde que
   brilla, reflejo diagonal, número delgado grande y línea divisoria. Sustituye al riel HUD.
   ========================================================================== */
:root { --neon: #5fd0ff; --vidrio1: rgba(18, 104, 178, 0.92); --vidrio2: rgba(8, 52, 104, 0.92); }
.nav-links { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; gap: 8px !important; }
.nav-links::after { display: none; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px; overflow: hidden; isolation: isolate;
  padding: 7px 12px 7px 10px !important; border-radius: 10px; color: #e6f6ff !important; font-size: 13.5px; line-height: 1;
  background: linear-gradient(135deg, var(--vidrio1), var(--vidrio2));
  border: 1px solid rgba(95, 208, 255, 0.85);
  box-shadow: 0 0 10px rgba(56, 167, 240, 0.45), 0 0 1px rgba(255, 255, 255, 0.6), inset 0 0 14px rgba(95, 208, 255, 0.28);
  text-shadow: 0 0 8px rgba(95, 208, 255, 0.55); transition: box-shadow 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
/* número delgado + línea divisoria, como el 01 | HEADER de la referencia */
.nav-links a::before {
  position: static !important; content: "0" counter(nn) !important; font-family: var(--font-t) !important; font-weight: 300 !important; font-size: 17px !important;
  letter-spacing: -0.02em !important; color: rgba(205, 240, 255, 0.85) !important; opacity: 1 !important; padding-right: 8px; border-right: 1px solid rgba(95, 208, 255, 0.55);
}
/* reflejo diagonal del vidrio */
.nav-links a::after {
  opacity: 1 !important; inset: 0 !important; border-radius: inherit; z-index: -1;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 38%, transparent 38.5%, transparent 100%) !important;
}
.nav-links a:hover { transform: translateY(-1px); border-color: #a5e6ff; box-shadow: 0 0 18px rgba(56, 167, 240, 0.75), 0 0 2px #fff, inset 0 0 18px rgba(95, 208, 255, 0.4); background: linear-gradient(135deg, rgba(24, 124, 206, 0.95), rgba(10, 64, 124, 0.95)); }
.nav-links a.activo { border-color: #c4f0ff; box-shadow: 0 0 22px rgba(95, 208, 255, 0.9), 0 0 2px #fff, inset 0 0 20px rgba(95, 208, 255, 0.5); color: #fff !important; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links { gap: 5px !important; }
  .nav-links a { padding: 7px 8px !important; font-size: 12.5px; gap: 6px; }
  .nav-links a::before { font-size: 14px !important; padding-right: 6px; }
}
/* el número solo cuando hay espacio de sobra (con el botón azul visible, desde 1520 px) */
@media (min-width: 1024px) and (max-width: 1180px), (min-width: 1280px) and (max-width: 1519px) { .nav-links a::before { display: none; } }

/* mismos paneles de vidrio en el menú del celular */
.mosaico {
  background: linear-gradient(135deg, var(--vidrio1), var(--vidrio2)) !important; border: 1px solid rgba(95, 208, 255, 0.85) !important; color: #e6f6ff;
  box-shadow: 0 0 12px rgba(56, 167, 240, 0.45), inset 0 0 16px rgba(95, 208, 255, 0.28); isolation: isolate;
}
.mosaico::before { opacity: 1 !important; z-index: -1; background: linear-gradient(115deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 40%, transparent 40.5%) !important; }
.mosaico .mi { background: rgba(4, 30, 60, 0.55) !important; color: var(--neon) !important; border-color: rgba(95, 208, 255, 0.6) !important; box-shadow: 0 0 10px rgba(95, 208, 255, 0.35); }
.mosaico span:last-child { text-shadow: 0 0 8px rgba(95, 208, 255, 0.5); }
.mosaico:nth-child(4) .mi { background: #0a0817 !important; color: #8b5cd6 !important; }

/* videos del camino: misma tarjeta que las fotos, con indicador de grabación */
.foto { position: relative; }
.foto video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #05070c; }
.foto .rec { position: absolute; top: 8px; left: 8px; font-family: var(--font-m); font-size: 9px; letter-spacing: 0.16em; color: #fff; background: rgba(0, 0, 0, 0.55); padding: 3px 6px; border-radius: 4px; }
.foto .rec::first-letter { color: #ff4d4d; }
.foto.es-video:hover video { filter: brightness(1.1); }

/* ==========================================================================
   /fundador/: fondo ASTROMART, Grupo Cumbre Integral al frente, la persona en chico
   ========================================================================== */
.astro-hero { min-height: 82vh; align-items: center; }
.astro-fondo { background: radial-gradient(60% 70% at 72% 45%, #2a1257 0%, #120a26 45%, #07060d 100%); overflow: hidden; }
.astro-fondo::after { background: linear-gradient(to bottom, rgba(7, 6, 13, 0.2), transparent 40%, transparent 70%, var(--bg) 100%) !important; }
.astro-fondo .estrellas { position: absolute; inset: 0; opacity: 0.8;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 68%, #cbb8ff, transparent), radial-gradient(1.5px 1.5px at 44% 32%, #fff, transparent),
    radial-gradient(1px 1px at 61% 78%, #fff, transparent), radial-gradient(1px 1px at 77% 18%, #e2d6ff, transparent), radial-gradient(1.5px 1.5px at 88% 58%, #fff, transparent),
    radial-gradient(1px 1px at 8% 84%, #fff, transparent), radial-gradient(1px 1px at 53% 12%, #fff, transparent), radial-gradient(1px 1px at 35% 90%, #cbb8ff, transparent), radial-gradient(1px 1px at 95% 88%, #fff, transparent);
  background-size: 420px 300px; animation: titilar 6s ease-in-out infinite alternate; }
@keyframes titilar { from { opacity: 0.45; } to { opacity: 0.95; } }
.astro-fondo .orbita { position: absolute; left: 72%; top: 46%; border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.astro-fondo .o1 { width: 880px; height: 300px; }
.astro-fondo .o2 { width: 620px; height: 210px; border-style: dashed; animation: girar 60s linear infinite; }
.astro-fondo .astro-marca { position: absolute; left: 72%; top: 46%; width: min(58vw, 820px); height: auto; transform: translate(-50%, -50%); opacity: 0.32; filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.9)); object-fit: contain; }

.gci-protagonista { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); margin: 6px 0 18px; }
.gci-protagonista img { height: clamp(78px, 9vw, 120px); width: auto; filter: drop-shadow(0 0 24px rgba(56, 167, 240, 0.45)); }
.gp-nombre { font-family: var(--font-t); font-weight: 800; font-size: clamp(34px, 5.4vw, 76px); line-height: 0.95; letter-spacing: -0.02em; color: #fff; text-transform: uppercase; }
.gp-sa { font-family: var(--font-m); font-size: clamp(13px, 1.3vw, 18px); letter-spacing: 0.3em; color: var(--azul3); margin-top: 8px; }
.astro-chip { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; border-radius: 12px; background: rgba(91, 45, 155, 0.35); border: 1px solid rgba(139, 92, 246, 0.6); box-shadow: 0 0 20px rgba(139, 92, 246, 0.35); margin-bottom: 22px; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.astro-chip:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
.astro-chip span { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #c4b5fd; }
.astro-chip img { height: 22px; width: auto; }
.astro-chip em { font-style: normal; font-size: 13px; color: #e9e2ff; }
.persona { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(4, 6, 10, 0.55); border: 1px solid rgba(124, 199, 255, 0.35); backdrop-filter: blur(8px); width: fit-content; max-width: 100%; margin-bottom: 16px; }
.persona img { width: 64px; height: 76px; object-fit: cover; object-position: 50% 12%; border-radius: 12px; border: 1px solid rgba(124, 199, 255, 0.6); }
.persona h1 { font-size: clamp(20px, 2vw, 26px) !important; text-transform: none !important; letter-spacing: 0 !important; color: #fff; }
.persona .sub { margin: 4px 0 0 !important; font-size: 10.5px !important; }
.astro-hero .lead { max-width: 56ch; }
@media (max-width: 767px) {
  .astro-fondo .astro-marca { left: 50%; top: 30%; width: 92vw; opacity: 0.22; }
  .astro-fondo .orbita { left: 50%; top: 30%; }
  .astro-fondo .o1 { width: 520px; height: 180px; } .astro-fondo .o2 { width: 380px; height: 130px; }
}
@media (prefers-reduced-motion: reduce) { .astro-fondo .estrellas, .astro-fondo .o2 { animation: none; } }

/* la regla genérica .page-hero .media img (100% + cover) agrandaba el logo de fondo */
.page-hero .media.astro-fondo .astro-marca { width: min(52vw, 760px) !important; height: auto !important; object-fit: contain !important; }
@media (max-width: 767px) { .page-hero .media.astro-fondo .astro-marca { width: 90vw !important; } }

@media (max-width: 767px) {
  .astro-fondo .astro-marca { top: 86% !important; opacity: 0.18 !important; }
  .astro-fondo .orbita { top: 86% !important; }
}

.btn-morado { background: linear-gradient(135deg, #5b2d9b, #8b5cf6); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(91, 45, 155, 0.45); }

/* ficha del fundador más grande y con la foto completa */
.persona { gap: 18px; padding: 12px 22px 12px 12px; border-radius: 18px; }
.persona img { width: 92px !important; height: auto !important; aspect-ratio: 454 / 900; object-fit: contain !important; object-position: 50% 50% !important; background: #05070c; border-radius: 14px; }
.persona h1 { font-size: clamp(24px, 2.6vw, 34px) !important; }
.persona .sub { font-size: 11.5px !important; margin-top: 8px !important; }
@media (max-width: 767px) { .persona img { width: 74px !important; } }

/* lluvia tipo Matrix, cian, solo en una franja de arriba */
.astro-fondo .matrix { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + var(--bar-h)); width: 100%; height: 120px; z-index: 1; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); opacity: 0.55; pointer-events: none; }

/* S.A. de C.V. legible bajo el nombre del grupo, y el cargo dentro de la ficha */
.gp-sa { font-size: clamp(18px, 2vw, 28px) !important; letter-spacing: 0.22em !important; color: #a5e6ff !important; font-weight: 500; text-shadow: 0 0 14px rgba(95, 208, 255, 0.5); }
.persona .cargo { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(124, 199, 255, 0.25); font-size: clamp(14px, 1.2vw, 16px); color: #cfe9ff; }
.persona .cargo b { font-family: var(--font-t); font-weight: 700; color: #fff; }

.persona .cargo { font-family: var(--font-t); font-weight: 800; font-size: clamp(16px, 1.5vw, 20px) !important; letter-spacing: 0.08em; text-transform: uppercase; color: #fff !important;
  background: linear-gradient(90deg, #ffffff, #a5e6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.persona .cargo2 { margin-top: 6px; font-size: clamp(13px, 1.1vw, 15px); color: #cfe9ff; }
.persona .cargo2 b { font-family: var(--font-t); font-weight: 700; color: #fff; }

/* /fundador/: ASTROMART en su propia columna (ya no detrás de la ficha) + holomundo mini de Calcula */
.astro-fila { display: grid; gap: 18px; align-items: center; }
.astro-izq { min-width: 0; }
.astro-lado { display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.astro-lado .astro-logo { width: min(100%, 520px); height: auto; opacity: 0.92; filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.85)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.45)); }
.astro-lado canvas.holomundo { width: min(100%, 340px); height: 170px; display: block; }
@media (min-width: 1024px) {
  .astro-fila { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); }
}
@media (max-width: 1023px) {
  .astro-lado { margin-top: 28px; }
  .astro-lado .astro-logo { width: min(86%, 420px); }
  .astro-lado canvas.holomundo { width: min(100%, 300px); height: 150px; }
}
/* las órbitas del fondo acompañan a la columna de ASTROMART */
.astro-fondo .orbita { left: 74% !important; top: 66% !important; }
.astro-fondo .o1 { width: 760px; height: 260px; }
.astro-fondo .o2 { width: 520px; height: 180px; }
@media (max-width: 1023px) { .astro-fondo .orbita { left: 50% !important; top: 88% !important; } }

/* ASTROMART resalta (más grande, con su frase); Calcula abajo, chico y difuminado */
.astro-lado { pointer-events: auto; gap: 0; }
.astro-tienda { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; text-decoration: none; }
.astro-lado .astro-logo { width: min(100%, 700px) !important; opacity: 1 !important; transition: transform 0.4s var(--ease), filter 0.4s; }
.astro-tienda:hover .astro-logo { transform: scale(1.02); filter: drop-shadow(0 0 28px rgba(139, 92, 246, 1)) drop-shadow(0 0 80px rgba(139, 92, 246, 0.6)); }
.astro-frase { font-family: var(--font-t); font-weight: 700; font-size: clamp(13px, 1.25vw, 18px); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: #efe9ff; text-shadow: 0 0 18px rgba(139, 92, 246, 0.9); }
.calcula-mini { display: flex; flex-direction: column; align-items: center; margin-top: 18px; opacity: 0.5; filter: blur(0.6px); text-decoration: none; transition: opacity 0.3s, filter 0.3s; }
.calcula-mini:hover { opacity: 0.85; filter: none; }
.astro-lado .calcula-mini canvas.holomundo { width: 220px; height: 104px; filter: blur(1px); }
.cm-nombre { font-family: var(--font-t); font-weight: 800; font-size: 12px; letter-spacing: 0.32em; color: #d8ccff; margin-top: 2px; }
.cm-sub { font-family: var(--font-m); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 3px; }
@media (min-width: 1024px) { .astro-fila { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); } }
@media (max-width: 1023px) {
  .astro-lado .astro-logo { width: min(94%, 460px) !important; }
  .astro-lado .calcula-mini canvas.holomundo { width: 190px; height: 92px; }
}
.astro-frase { text-wrap: balance; max-width: 34ch; }

/* ==========================================================================
   Barrida celular (21 oct 2026)
   ========================================================================== */
/* Las entradas que llegan de lado (data-fx izq/der) están corridas 40 px mientras no se revelan:
   en teléfono eso abría scroll horizontal. Se recortan en X; `clip` no rompe position:sticky. */
main, .footer { overflow-x: clip; }
/* Entre 900 y 1023 px el menú completo se APRIETA en vez de esconderse (estándar GCI, sección 10).
   Se midió: a 900 px cabe con el relleno lateral en 20 px. */
@media (min-width: 900px) and (max-width: 1023px) {
  .nav .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: flex !important; gap: 4px !important; }
  .nav-links a { padding: 7px 7px !important; font-size: 12.5px; }
  .nav-links a::before { display: none !important; }
  .nav-tools { margin-left: 6px !important; gap: 6px; }
  .nav .menu-btn { display: none !important; }
}

/* Objetivos táctiles de 48 px en teléfono y tableta (estándar GCI, sección 10).
   Se midió a 390 px: idiomas 29 px de alto, cinta de marcas 39, botones redondos 40. */
@media (max-width: 899px) {
  :root { --bar-h: 48px; }
  .ico-btn { width: 48px; height: 48px; }
  .lang a { min-height: 44px; min-width: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; }
  .sheet .fila .btn { min-height: 48px !important; }
}
@media (max-width: 899px) {
  .footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer li { margin: 0 !important; }
  #form-card input[type="checkbox"] { width: 22px; height: 22px; }
}
@media (max-width: 899px) { .footer ul { gap: 0; } }

/* ==========================================================================
   Menú de arriba esencial (21 oct 2026): Quiénes somos, Fundador, Calcula y «Marcas ▾».
   El panel vive FUERA de .nav-links a propósito, para no heredar el estilo de los botones.
   ========================================================================== */
.drop-btn .caret { display: inline-flex; margin-left: 2px; transition: transform 0.25s var(--ease); }
.drop-btn .caret svg { width: 11px; height: 11px; }
.drop-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.drop-panel {
  position: fixed; top: calc(var(--nav-h) - 4px); left: 0; z-index: 70; width: min(460px, calc(100% - 24px)); padding: 14px;
  border-radius: 16px; border: 1px solid rgba(95, 208, 255, 0.6);
  background: linear-gradient(160deg, rgba(10, 30, 60, 0.97), rgba(5, 12, 28, 0.98));
  box-shadow: 0 0 24px rgba(56, 167, 240, 0.4), 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 22px rgba(95, 208, 255, 0.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.drop-panel.abierto { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s; }
.drop-head { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #7fd8ff; margin: 2px 4px 10px; }
.drop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.drop-item { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 64px; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(95, 208, 255, 0.22); background: rgba(255, 255, 255, 0.035); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.drop-item img { height: 22px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.drop-item span { font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(205, 230, 255, 0.72); }
.drop-item:hover, .drop-item:focus-visible { border-color: #5fd0ff; background: rgba(95, 208, 255, 0.1); box-shadow: 0 0 14px rgba(56, 167, 240, 0.4); transform: translateY(-1px); }
.drop-item.astro { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-color: rgba(139, 92, 246, 0.6); background: rgba(91, 45, 155, 0.28); }
.drop-item.astro:hover { border-color: #a78bfa; box-shadow: 0 0 16px rgba(139, 92, 246, 0.55); background: rgba(91, 45, 155, 0.4); }
.drop-todas { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 10px; padding: 10px 6px 0;
  border-top: 1px solid rgba(95, 208, 255, 0.2); font-family: var(--font-t); font-size: 14px; font-weight: 600; color: #e6f6ff; }
.drop-todas svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.drop-todas:hover { color: #5fd0ff; }
.drop-todas:hover svg { transform: translateX(3px); }
@media (max-width: 899px) { .drop-panel { display: none; } }
@media (prefers-reduced-motion: reduce) { .drop-panel, .drop-item { transition: none; } }
/* Con cuatro botones sobra espacio: el botón azul de contacto entra desde 1024 px (antes 1280)
   y los números 01–04 desde 1180. Medido en es, en y zh. */
@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; min-height: 40px; padding: 0 18px; font-size: 14px; }
  .nav-links a { font-size: 13.5px; }
}
@media (min-width: 1180px) { .nav-links a::before { display: inline; } }

/* ==========================================================================
   Celular más intuitivo (21 oct 2026)
   Marcas y Herramientas pasan de una columna larguísima (~6,000 px de scroll) a carruseles que se
   deslizan con el dedo, con la siguiente tarjeta asomándose y puntos que dicen cuántas hay.
   ========================================================================== */
@media (max-width: 767px) {
  .brands-grid, .suite-fila {
    display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none !important;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 10px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .brands-grid::-webkit-scrollbar, .suite-fila::-webkit-scrollbar { display: none; }
  .brands-grid > *, .suite-fila > * { scroll-snap-align: start; min-width: 0; }
  .suite-fila:has(> :only-child) { grid-auto-columns: 100%; }
  .carr-puntos { display: flex; justify-content: center; gap: 6px; margin: 2px 0 6px; }
  .carr-puntos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line2); transition: background 0.25s var(--ease); position: relative; }
  .carr-puntos button::after { content: ""; position: absolute; inset: -10px -4px; }
  .carr-puntos button.on { width: 22px; background: var(--azul2); box-shadow: 0 0 10px var(--glow); }
}
@media (min-width: 768px) { .carr-puntos { display: none; } }
/* la etiqueta «Contacto» del botón central iba en blanco sobre la barra clara: no se leía */
.tabbar .central > span:last-child { color: var(--azul2); font-weight: 700; }

/* Logo animado en la tarjeta de la marca (21 oct 2026). El video trae el mismo fondo que la caja
   (--bc), así que no se nota el borde. Se ve más grande que el logo fijo porque ya trae su margen. */
.brand-logo.con-video { padding: 0 8px; }
.brand-logo video { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.brand-card:hover .brand-logo video { transform: scale(1.03); }

/* Marcas que todavía no abren (Profilex, ASTROMART): sello «Próximamente» sobre el logo */
.brand-logo.pronto { cursor: default; }
.brand-logo.pronto img { opacity: 0.55; filter: saturate(0.6); }
.sello-pronto { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-m); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(4, 6, 10, 0.72); border: 1px solid var(--ac, var(--azul2)); box-shadow: 0 0 14px color-mix(in srgb, var(--ac, var(--azul2)) 55%, transparent); }
.brand-foot .go.pronto { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac, var(--azul2)); }

/* ASTROMART «Próximamente» (21 oct 2026): sin enlace, con sello */
.btn.pronto { cursor: default; pointer-events: none; opacity: 0.9; }
.btn.pronto:hover { transform: none; }
.pronto-txt { font-family: var(--font-m); letter-spacing: 0.16em; text-transform: uppercase; color: #a78bfa; }
.astro-chip .chip-pronto { font-family: var(--font-m); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(167, 139, 250, 0.8); color: #ede9fe; }
.astro-pronto { margin-top: 4px; padding: 6px 16px; border-radius: 999px; font-family: var(--font-m); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
  background: rgba(91, 45, 155, 0.45); border: 1px solid rgba(167, 139, 250, 0.9); box-shadow: 0 0 18px rgba(139, 92, 246, 0.6); }
.astro-tienda:hover .astro-logo { transform: none; }

/* WhatsApp (21 oct 2026): solo aparece si hay número en contenido.json → contact.whatsapp */
.wa-flota { position: fixed; right: 18px; bottom: calc(18px + var(--tab-h) + env(safe-area-inset-bottom)); z-index: 66; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.wa-flota:hover { transform: scale(1.06); }
.wa-flota svg { width: 28px; height: 28px; }
@media (min-width: 1024px) { .wa-flota { bottom: 24px; } }
.wa-flota ~ .arriba, .arriba:has(~ .wa-flota) { bottom: calc(84px + var(--tab-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .wa-flota ~ .arriba, .arriba:has(~ .wa-flota) { bottom: 90px; } }
.btn-wa { background: #25d366; color: #fff; border-color: transparent; }
.btn-wa svg, .cinfo .ic svg { width: 20px; height: 20px; }
@media print { .wa-flota { display: none; } }

/* ==========================================================================
   Vitrina de marcas tipo historias (21 oct 2026)
   ========================================================================== */
.vitrina-btn { margin-top: 18px; }
.vitrina-btn svg { width: 16px; height: 16px; }
button.brand-logo { width: 100%; border: 0; cursor: pointer; font: inherit; color: inherit; }
.vt-hint { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(4, 6, 10, 0.62); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.vt-hint svg { width: 13px; height: 13px; margin-left: 2px; }
.brand-card:hover .vt-hint { transform: scale(1.12); }

.vitrina { position: fixed; inset: 0; z-index: 120; background: #05070c; opacity: 0; transition: opacity 0.25s; overscroll-behavior: contain; }
.vitrina.abierta { opacity: 1; }
.vitrina[hidden] { display: none; }
.vt-escena { position: absolute; inset: 0; display: none; background: var(--bc); }
.vt-escena.activa { display: block; animation: vt-entra 0.35s var(--ease); }
@keyframes vt-entra { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.vt-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--bc); }
.vt-barras { position: absolute; z-index: 4; top: calc(12px + env(safe-area-inset-top)); left: 14px; right: 14px; display: flex; gap: 5px; }
.vt-barras span { flex: 1; height: 3px; border-radius: 3px; background: rgba(120, 130, 150, 0.45); overflow: hidden; }
.vt-barras i { display: block; height: 100%; width: 0; background: var(--azul2); box-shadow: 0 0 8px var(--glow); }
.vt-cerrar { position: absolute; z-index: 5; top: calc(26px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(4, 6, 10, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); }
.vt-cerrar svg { width: 20px; height: 20px; }
.vt-info { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
  padding: 16px 18px; border-radius: 18px; color: #fff; background: rgba(4, 6, 10, 0.74); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.vt-sector { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ac); }
.vt-info h3 { font-size: 26px; margin: 4px 0 2px; color: #fff; }
.vt-info p { margin: 0 0 12px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.vt-info .btn { min-height: 44px; }
.vt-prev, .vt-next { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
  display: none; place-items: center; color: #fff; background: rgba(4, 6, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); }
.vt-prev svg, .vt-next svg { width: 22px; height: 22px; }
.vt-prev { left: 22px; } .vt-next { right: 22px; }
@media (hover: hover) and (pointer: fine) { .vt-prev, .vt-next { display: grid; } }
@media (min-width: 900px) { .vt-info { left: 40px; right: auto; bottom: 40px; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .vt-escena.activa { animation: none; } }
/* Las 4 tarjetas de ASTROMART en una columna en teléfonos chicos: a 320 px, en dos columnas de
   136 px, «Programa NAVE · $845/mes» se partía en cuatro renglones */
@media (max-width: 420px) { .astro-feats { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Normas (21 oct 2026): franja en la portada, cifras en las tarjetas y página /normas/
   ========================================================================== */
.brand-datos { margin-top: 10px; font-family: var(--font-m); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.6; }
.brand-datos a { color: var(--azul2); text-decoration: underline; text-underline-offset: 2px; }
.brand-equiv { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.franja-normas { margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 26px; border-radius: 18px;
  color: #e6f0ff; background: linear-gradient(135deg, #0b1a33, #07101f); border: 1px solid rgba(95, 208, 255, 0.35); box-shadow: 0 16px 40px rgba(4, 12, 30, 0.25); text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease); }
.franja-normas:hover { border-color: #5fd0ff; transform: translateY(-2px); }
.fn-n { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.fn-n b { font-family: var(--font-t); font-size: 56px; line-height: 1; color: #fff; text-shadow: 0 0 22px rgba(95, 208, 255, 0.6); }
.fn-n span { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8fc7ef; text-align: center; margin-top: 6px; }
.fn-eyebrow { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #5fd0ff; }
.fn-txt p { margin: 6px 0 10px; font-size: 16px; color: #dbe9fb; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fn-chips span { font-family: var(--font-m); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(95, 208, 255, 0.35); color: #cfe6ff; }
.fn-chips span b { color: #fff; font-weight: 600; margin-right: 2px; }
.fn-chips .seg { border-style: dashed; color: #9fb7d6; }
.fn-ir { font-weight: 700; color: #5fd0ff; white-space: nowrap; }
@media (max-width: 767px) { .franja-normas { grid-template-columns: minmax(0, 1fr); text-align: left; } .fn-n { flex-direction: row; gap: 10px; align-items: baseline; min-width: 0; } .fn-n b { font-size: 44px; } }

.normas-hero { padding-top: calc(var(--nav-h) + var(--bar-h) + 56px); }
.normas-hero h1 { max-width: 20ch; }
.normas-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 760px; }
.normas-cifras div { padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--surface); }
.normas-cifras b { display: block; font-family: var(--font-t); font-size: 40px; line-height: 1; color: var(--azul2); }
.normas-cifras span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .normas-cifras { grid-template-columns: minmax(0, 1fr); } }
.normas-marcas { display: grid; gap: 18px; }
.nmarca { border-radius: 18px; padding: 20px; color: #e6f0ff; background: linear-gradient(160deg, #0b1a33, #07101f); border: 1px solid rgba(95, 208, 255, 0.25); scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 16px); }
.nmarca header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.nmarca h2 { font-size: 22px; color: #fff; margin: 0; }
.nlogo { display: grid; place-items: center; height: 52px; padding: 0 14px; border-radius: 12px; background: var(--bc); }
.nlogo img { height: 30px; width: auto; }
.ncuenta { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac, #5fd0ff); }
.nmarca-ir { margin-left: auto; font-size: 13px; font-weight: 600; color: #8fd6ff; display: inline-flex; gap: 6px; align-items: center; }
.nmarca-ir svg { width: 14px; height: 14px; }
.ngrupo + .ngrupo { margin-top: 14px; }
.ngrupo-t { margin: 0 0 8px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8fb3d9; }
.nfichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px; }
.nficha { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(95, 208, 255, 0.18); min-width: 0; }
.nficha b { font-family: var(--font-m); font-size: 14px; font-weight: 500; color: #5fd0ff; letter-spacing: 0.02em; }
.nficha i { font-style: normal; font-size: 13px; color: #c7d7ea; }
.nseguridad { background: linear-gradient(160deg, #1a1430, #0b0817); border-color: rgba(167, 139, 250, 0.35); }
.nseguridad .nficha b { color: #c4b5fd; }
.nseguridad .ncuenta { color: #a78bfa; }
.nseg-lead { margin: 0 0 14px; color: #d6d0ee; max-width: 70ch; }
.normas-nota { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 80ch; }

/* ==========================================================================
   21 oct 2026 · Menú de arriba negro y video principal autoajustable (Orlando)
   ========================================================================== */
/* Menú de arriba: negro en los dos temas (la cinta de marcas de abajo no cambia) */
.nav, .nav.scrolled { background: rgba(4, 6, 10, 0.95) !important; border-bottom-color: rgba(95, 208, 255, 0.16) !important; }
.nav .nav-logo .claro { display: none !important; }
.nav .nav-logo .oscuro { display: block !important; }
.nav .lang { border-color: rgba(95, 208, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.nav .lang a { color: rgba(226, 238, 255, 0.72); }
.nav .lang a:hover:not([aria-current="true"]) { color: #fff; }
.nav .lang a[aria-current="true"] { color: #fff; }
.nav .ico-btn { color: #e6f0ff; border-color: rgba(95, 208, 255, 0.35); }
.nav .ico-btn:hover { color: #5fd0ff; }

/* Video principal: SIEMPRE completo, en cualquier pantalla. El fondo del video es gris claro
   (#F5F5F5 a la izquierda, un poco más cálido a la derecha y abajo); la caja lleva ese mismo
   degradado, así que el espacio que sobra arriba/abajo o a los lados no se nota.
   El video ya viene CENTRADO de origen (tools/video_hero.py): la máquina y, al final, máquina +
   gabinete quedan con el mismo aire a izquierda y derecha. Por eso el acercamiento es al centro
   exacto (50 %); moverlo hacia un lado vuelve a descentrar la escena.
   Sin acercamiento ligado al desplazamiento: era lo que lo hacía verse menos fluido. */
.hero-media { background: linear-gradient(90deg, #f5f5f5, #f1eeea) !important; }
.hero-media::before { display: none !important; }
.hero-media video, .hero-media img {
  object-fit: contain !important; object-position: 50% 50% !important;
  transform: scale(1.06) !important; transform-origin: 50% 50% !important;
  filter: none !important; backface-visibility: hidden;
}
/* En pantallas verticales (celular, tableta parada) la parte de arriba la ocupan el logo y las
   marcas: la máquina baja al hueco libre de abajo, completa y un poco más grande (1.12 deja ~5 %
   de aire igual a cada lado de la escena final). */
@media (max-aspect-ratio: 1/1) {
  .hero-media { background: linear-gradient(180deg, #f4f4f4, #f1ebe6) !important; }
  .hero-media video, .hero-media img { object-position: 50% 78% !important; transform-origin: 50% 78% !important; transform: scale(1.12) !important; }
}
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } .hero-media { background: #f5f5f5 url("../assets/video/gci-machine-poster.jpg") center / contain no-repeat !important; } }

/* Tarjetas «Próximamente» (21 oct 2026, Orlando): ASTROMART con letras ~30 % más grandes y con
   buena intensidad; Profilex más tenue para que el sello «Próximamente» sea lo que se lea. */
.brand-card[data-marca="astromart"] .brand-logo { padding-left: 10px; padding-right: 10px; }
.brand-card[data-marca="astromart"] .brand-logo img { width: 81%; max-width: none; max-height: none; opacity: 0.92; filter: none; }
.brand-card[data-marca="profilex"] .brand-logo img { opacity: 0.35; filter: grayscale(1); transform: translateY(-14px); }
.brand-card[data-marca="profilex"] .sello-pronto { font-size: 13px; padding: 8px 18px; letter-spacing: 0.24em; bottom: 18px;
  background: #111318; border-color: #9aa3ad; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(154, 163, 173, 0.18); }

/* ASTROMART: «Cinco marcas, una tienda en línea» entre el logo y el sello (Orlando, 21 oct 2026) */
.brand-card[data-marca="astromart"] .brand-logo.pronto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.brand-card[data-marca="astromart"] .sello-pronto { position: static; transform: none; }
.pronto-lema { font-family: var(--font-m); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: #e9e2ff; }

/* Telemetría (Sistema en línea · coordenadas · hora · scroll): se encimaba con el título arriba a
   la derecha. Pasa a la esquina inferior izquierda de la portada, que está libre (Orlando, 21 oct 2026). */
.telemetria { top: auto !important; right: auto !important; left: calc(var(--gutter) + 14px) !important; bottom: 30px !important; text-align: left !important;
  padding: 8px 12px; border-radius: 10px; background: rgba(4, 6, 10, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); line-height: 1.7; }
@media (max-width: 1023px) { .telemetria { bottom: calc(var(--tab-h) + 26px) !important; } }

/* ==========================================================================
   21 oct 2026 · CELULAR: portada rehecha y escala más compacta (Orlando: «las letras de la
   portada no se miran bien y no sale el video principal; todo un poco más pequeño, que quepa en
   los celulares más populares de México, y los toques muy obvios»).
   Probado en 360×640 (Galaxy A05/A15 con barras), 375×667 (iPhone SE), 390×664 (iPhone 12–15
   con Safari), 393×740 (Redmi Note / Moto G), 412×780 (Galaxy A25/A35) y 414×715 (iPhone 11).
   ========================================================================== */
@media (max-width: 767px) {
  /* --- Portada: sin secuencia por desplazamiento; todo de una vez y en este orden:
         ceja · título · VIDEO (en su propia caja, nada encima) · marcas · frase · botones --- */
  .hero-wrap, html.rapido .hero-wrap { height: auto !important; }
  .hero {
    position: relative !important; height: auto !important; min-height: 0 !important;
    display: flex !important; flex-direction: column; align-items: stretch; text-align: center;
    --p: 1 !important; padding: calc(var(--nav-h) + var(--bar-h) + 16px) 16px 24px;
    background: var(--bg2); overflow: hidden;
  }
  .hero .capa { opacity: 1 !important; }
  .hero-inner { display: contents; }
  .hero-fx, .hero-scan, .hero .esquinas, .hero .telemetria, .hero .hud, .hero .bandera, .hero-logo { display: none !important; }
  .hero-intro { order: 1; display: block !important; background: none !important; backdrop-filter: none !important; padding: 0 !important; margin: 0 auto !important; max-width: none !important; }
  .hero-intro .l1 { font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted); margin: 0; }
  .hero-intro .l2 { font-size: 13px !important; letter-spacing: 0.1em; color: var(--azul); text-shadow: none; margin-top: 4px; }
  .hero-title { order: 2; margin: 12px 0 0; font-size: clamp(29px, 8.6vw, 36px); line-height: 1; color: var(--fg); }
  .hero-title .l2 { color: var(--azul); text-shadow: none; }
  .hero-holding { order: 3; display: block !important; background: none !important; backdrop-filter: none !important; padding: 0 !important; margin: 8px 0 0 !important; font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
  .hero-media {
    order: 4; position: relative !important; inset: auto !important; z-index: 0;
    margin: 16px 0 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
    background: linear-gradient(90deg, #f5f5f5, #f1eeea) !important;
    box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(15, 23, 42, 0.16);
  }
  .hero-media::before, .hero-media::after { display: none !important; }
  .hero-media video, .hero-media img {
    position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
    object-fit: contain !important; object-position: 50% 50% !important;
    transform: scale(1.1) !important; transform-origin: 50% 50% !important;
  }
  .hero-monos { order: 5; margin: 16px 0 0 !important; gap: 12px !important; }
  .hero-monos .mono { width: 44px !important; height: 44px !important; }
  .hero-monos .mono::after { display: none; }
  .hero-monos .mono .aro { inset: -4px; }
  .hero-sub { order: 6; margin: 14px auto 0; max-width: 32ch; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
  .hero-cta { order: 7; margin-top: 16px; flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-fantasma { border-color: var(--azul); color: var(--azul); }

  /* --- Escala general más compacta --- */
  body { font-size: 15.5px; line-height: 1.55; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 24px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 12px; }
  .eyebrow::before { width: 18px; }
  .h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .lead { font-size: 15.5px; }
  h3 { font-size: min(1em + 2px, 20px); }

  /* --- Toques obvios: botones sólidos y grandes, con flecha --- */
  .btn { min-height: 50px; font-size: 15.5px; padding: 0 20px; }
  .btn-fantasma { border-width: 1.5px; border-color: var(--azul); color: var(--azul); }
  html[data-theme="dark"] .btn-fantasma { border-color: var(--azul2); color: var(--azul3); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hero-media video { display: none !important; }
  .hero-media { background: #f5f5f5 url("../assets/video/gci-machine-poster.jpg") center / contain no-repeat !important; }
}
@media (max-width: 767px) {
  /* enlaces que eran texto chico → botones que se ven y se tocan (≥ 44 px) */
  .brand-foot .go:not(.pronto) { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--azul); color: var(--azul); background: color-mix(in srgb, var(--azul) 8%, transparent); }
  html[data-theme="dark"] .brand-foot .go:not(.pronto) { border-color: var(--azul2); color: var(--azul3); }
  .brand-datos a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; margin: 4px 0; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--azul2) 55%, transparent); text-decoration: none; }
  .brand-datos a::after { content: " →"; white-space: pre; }
  .cinfo .v a { display: inline-flex; align-items: center; min-height: 44px; color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }
  html[data-theme="dark"] .cinfo .v a { color: var(--azul3); }
  .consent { align-items: center; min-height: 44px; }
  .consent input { width: 24px; height: 24px; margin-top: 0; flex: none; }
}
@media (max-width: 767px) {
  /* pasos «Ingenieros, no revendedores»: en fila (número a la izquierda) para no gastar alto */
  .pipeline { gap: 18px; }
  .paso { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .paso .nodo { width: 44px; height: 44px; margin: 0 !important; grid-row: span 2; box-shadow: 0 0 0 4px color-mix(in srgb, var(--azul) 14%, transparent); font-size: 13px; }
  .paso h3 { font-size: 18px; margin: 2px 0 4px; }
  .paso p { font-size: 14.5px; }
  .brand-logo { height: 128px; padding: 18px 22px; }
  .cifra { padding: 16px 14px; }
  .cifra .n { font-size: 36px; }
  .cifra .t { font-size: 13px; }
  .empresa { min-height: 0; }
}
@media (max-width: 767px) {
  .nmarca-ir { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; }
}
@media (max-width: 759px) {
  /* pie: marcas y navegación lado a lado (antes una sola lista larguísima) */
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; row-gap: 22px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-brand img { height: 64px; }
  .footer h4 { margin-bottom: 4px; }
  .footer li a { font-size: 14px; }
}

/* ==========================================================================
   21 oct 2026 · CELULAR, segunda vuelta (Orlando, con capturas de su teléfono: «la info un poco
   más chica, más entendible en menos scroll, que cautive el ojo, y menos info hacia los lados»).
   · Letra base 14 px.  · Sin carruseles: Marcas en cuadrícula de 2 (logo animado + nombre + frase +
   botón) y Herramientas en lista compacta (ícono + nombre + tipo + estado).  · Pasos en 2×2.
   · Lo largo (descripciones, equivalencias) se queda en la computadora y en cada sitio de marca.
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 14px; line-height: 1.5; }
  .sec { padding: 40px 0; }
  .sec-head { margin-bottom: 18px; }
  .h2 { font-size: clamp(23px, 6.6vw, 28px); }
  .lead { font-size: 14px; line-height: 1.5; }
  .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .btn { min-height: 46px; font-size: 14.5px; }
  .hero-title { font-size: clamp(27px, 8vw, 33px); }
  .hero-sub { font-size: 13.5px; }

  /* --- Sin carruseles --- */
  .carr-puntos { display: none !important; }
  .brands-grid, .suite-fila {
    grid-auto-flow: row !important; grid-auto-columns: auto !important; overflow: visible !important;
    margin: 0 !important; padding: 0 !important; scroll-snap-type: none !important;
  }

  /* --- Marcas: cuadrícula de 2 --- */
  .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .brand-card { border-radius: 14px; }
  .brand-card .num { display: none; }
  .brand-logo { height: 74px !important; padding: 6px 8px !important; }
  .brand-logo.con-video { padding: 0 4px !important; }
  .brand-logo img { max-height: 46px; }
  .vt-hint { transform: scale(0.7); transform-origin: bottom right; }
  .brand-body { padding: 10px 11px 11px; gap: 4px; }
  .brand-body h3 { font-size: 16px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-body .sector { font-size: 8.5px; padding: 2px 6px; letter-spacing: 0.12em; }
  .brand-body .claim { font-size: 12px; line-height: 1.35; font-weight: 600; }
  .brand-body .desc, .brand-card .brand-datos, .brand-foot .dom { display: none !important; }
  .brand-foot { margin-top: auto; padding-top: 8px; border-top: 0; }
  .brand-foot .go:not(.pronto) { width: 100%; justify-content: center; min-height: 40px; padding: 0 8px; font-size: 13px; }
  .brand-foot .go.pronto { font-size: 9.5px; }
  .brand-card[data-marca="profilex"] .brand-logo img { transform: translateY(-8px); max-height: 34px; }
  .brand-card[data-marca="profilex"] .sello-pronto { font-size: 9px !important; padding: 3px 8px !important; bottom: 6px !important; }
  .brand-card[data-marca="astromart"] .brand-logo.pronto { gap: 2px; }
  .brand-card[data-marca="astromart"] .brand-logo img { width: 92%; }
  .pronto-lema { font-size: 7.5px !important; letter-spacing: 0.06em !important; }
  .brand-card[data-marca="astromart"] .sello-pronto { font-size: 8.5px !important; padding: 2px 8px !important; }

  /* --- Herramientas: lista compacta --- */
  .suite-marcas { gap: 0; }
  .suite-grupo { margin-bottom: 14px; }
  .suite-label { font-size: 9.5px; margin-bottom: 6px; }
  .suite-fila { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .suite-card { grid-template-columns: 40px minmax(0, 1fr) !important; gap: 12px !important; padding: 9px 12px !important; align-items: center; border-radius: 12px; }
  .suite-ico { width: 40px !important; height: 40px !important; border-radius: 10px; }
  .suite-ico svg, .suite-ico img { width: 24px !important; height: 24px !important; }
  .suite-card h3 { font-size: 15px; }
  .suite-card .kind { font-size: 12px; margin-top: 1px; }
  .suite-card .desc, .suite-card .marca-logo, .suite-card .marca { display: none !important; }
  .suite-top { flex-wrap: nowrap; }
  .estado { font-size: 8.5px; padding: 2px 7px; letter-spacing: 0.1em; flex: none; }

  /* --- Pasos «Ingenieros»: 2×2 --- */
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .paso { display: block !important; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
  .paso .nodo { width: 30px !important; height: 30px !important; font-size: 11px !important; margin: 0 0 8px !important; box-shadow: none !important; border-width: 1.5px; }
  .paso h3 { font-size: 14.5px !important; margin: 0 0 4px !important; }
  .paso p { font-size: 12.5px !important; line-height: 1.4; }

  /* --- Cifras, ASTROMART, plazas y contacto: más bajos --- */
  .cifra { padding: 12px !important; }
  .cifra .n { font-size: 30px !important; }
  .cifra .t { font-size: 12px !important; }
  .cifra .f { font-size: 8.5px; top: 8px; right: 10px; }
  .astro-feats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; margin: 16px 0; }
  .feat { padding: 11px 12px; border-radius: 12px; }
  .feat .t { font-size: 13.5px; gap: 7px; }
  .feat .t i { width: 6px; height: 6px; flex: none; }
  .feat .d { font-size: 12px; line-height: 1.4; margin-top: 4px; }
  .plazas { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; margin: 16px 0; }
  .plaza { padding: 11px 12px 10px; }
  .plaza .n { font-size: 16px; }
  .plaza .n small { display: block; margin: 2px 0 0; font-size: 8.5px; }
  .plaza .tag { font-size: 8.5px; margin: 4px 0; }
  .plaza p { font-size: 12px; line-height: 1.4; }
  .footer-brand p { font-size: 13px; }
}
@media (max-width: 359px) {
  .astro-feats, .plazas { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 767px) {
  .brand-equiv { display: none !important; }
  .franja-normas { margin-top: 14px; gap: 8px; padding: 14px 16px; border-radius: 14px; }
  .fn-n b { font-size: 34px !important; }
  .fn-n span { font-size: 9px; }
  .fn-eyebrow { font-size: 9.5px; }
  .fn-txt p { font-size: 13px; margin: 4px 0 8px; line-height: 1.4; }
  .fn-chips { gap: 4px; }
  .fn-chips span { font-size: 10px; padding: 2px 8px; }
  .fn-ir { display: inline-flex; align-items: center; min-height: 40px; font-size: 13.5px; }
}
@media (max-width: 767px) {
  .astro-stage { min-height: 0 !important; aspect-ratio: 16 / 10 !important; height: auto !important; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px 10px !important; }
  .form-grid .campo:nth-child(3), .form-grid .campo:nth-child(4), .form-grid .full, .form-grid .consent, .form-grid .form-foot { grid-column: 1 / -1; }
  .campo label { font-size: 9.5px; }
  .campo input, .campo select, .campo textarea { font-size: 16px; }
  .campo textarea { min-height: 96px; height: 96px; }
  .footer li a { min-height: 40px; }
  .footer-brand p { margin-top: 8px; }
}

/* ==========================================================================
   21 oct 2026 · CELULAR, tercera vuelta (Orlando): la franja de arriba más chica y las marcas en
   2 hileras (se veían 3 y las demás quedaban escondidas de lado); la línea «S.A. de C.V.» quedaba
   sin el nombre porque en celular no va el logo grande → «GRUPO CUMBRE INTEGRAL S.A. DE C.V.».
   ========================================================================== */
.hh-nombre { display: none; }
@media (max-width: 767px) {
  :root { --nav-h: 54px; --bar-h: 58px; }
  .nav-logo img { height: 38px !important; }
  .nav .wrap { gap: 10px; }
  .lang { padding: 2px; }
  .lang a { min-height: 36px !important; min-width: 36px !important; padding: 0 7px !important; font-size: 11.5px; }
  .ico-btn { width: 40px !important; height: 40px !important; }
  .brandbar { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 29px; overflow: hidden; }
  .brandbar a { padding: 0 4px; gap: 6px; font-size: 11.5px; border-bottom: 1px solid var(--line); min-width: 0; }
  .brandbar a:nth-child(3n) { border-right: 0; }
  .brandbar a:nth-child(n + 4) { border-bottom: 0; }
  .brandbar .mono { width: 17px; height: 17px; flex: none; }
  .brandbar .mono img { width: 11px; height: 11px; }
  .hh-nombre { display: inline; }
  .hh-resto { display: none; }
  .hero-holding { font-size: 10.5px !important; letter-spacing: 0.12em !important; color: var(--fg) !important; font-weight: 600; }
}

/* ==========================================================================
   21 oct 2026 · CELULAR, cuarta vuelta (Orlando, capturas de Quiénes somos: «las tarjetas tienen
   que ser más chicas»). Mismo criterio para TODAS las tarjetas de todas las páginas: 2 columnas
   cuando el texto es corto, poco relleno, ícono y número chicos, título 14.5–16 px, texto 12.5 px.
   ========================================================================== */
@media (max-width: 767px) {
  /* tarjeta genérica (.card): misión/visión, pilares de Quiénes somos y de Calcula */
  .card { padding: 14px 14px 13px; border-radius: 14px; }
  .card h3 { font-size: 16px; margin-bottom: 4px; }
  .card p { font-size: 12.5px; line-height: 1.42; }
  .card .ic { width: 32px; height: 32px; border-radius: 9px; margin-bottom: 8px; }
  .card .ic svg { width: 17px; height: 17px; }
  .card .n { top: 10px; right: 12px; font-size: 9.5px; }
  .mv { gap: 8px; }
  .pilares, .valores { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .pilares .card h3 { font-size: 14.5px; }
  .pilares > :last-child:nth-child(odd), .valores > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* valores numerados («01 Ingenio mexicano»…) */
  .valor { padding: 12px 13px; border-radius: 14px; }
  .valor::before { font-size: 9.5px; margin-bottom: 5px; }
  .valor h3 { font-size: 14.5px; margin-bottom: 4px; }
  .valor p { font-size: 12.5px; line-height: 1.42; }

  /* ficha de la empresa, logo de identidad y cierres */
  .ficha div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 9px 12px; font-size: 13px; }
  .ficha .k { font-size: 9px; letter-spacing: 0.12em; }
  .identidad-logo { padding: 16px; border-radius: 16px; }
  .identidad-logo img { width: min(100%, 200px); }
  .cta-final { padding: 26px 16px; border-radius: 18px; }
  .cta-final .lead { margin: 8px auto 14px; }
  .cta-final .ctas { flex-direction: column; gap: 8px; }
  .cta-final .ctas .btn { width: 100%; }

  /* /normas/: fichas en 2 columnas y más chicas */
  .nmarca { padding: 14px; border-radius: 14px; }
  .nmarca header { gap: 10px; margin-bottom: 10px; }
  .nmarca h2 { font-size: 18px; }
  .ngrupo-t { font-size: 9.5px; margin-bottom: 6px; }
  .nfichas { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px; }
  .nficha { padding: 8px 9px; border-radius: 9px; gap: 2px; }
  .nficha b { font-size: 11.5px; overflow-wrap: anywhere; }
  .nficha i { font-size: 11px; line-height: 1.3; }
  .nseg-lead { font-size: 13px; }

  /* fundador: tarjeta del nombre */
  .persona { gap: 12px !important; padding: 8px 12px 8px 8px !important; }
  .persona img { width: 64px !important; }
  .persona h1 { font-size: 20px !important; }
  .persona .cargo { font-size: 13px !important; }
  .persona .cargo2 { font-size: 11.5px; }
}
@media (max-width: 767px) {
  /* triple revisión: idiomas ≥ 40 px, casilla de 24 px, enlace del aviso tocable, nada < 9 px */
  .lang a { min-height: 40px !important; min-width: 40px !important; }
  #form-card .consent input[type="checkbox"] { width: 24px; height: 24px; }
  .consent a { display: inline-flex; align-items: center; min-height: 40px; }
  .cifra .f, .brand-body .sector, .sello-pronto, .estado, .plaza .n small, .plaza .tag, .pronto-lema,
  .brand-foot .go.pronto { font-size: 9px !important; }
  .pronto-lema { letter-spacing: 0.04em !important; line-height: 1.25; text-align: center; }
}
@media (max-width: 767px) {
  .brand-card[data-marca="astromart"] .sello-pronto, .brand-card[data-marca="profilex"] .sello-pronto { font-size: 9px !important; }
}

/* ==========================================================================
   21 oct 2026 · Quinta vuelta (Orlando): teléfono con vista previa REAL de Calcula; cifras,
   reglas y 17 disciplinas en tarjetas chicas con indicador; holomundo arriba y sin nombres
   amontonados (indicador abajo); herramientas en tarjetas chicas con despliegue; toques tipo app.
   ========================================================================== */
/* --- Teléfono: réplica de una pantalla de Calcula (todas las pantallas) --- */
.telefono { width: min(100%, 236px); padding: 16px 11px 14px; }
.telefono .pantalla.app { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; font-family: var(--font-b); color: #ededf3; }
.app-top { display: flex; align-items: center; gap: 6px; font-family: var(--font-t); font-weight: 700; font-size: 10.5px; letter-spacing: 0.04em; }
.app-logo { width: 16px; height: 16px; display: grid; place-items: center; color: #c4b5fd; }
.app-logo svg { width: 14px; height: 14px; }
.app-marca { color: #fff; }
.app-mod { margin-left: auto; font-family: var(--font-m); font-weight: 500; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: #9c93b8; }
.app-h { font-family: var(--font-t); font-weight: 700; font-size: 12.5px; line-height: 1.15; color: #fff; margin: 2px 0 2px; }
.app-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(181, 140, 242, 0.22); font-size: 9px; color: #9c93b8; }
.app-row b { font-family: var(--font-t); font-weight: 700; font-size: 11px; color: #fff; white-space: nowrap; }
.app-f { display: flex; flex-direction: column; gap: 2px; padding: 5px 8px; border-radius: 8px; background: rgba(42, 207, 232, 0.08); border: 1px dashed rgba(42, 207, 232, 0.35); }
.app-f span { font-family: var(--font-m); font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #2acfe8; }
.app-f code { font-family: var(--font-m); font-size: 9.5px; color: #fff; }
.app-res { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 6px; padding: 8px 9px; border-radius: 10px; background: linear-gradient(135deg, rgba(139, 92, 214, 0.35), rgba(91, 45, 155, 0.2)); border: 1px solid rgba(181, 140, 242, 0.5); box-shadow: 0 0 24px rgba(139, 92, 214, 0.35); }
.app-rl { grid-column: 1 / -1; font-family: var(--font-m); font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #c4b5fd; }
.app-rv { font-family: var(--font-t); font-weight: 800; font-size: 22px; line-height: 1.1; color: #fff; text-shadow: 0 0 18px rgba(181, 140, 242, 0.8); }
.app-rn { font-family: var(--font-m); font-size: 8px; padding: 2px 6px; border-radius: 999px; border: 1px solid rgba(79, 199, 160, 0.6); color: #4fc7a0; white-space: nowrap; }
.app-rf { grid-column: 1 / -1; font-size: 8.5px; color: #9c93b8; margin-top: 2px; }
.app-rf b { color: #fff; font-family: var(--font-t); }
.app-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; }
.app-btns span { text-align: center; padding: 6px 4px; border-radius: 999px; font-family: var(--font-t); font-weight: 600; font-size: 9px; border: 1px solid rgba(181, 140, 242, 0.5); color: #e9e2ff; }
.app-btns span.p { background: linear-gradient(135deg, #8b5cd6, #5b2d9b); border-color: transparent; color: #fff; }

/* --- Herramientas: desplegables. En escritorio no se ven como tales (siempre abiertos, sin cabecera) --- */
.suite-acordeon { border: 0; }
.suite-acordeon > summary { display: none; list-style: none; }
.suite-acordeon > summary::-webkit-details-marker { display: none; }

/* --- Holomundo: indicador (solo celular) --- */
.holo-ind { display: none; }

@media (max-width: 767px) {
  /* toques tipo app: respuesta inmediata al tocar, sin el destello azul del navegador */
  a, button, summary, .card, .suite-card, .brand-card, .disc, .feat, .plaza, .valor { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .btn:active, .suite-card:active, .brand-card:active, .card:active, .disc:active, .feat:active, .plaza:active, .valor:active, .tabbar a:active, .suite-acordeon > summary:active { transform: scale(0.97) !important; transition: transform 0.1s !important; }

  /* --- Calcula: cifras 2×2, reglas ya en 2×2, 17 disciplinas en tarjetas chicas con barrita --- */
  .cifras.cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .disc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .disc { position: relative; gap: 9px; padding: 9px 11px 15px; border-radius: 12px; align-items: flex-start; }
  .disc:hover { transform: none; }
  .disc .dn { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; flex: none; }
  .disc b { font-size: 12.5px; line-height: 1.2; }
  .disc span { font-size: 10.5px; line-height: 1.3; display: block; margin-top: 2px; }
  .disc::after { content: ""; position: absolute; left: 11px; bottom: 7px; height: 3px; border-radius: 2px; width: calc((100% - 22px) * var(--n, 1) / 9); background: linear-gradient(90deg, var(--azul), var(--azul2)); box-shadow: 0 0 8px var(--glow); }

  /* --- Calcula: el holomundo sube, justo debajo del título, sin nombres encima; indicador abajo --- */
  .calcula-hero { min-height: 0 !important; padding-top: calc(var(--nav-h) + var(--bar-h) + 14px) !important; padding-bottom: 22px !important; }
  .calcula-grid { gap: 8px; }
  .calcula-grid > div:first-child { display: contents; }
  .calcula-hero .eyebrow { order: 1; margin-bottom: 4px; }
  .calcula-hero h1 { order: 2; font-size: 34px; gap: 10px; }
  .calcula-hero .sub { order: 3; margin: 2px 0 0; font-size: 10px; }
  .calcula-hero .holo { order: 4; aspect-ratio: 1 / 0.74 !important; min-height: 0 !important; margin: 2px 0 0; }
  .calcula-hero .holo-cap { display: none; }
  .calcula-hero .holo-ind { order: 5; }
  .calcula-hero .lead { order: 6; margin: 4px 0 0; }
  .calcula-hero .ctas { order: 7; margin-top: 12px; flex-direction: column; gap: 8px; }
  .calcula-hero .ctas .btn { width: 100%; }
  #holomundo { transform: translateX(4%); }
  .holo-ind { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .holo-ind .hi-puntos { display: flex; gap: 8px; align-items: center; }   /* 8 px: el punto activo escala a 15 px sin pisar al vecino */
  .holo-ind .hi-puntos i { display: block; width: 6px; height: 6px; border-radius: 999px; opacity: 0.55; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
  .holo-ind .hi-puntos i.on { transform: scaleX(2.5); opacity: 1; box-shadow: 0 0 10px currentColor; }
  .holo-ind .hi-txt { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #c4b5fd; text-align: center; min-height: 16px; transition: color 0.25s; }

  /* --- Herramientas: tarjetas chicas en 2 columnas, grupos desplegables (el primero abierto) --- */
  .suite-marcas { display: block; }
  .suite-acordeon { margin-bottom: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .suite-acordeon > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; cursor: pointer; font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
  .suite-acordeon[open] > summary { color: var(--azul2); border-bottom: 1px solid var(--line); }
  .suite-acordeon .sa-n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: color-mix(in srgb, var(--azul) 12%, transparent); color: var(--azul2); }
  .suite-acordeon .sa-ch { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); margin: -3px 2px 0 0; }
  .suite-acordeon[open] .sa-ch { transform: rotate(-135deg); margin-top: 3px; }
  .suite-acordeon .suite-label { display: none; }
  .suite-acordeon .suite-grupo { margin: 0; padding: 8px; }
  .suite-acordeon[open] .suite-grupo { animation: desplegar 0.28s var(--ease); }
  @keyframes desplegar { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .suite-fila { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px !important; }
  .suite-card { grid-template-columns: 28px minmax(0, 1fr) !important; gap: 8px !important; padding: 9px 10px !important; align-items: start !important; border-radius: 10px; }
  .suite-ico { width: 28px !important; height: 28px !important; border-radius: 8px; }
  .suite-ico svg, .suite-ico img { width: 17px !important; height: 17px !important; }
  .suite-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .suite-card h3 { font-size: 13px; line-height: 1.15; }
  .suite-card .kind { font-size: 10.5px; line-height: 1.25; }
  .suite-body { display: flex; flex-direction: column; gap: 0; }
  .suite-card .estado { order: 3; margin-top: 4px; font-size: 8.5px; padding: 2px 6px; }
}
@media (prefers-reduced-motion: reduce) { .suite-acordeon[open] .suite-grupo { animation: none; } }

/* ==========================================================================
   21 oct 2026 · Sexta vuelta (Orlando): logos animados en el menú ☰ y teléfono «vivo» de Calcula
   (dibujo del cilindro, deslizadores que se mueven solos, resultado que se recalcula, scroll solo).
   ========================================================================== */
.m-logo.con-video { padding: 6px 8px 8px; }
.m-logo video { display: block; width: 100%; height: auto; max-height: 44px; object-fit: contain; border-radius: 6px; }

.telefono { display: flex; flex-direction: column; pointer-events: none; }
.telefono .pantalla.app { flex: 1; min-height: 0; overflow: hidden; display: block; padding-top: 10px; }
.app-scroll { display: flex; flex-direction: column; gap: 6px; will-change: transform; }
.app-dib { display: block; width: 100%; height: auto; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(181, 140, 242, 0.18); }
.app-row.sl { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; }
.app-track { grid-column: 1 / -1; display: block; position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.app-track::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 50%); border-radius: 2px; background: linear-gradient(90deg, #5b2d9b, #8b5cd6); }
.app-track u { position: absolute; top: 50%; left: var(--p, 50%); width: 12px; height: 12px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 10px rgba(139, 92, 214, 0.9), 0 0 0 2px #0a0817; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .app-scroll { transform: none !important; } }

/* --- Teléfono: la pantalla real de Calcula (N-01), a escala. Colores de la app: morado #5B2D9B/#8B5CD6,
   fondo #12072A, cian #2ACFE8, verde #4FC7A0, naranja #FF8A3D. --- */
.telefono { background: #12072A; }
.telefono .pantalla.app { padding-top: 8px; }
.app-scroll { gap: 7px; }
.app-top { flex-wrap: wrap; gap: 2px 6px; padding-bottom: 5px; border-bottom: 1px solid rgba(181, 140, 242, 0.25); }
.app-astro { font-family: var(--font-t); font-weight: 800; font-size: 11px; letter-spacing: 0.06em; color: #fff; }
.app-ruta { font-family: var(--font-m); font-size: 7px; color: #c4b5fd; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-ceja { font-family: var(--font-m); font-size: 7px; letter-spacing: 0.16em; text-transform: uppercase; color: #ffb347; }
.app-ceja::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #ffb347; margin-right: 5px; vertical-align: middle; }
.app-h { font-size: 13px; line-height: 1.2; }
.app-card { display: flex; flex-direction: column; gap: 5px; padding: 8px 9px; border-radius: 10px; background: #191b1e; border: 1px solid rgba(255, 255, 255, 0.06); }
.app-ct { font-family: var(--font-m); font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #ffb347; display: flex; align-items: center; gap: 6px; }
.app-fx .app-ct { color: #2acfe8; }
.app-lbl { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-family: var(--font-m); font-size: 7.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #ededf3; background: #26282d; padding: 4px 7px; border-radius: 6px; }
.app-lbl b { font-family: var(--font-m); font-weight: 600; font-size: 10px; color: #ffd166; letter-spacing: 0; text-transform: none; }
.app-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.app-chips span { text-align: center; padding: 5px 2px; border-radius: 7px; background: #26282d; font-family: var(--font-t); font-weight: 600; font-size: 8.5px; color: #c9c6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-chips span.on { background: #2acfe8; color: #12072a; }
.app-nota { font-size: 7.5px; color: #9c93b8; line-height: 1.3; }
.app-nota.c { font-family: var(--font-m); font-size: 6.5px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.app-in { display: flex; flex-direction: column; gap: 4px; }
.app-track { height: 4px; background: rgba(255, 255, 255, 0.14); }
.app-track::before { background: linear-gradient(90deg, #2acfe8, #4fc7a0); }
.app-track u { background: #2acfe8; box-shadow: 0 0 10px rgba(42, 207, 232, 0.9), 0 0 0 2px #191b1e; }
.app-minmax { display: flex; justify-content: space-between; font-family: var(--font-m); font-size: 6.5px; color: #9c93b8; }
.app-ec { font-size: 8px; line-height: 1.5; color: #c9c6d6; }
.app-ec .n { color: #2acfe8; font-weight: 600; }
.app-ec b { color: #fff; font-family: var(--font-m); font-weight: 600; }
.app-ec b.az { color: #4fc7a0; }
.app-ec small { font-size: 6.5px; color: #9c93b8; }
.app-dib { background: #26282d; border-color: transparent; }
.app-placa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: end; }
.app-placa .app-iso { grid-column: 1 / -1; justify-self: start; font-family: var(--font-m); font-size: 7px; padding: 2px 7px; border-radius: 999px; background: #2acfe8; color: #12072a; font-weight: 600; }
.app-placa span b { display: block; font-family: var(--font-t); font-weight: 800; font-size: 11px; color: #fff; line-height: 1.1; }
.app-placa span small { font-family: var(--font-m); font-size: 6.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #9c93b8; }
.app-res { grid-template-columns: 1fr; gap: 2px; text-align: center; }
.app-rl { font-size: 7px; }
.app-rv { font-size: 24px; color: #4fc7a0; text-shadow: 0 0 18px rgba(79, 199, 160, 0.6); transition: color 0.4s; }
.app-rf { font-size: 7.5px; }
.app-sem { margin-left: auto; font-style: normal; font-size: 7px; padding: 2px 6px; border-radius: 999px; border: 1px solid #4fc7a0; color: #4fc7a0; letter-spacing: 0.1em; transition: color 0.4s, border-color 0.4s; }
.app-bar { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 6px; font-size: 7px; color: #c9c6d6; line-height: 1.2; }
.app-bar i { display: block; height: 7px; border-radius: 4px; background: #4fc7a0; width: 50%; transition: background 0.4s var(--ease); }
.app-bar b { font-family: var(--font-m); font-weight: 600; font-size: 8.5px; color: #fff; white-space: nowrap; }
.app-fichas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.app-ficha { display: flex; flex-direction: column; gap: 2px; padding: 7px 8px; border-radius: 9px; background: #191b1e; border: 1px solid rgba(255, 255, 255, 0.06); }
.app-ficha small { font-family: var(--font-m); font-size: 6px; letter-spacing: 0.1em; text-transform: uppercase; color: #9c93b8; }
.app-ficha b { font-family: var(--font-t); font-weight: 800; font-size: 14px; color: #fff; line-height: 1.1; }
.app-ficha span { font-size: 6.5px; color: #9c93b8; line-height: 1.3; }
.app-btns span { border-color: rgba(42, 207, 232, 0.5); color: #e9f9ff; }
.app-btns span.p { background: linear-gradient(135deg, #2acfe8, #4fc7a0); color: #12072a; }

/* ==========================================================================
   21 oct 2026 · Séptima vuelta (Orlando): el teléfono con TODO lo mismo (botones, bloques, textos)
   pero diminuto, como app, para que no haya que hacer tanto scroll; y con sombra negra encima y
   alrededor, que no se vea tan claramente.
   ========================================================================== */
.telefono { padding: 12px 8px 10px; box-shadow: 0 34px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.6); }
.telefono::before { top: 5px; width: 44px; height: 4px; }
/* sombra negra sobre la pantalla: oscurece y deja los bordes en penumbra */
.telefono::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.78) 100%),
              radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }
.telefono .pantalla.app { padding-top: 6px; }
.app-scroll { gap: 4px; }
.app-top { gap: 1px 4px; padding-bottom: 3px; }
.app-astro { font-size: 8.5px; }
.app-ruta { font-size: 5.5px; }
.app-ceja { font-size: 5.5px; letter-spacing: 0.12em; }
.app-ceja::before { width: 4px; height: 4px; margin-right: 3px; }
.app-h { font-size: 9.5px; line-height: 1.15; margin: 0; }
.app-card { gap: 3px; padding: 5px 6px; border-radius: 7px; }
.app-ct { font-size: 5.5px; letter-spacing: 0.12em; gap: 4px; }
.app-lbl { font-size: 5.5px; letter-spacing: 0.06em; padding: 2px 5px; border-radius: 4px; }
.app-lbl b { font-size: 7.5px; }
.app-chips { gap: 3px; }
.app-chips span { padding: 3px 2px; border-radius: 5px; font-size: 6.5px; }
.app-nota { font-size: 5.5px; line-height: 1.25; }
.app-nota.c { font-size: 5px; letter-spacing: 0.05em; }
.app-in { gap: 2px; }
/* presión y factor lado a lado, como en una app */
.app-card > .app-in:nth-of-type(2), .app-card > .app-in:nth-of-type(3) { display: inline-flex; width: calc(50% - 2px); vertical-align: top; }
.app-card > .app-in:nth-of-type(2) { margin-right: 4px; }
.app-track { height: 3px; }
.app-track u { width: 8px; height: 8px; box-shadow: 0 0 6px rgba(42, 207, 232, 0.9), 0 0 0 1.5px #191b1e; }
.app-minmax { font-size: 5px; }
.app-ec { font-size: 6px; line-height: 1.35; }
.app-ec small { font-size: 5px; }
.app-dib { max-height: 62px; width: auto; margin: 0 auto; }
.app-placa { gap: 3px; grid-template-columns: auto 1fr 1fr 1fr; align-items: center; }
.app-placa .app-iso { grid-column: auto; font-size: 5.5px; padding: 1px 5px; }
.app-placa span b { font-size: 8px; }
.app-placa span small { font-size: 5px; }
.app-res { padding: 5px 7px; gap: 1px; border-radius: 7px; }
.app-rl { font-size: 5.5px; }
.app-rv { font-size: 17px; line-height: 1.05; }
.app-rf { font-size: 5.5px; margin: 0; }
.app-sem { font-size: 5.5px; padding: 1px 5px; }
.app-bar { grid-template-columns: 50px 1fr auto; gap: 4px; font-size: 5.5px; line-height: 1.15; }
.app-bar i { height: 5px; }
.app-bar b { font-size: 6.5px; }
.app-fichas { gap: 4px; }
.app-ficha { gap: 1px; padding: 4px 6px; border-radius: 6px; }
.app-ficha small { font-size: 5px; }
.app-ficha b { font-size: 10px; }
.app-ficha span { font-size: 5px; }
.app-btns { gap: 4px; margin-top: 1px; }
.app-btns span { padding: 4px 3px; font-size: 7px; }

/* --- Teléfono: la Calcula MÁS ACTUAL (proyecto, 15 oct 2026): entradas con número + unidad, manómetro y
   perilla, veredicto dentro del dibujo, placa «cilindro recomendado», barra de pestañas de la app. --- */
.telefono .pantalla.app { display: flex; flex-direction: column; padding-bottom: 0; }
.telefono .pantalla.app .app-scroll { flex: 1; }
.app-top { position: relative; padding-bottom: 4px; }
.app-ruta span { color: #9c93b8; }
.app-ruta small { color: #6f6a85; margin-left: 4px; }
.app-volver { font-family: var(--font-b); font-size: 5.5px; padding: 2px 6px; border-radius: 999px; border: 1px solid rgba(181, 140, 242, 0.4); color: #ededf3; margin-left: auto; }
.app-reset { margin-left: auto; font-size: 5px; padding: 2px 6px; border-radius: 5px; background: #ffb347; color: #12072a; font-weight: 600; letter-spacing: 0.08em; }
.app-lbl { display: inline-flex; align-items: center; gap: 4px; width: auto; }
.app-lbl i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #2acfe8; color: #2acfe8; font-size: 5px; display: grid; place-items: center; }
.app-fila { display: flex; align-items: center; gap: 4px; }
.app-fila .app-lbl { margin-right: auto; }
.app-val { font-family: var(--font-m); font-weight: 600; font-size: 8px; color: #ffd166; background: #141418; border: 1px solid rgba(181, 140, 242, 0.35); border-radius: 5px; padding: 3px 6px; min-width: 28px; text-align: right; }
.app-u { font-family: var(--font-m); font-size: 6px; color: #9c93b8; }
.app-u.sel { padding: 3px 5px; border-radius: 5px; background: #141418; border: 1px solid rgba(181, 140, 242, 0.35); color: #ededf3; }
.app-u.sel::after { content: " ⌄"; }
.app-chips.c3 { grid-template-columns: repeat(3, 1fr); }
.app-chips.c4 { grid-template-columns: repeat(4, 1fr); }
.app-instr { display: flex; justify-content: space-around; align-items: center; gap: 6px; padding: 2px 0; }
.app-perilla, .app-gauge { width: 34px; height: 34px; }
.app-gauge { width: 40px; height: 40px; }
.app-sel { font-size: 6px; color: #ededf3; background: #141418; border: 1px solid rgba(181, 140, 242, 0.35); border-radius: 5px; padding: 3px 6px; display: flex; justify-content: space-between; }
.app-sel i { font-style: normal; color: #9c93b8; }
.app-retrato { display: block; width: 100%; height: auto; max-height: 30px; }
.app-ct.r { padding-top: 2px; }
.app-visual { align-items: stretch; }
.app-letrero { align-self: flex-start; font-family: var(--font-t); font-weight: 700; font-size: 7px; letter-spacing: 0.04em; text-transform: uppercase; color: #12072a; background: #2acfe8; padding: 2px 7px; border-radius: 6px; display: inline-flex; gap: 4px; align-items: center; }
.app-letrero i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #12072a; font-size: 5px; display: grid; place-items: center; }
.app-visual .app-dib { max-height: 74px; background: none; border: 0; }
.app-dice { display: grid; grid-template-columns: 1fr auto; gap: 1px 4px; border-top: 1px dashed rgba(181, 140, 242, 0.3); padding-top: 4px; }
.app-dice b { font-family: var(--font-m); font-weight: 600; font-size: 6px; letter-spacing: 0.04em; color: #4fc7a0; transition: color 0.4s; }
.app-dice em { font-style: normal; font-family: var(--font-m); font-size: 5.5px; color: #9a9aa8; }
.app-dice span { grid-column: 1 / -1; font-family: var(--font-m); font-size: 5.5px; color: #c9c6d6; }
.app-placa { grid-template-columns: auto 1fr 1fr 1fr; background: #0c0c10; border-radius: 7px; padding: 5px 6px; gap: 2px 4px; }
.app-placa .app-iso { grid-column: auto; }
.app-placa .app-que { grid-column: 2 / -1; justify-self: end; font-style: normal; font-family: var(--font-m); font-size: 5px; letter-spacing: 0.1em; text-transform: uppercase; color: #ededf3; }
.app-placa > span:not(.app-iso) { grid-column: auto; }
.app-placa > span:nth-of-type(2) { grid-column: 1 / 3; }
.app-tabs { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 4px 2px 3px; border-top: 1px solid rgba(181, 140, 242, 0.25); background: #0e0620; position: relative; z-index: 3; }
.app-tabs span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 8px; color: #9c93b8; }
.app-tabs span i { font-style: normal; font-family: var(--font-b); font-size: 4.5px; }
.app-tabs span.on { color: #2acfe8; }
.app-tabs span.on::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: #2acfe8; margin-bottom: 1px; }
.app-btns { display: none; }

/* la barra de pestañas de la app va fija abajo de la pantalla; el contenido pasa por debajo */
.telefono .pantalla.app { position: relative; display: block; }
.telefono .pantalla.app .app-scroll { flex: none; padding-bottom: 24px; }
.app-tabs { position: absolute; left: 0; right: 0; bottom: 0; }

/* --- Teléfono: piezas reales de la Calcula (corredera moleteada, perilla, manómetro, dibujos) y todo
   más chico aún (Orlando, 21 oct 2026: «mira el tipo de agarraderita… el cilindro… la perilla»). --- */
.telefono { --acc: #FBC63C; --v-mueve: #22D3EE; }
/* el riel: ranura hundida, lo recorrido va del acento al cian; la escala va debajo */
.app-track { height: 3px; border-radius: 2px; margin: 3px 0 4px;
  background: linear-gradient(90deg, #a68a2e 0%, #22D3EE var(--p, 50%), transparent var(--p, 50%)), linear-gradient(180deg, #050409, #17122a);
  box-shadow: inset 0 0.5px 1px rgba(0, 0, 0, 0.95), 0 0.5px 0 rgba(255, 255, 255, 0.07), 0 0 0 0.5px rgba(0, 0, 0, 0.45); }
.app-track::before { display: none; }
.app-track::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(214, 206, 245, 0.55) 0 1px, transparent 1px 25%) 0 0 / 100% 3px no-repeat, repeating-linear-gradient(90deg, rgba(190, 180, 230, 0.3) 0 1px, transparent 1px 5%) 0 1px / 100% 2px no-repeat; }
/* la corredera: tapa de fader en aluminio, moleteada, con su raya índice (la de la app, a escala) */
.app-track u { width: 7px; height: 11px; border-radius: 1.5px; transform: translate(-50%, -50%);
  background: linear-gradient(#22D3EE, #22D3EE) 50% 50% / 100% 1px no-repeat,
              repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0 1px, rgba(0, 0, 0, 0.3) 1px 2px) 50% 50% / calc(100% - 3px) 72% no-repeat,
              linear-gradient(90deg, #585d66 0%, #cfd3da 20%, #f6f7f9 44%, #b3b8c0 68%, #666b74 100%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 1.5px 3px rgba(0, 0, 0, 0.65), inset 0 0.5px 0 rgba(255, 255, 255, 0.75); }
.app-minmax { margin-top: 2px; }
/* perilla del regulador (CSS de la app, a escala) */
.app-instr { gap: 10px; justify-content: center; padding: 1px 0 2px; }
.app-perilla { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.app-perilla > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.app-perilla .ins-muesca { stroke: #3E3560; stroke-width: 1.6; stroke-linecap: round; }
.app-perilla .ins-muesca.ins-larga { stroke-width: 2; }
.app-perilla .ins-muesca.ins-luz { stroke: #22D3EE; filter: drop-shadow(0 0 1px rgba(34, 211, 238, 0.9)); }
.app-perilla .ins-signo { font: 700 9px/1 var(--font-b); fill: #8F86B0; }
.app-perilla .ins-tapa, .app-perilla .ins-brillo, .app-perilla .ins-indice { position: absolute; left: 50%; top: 50%; width: 68%; height: 68%; margin: -34% 0 0 -34%; border-radius: 50%; }
.app-perilla .ins-tapa { transform: rotate(var(--ins-ang, 0deg));
  background: radial-gradient(circle closest-side, transparent 0 71%, rgba(0, 0, 0, 0.6) 72%, transparent 78%), radial-gradient(circle closest-side, #a1a7b0 0 72%, transparent 72.5%), repeating-conic-gradient(from 0deg, #272a31 0 4deg, #a3a9b2 4deg 6deg, #4a4f57 6deg 9deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75), 0 0 0 0.5px rgba(0, 0, 0, 0.7); }
.app-perilla .ins-brillo { background: conic-gradient(from 200deg, #8c929b, #f4f6f8 9%, #a9afb7 20%, #5f646c 33%, #b9bec5 46%, #f7f8fa 58%, #9da3ab 70%, #5c6169 84%, #8c929b);
  -webkit-mask: radial-gradient(circle closest-side, #000 0 70%, transparent 71%); mask: radial-gradient(circle closest-side, #000 0 70%, transparent 71%); }
.app-perilla .ins-brillo::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%), radial-gradient(circle at 60% 78%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 55%);
  -webkit-mask: radial-gradient(circle closest-side, #000 0 70%, transparent 71%); mask: radial-gradient(circle closest-side, #000 0 70%, transparent 71%); }
.app-perilla .ins-indice { transform: rotate(var(--ins-ang, 0deg)); }
.app-perilla .ins-indice::before { content: ""; position: absolute; left: 50%; top: 15%; width: 1.5px; height: 28%; margin-left: -0.75px; border-radius: 1px; background: #22D3EE; box-shadow: 0 0 3px rgba(34, 211, 238, 0.95), 0 0 0.5px #fff; }
/* manómetro real */
.app-gauge, .app-instr .ins-mano { width: 36px; height: 36px; display: block; overflow: visible; }
.app-instr .ins-num { font: 700 9.5px/1 var(--font-b); fill: #ECE9F6; }
.app-instr .ins-uni { font: 600 7.5px/1 var(--font-b); letter-spacing: 0.08em; fill: #B9AEDB; }
.app-instr .ins-raya { stroke: #D9D3EE; }
/* dibujos reales: el del resultado (con sus animaciones) y «Así se ve» */
.app-visual .app-dib { display: block; width: 72%; height: auto; max-height: none; margin: 0 auto; background: none; border: 0; }
.app-dib .svn { font-family: var(--font-m); font-size: 16px; }
.app-dib .svn.b { font-weight: 600; }
.app-dib .svn.ch { font-size: 13.5px; }
.app-dib .vdim { font-family: var(--font-m); font-size: 10px; fill: #8F8F9C; }
.app-dib .vlab { font-family: var(--font-m); font-weight: 500; fill: #FBC63C; }
.app-retrato { display: block; width: 60%; height: auto; max-height: none; margin: 0 auto; }
/* todo más chico aún */
.app-scroll { gap: 3px; }
.app-h { font-size: 8.5px; }
.app-card { gap: 2.5px; padding: 4px 5px; }
.app-ct { font-size: 5px; }
.app-lbl { font-size: 5px; padding: 1.5px 4px; }
.app-lbl b { font-size: 7px; }
.app-val { font-size: 7px; padding: 2px 5px; min-width: 24px; }
.app-chips span { padding: 2.5px 2px; font-size: 6px; }
.app-nota { font-size: 5px; }
.app-nota.c { font-size: 4.5px; }
.app-minmax { font-size: 4.5px; }
.app-ec { font-size: 5.5px; line-height: 1.3; }
.app-ec small { font-size: 4.5px; }
.app-letrero { font-size: 6px; padding: 1.5px 6px; }
.app-placa { padding: 4px 5px; }
.app-placa span b { font-size: 7.5px; }
.app-placa span small, .app-placa .app-que { font-size: 4.5px; }
.app-placa .app-iso { font-size: 5px; }
.app-res { padding: 4px 6px; }
.app-rl, .app-rf { font-size: 5px; }
.app-rv { font-size: 15px; }
.app-sem { font-size: 5px; }
.app-bar { grid-template-columns: 46px 1fr auto; gap: 3px; font-size: 5px; }
.app-bar i { height: 4px; }
.app-bar b { font-size: 6px; }
.app-ficha { padding: 3px 5px; }
.app-ficha b { font-size: 9px; }
.app-ficha small, .app-ficha span { font-size: 4.5px; }
.app-tabs { padding: 3px 2px 2px; }
.app-tabs span { font-size: 7px; }
.app-tabs span i { font-size: 4px; }
.app-visual .app-dib { width: 62%; }
.app-retrato { width: 50%; }

/* ==========================================================================
   21 oct 2026 · ESCRITORIO: menos aire entre secciones (Orlando: «tiene espacios demasiado grandes,
   no sé por qué está tan separado; aplica para todas las páginas»). Antes cada sección llevaba
   130 px arriba y 130 abajo a 1440 px (260 px de hueco); ahora ~60 y ~60. Solo ≥ 768 px.
   ========================================================================== */
@media (min-width: 768px) {
  .sec { padding: clamp(44px, 4.2vw, 64px) 0; }
  .sec-head { margin-bottom: clamp(18px, 2.2vw, 30px); }
  .empresa { min-height: 0; }
  .page-hero { padding: calc(var(--nav-h) + var(--bar-h) + 40px) 0 44px; min-height: 0; }
  .calcula-hero { min-height: 0; }
  .cta-final { padding: clamp(32px, 4vw, 52px) var(--gutter); }
  .footer { padding-top: 40px; }
  .suite-marcas { gap: 18px; }
  .franja-normas { margin-top: 18px; }
  .astro-feats, .plazas { margin: 18px 0; }
  .ticker { padding: 10px 0; }
}

/* ==========================================================================
   21 oct 2026 · ESCRITORIO: títulos más chicos, encabezados en dos columnas (título | texto y botón)
   y las 5 marcas + ASTROMART en UNA fila para verlas en un pantallazo (Orlando: «no alcanzo a ver
   todo, usas títulos con varios renglones, demasiado espacio muerto»).
   ========================================================================== */
@media (min-width: 1024px) {
  .h2 { font-size: clamp(26px, 2.6vw, 38px); max-width: none; }
  .lead { font-size: 16px; }
  .page-hero h1 { font-size: clamp(36px, 4.2vw, 56px); }
  .hero-title { font-size: clamp(36px, 4.6vw, 66px); }
  .cta-final .h2 { font-size: clamp(26px, 2.6vw, 36px); }
  /* encabezado de sección: ceja arriba; título a la izquierda, texto (y botón) a la derecha */
  .sec-head:not(.centro) { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 48px; row-gap: 6px; align-items: end; margin-bottom: clamp(16px, 1.8vw, 24px); }
  .sec-head:not(.centro) .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
  .sec-head:not(.centro) .h2 { grid-column: 1; }
  .sec-head:not(.centro) .lead { grid-column: 2; margin: 0 0 4px; max-width: 58ch; }
  .sec-head:not(.centro) .btn, .sec-head:not(.centro) > div:not(.eyebrow) { grid-column: 2; justify-self: start; margin-top: 2px; }
  .sec-head.centro .lead { margin-top: 8px; }
  /* marcas: 6 en una fila, tarjetas compactas (la descripción larga se queda en el sitio de cada marca) */
  .brands-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px; }
  .brand-logo { height: 104px; padding: 14px 16px; }
  .brand-card .num { top: 8px; left: 10px; }
  .brand-body { padding: 12px 13px 13px; gap: 6px; }
  .brand-body h3 { font-size: 17px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-body .sector { font-size: 8.5px; padding: 2px 6px; }
  .brand-body .claim { font-size: 12.5px; line-height: 1.3; }
  .brand-body .desc { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .brand-datos { font-size: 10px; margin-top: 6px; line-height: 1.5; }
  .brand-equiv { display: none; }
  .brand-foot { padding-top: 8px; margin-top: 4px; font-size: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .brand-foot .dom { font-size: 10px; }
  .brand-card[data-marca="astromart"] .brand-logo img { width: 92%; }
  .brand-card[data-marca="profilex"] .sello-pronto { font-size: 10px; padding: 5px 12px; bottom: 10px; }
  .pronto-lema { font-size: 9px; }
  .brand-card[data-marca="astromart"] .sello-pronto { font-size: 10px; padding: 4px 10px; }
  .franja-normas { margin-top: 14px; padding: 14px 22px; gap: 16px; }
  .fn-n b { font-size: 40px; }
  .fn-txt p { font-size: 14px; margin: 4px 0 8px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
  /* el letrero «Marca mexicana. Sin concesiones.» iba a 92 px: también más chico */
  .shield .h2, .shield h2 { font-size: clamp(32px, 3.4vw, 50px) !important; }
}
@media (min-width: 1024px) { .shield { min-height: 58vh; } }

/* «Cinco marcas, una tienda en línea» baja del logo al cuerpo de la tarjeta ASTROMART (Orlando, 21 oct
   2026: «se ve muy amontonado»); el logo queda solo con su sello «Próximamente». */
.brand-body .pronto-lema { font-family: var(--font-m); font-size: 10px !important; letter-spacing: 0.12em !important; text-transform: uppercase; color: var(--ac); margin: -2px 0 0; line-height: 1.35; text-align: left; }
.brand-card[data-marca="astromart"] .brand-logo.pronto { gap: 12px; }
@media (max-width: 767px) { .brand-body .pronto-lema { font-size: 8px !important; margin: 0; } }

/* ==========================================================================
   21 oct 2026 · Pantallas medianas (1024–1499 px, o navegador con zoom): Herramientas se apretaba
   (4 grupos de marcas en una fila, tarjetas de 200 px con palabras partidas y logos salidos).
   Ahora 2 grupos por fila y tarjetas que no se desbordan nunca.
   ========================================================================== */
.suite-card, .suite-body { min-width: 0; }
.suite-card .marca-logo { max-width: 100%; }
.suite-card .marca-logo img { max-width: 100%; }
.suite-top { flex-wrap: wrap; }
.estado { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1499px) {
  .suite-marcas { grid-template-columns: 1fr 1fr; gap: 16px; }
  .suite-marcas .suite-fila { grid-template-columns: 1fr; }
  .g-neumatica .suite-fila { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) and (max-width: 1499px) {
  .suite-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .suite-ico { width: 48px; height: 48px; }
  .suite-ico svg, .suite-ico img { width: 28px; height: 28px; }
  .suite-card h3 { font-size: 18px; }
  .suite-card .desc { font-size: 13px; }
}

/* ==========================================================================
   21 oct 2026 · Títulos de dos frases (Orlando: «si ya va a empezar la frase en otro renglón, que
   respete la puntuación»): la frase de color es una sola pieza. Si no cabe completa en el renglón,
   baja entera al siguiente («Ingeniería en minutos.» / «No en semanas.»), nunca se parte a la mitad.
   ========================================================================== */
h1 .az, h2 .az, .h2 .az, .page-hero h1 .az { display: inline-block; }

/* ==========================================================================
   21 oct 2026 · Celular (Orlando, visor de celulares): la banderita a la mitad para que no tape la
   ceja; las cifras («Catálogo GCI 2026» encima del número en los Samsung de 360 px) con la etiqueta
   arriba del número en vez de flotando en la esquina.
   ========================================================================== */
@media (max-width: 767px) {
  .bandera { width: 15px !important; height: 10px !important; top: calc(var(--nav-h) + var(--bar-h) + 8px) !important; opacity: 0.9; }
  .bandera.cn { left: calc(var(--gutter) + 20px) !important; }
  .bandera video { width: 15px; height: 10px; }
  .cifra { padding-top: 10px !important; }
  .cifra .f { position: static !important; display: block; font-size: 8px !important; letter-spacing: 0.1em; margin: 0 0 4px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 767px) {
  /* plazas: el nombre nunca pasa por debajo del número de la esquina */
  .plaza .n { padding-right: 28px; }
  .plaza .num { top: 9px; right: 10px; font-size: 9px; }
}
@media (max-width: 767px) {
  /* tarjetas numeradas (reglas de Calcula, pilares): el título no pasa por debajo del «01» de la esquina */
  .card h3 { padding-right: 24px; }
  .card .n { top: 9px; right: 10px; font-size: 8.5px; }
}

/* ==========================================================================
   21 oct 2026 · Inspector QA del visor compartido (skill vista-celular), Galaxy S24 360 px:
   colisiones de caja entre el «01» de las plazas y el nombre, y renglones «apretados»
   (line-height < 1.05) en títulos y cifras. Se corrige en todas las pantallas.
   ========================================================================== */
.plaza .n { width: calc(100% - 30px); padding-right: 0; }
.hero-title { line-height: 1.08; }
.cifra .n, .fn-n b { line-height: 1.1; }
.paso h3 { line-height: 1.15; }
.brand-body .sector { line-height: 1.25; }
.card h3, .valor h3, .disc b, .suite-card h3 { line-height: 1.15; }
.app-rv, .app-ficha b, .app-placa span b { line-height: 1.12; }
/* QA (visor compartido): títulos con line-height ≥ 1.1 en todo el sitio; el nombre del fundador también;
   en las tarjetas numeradas el título mide hasta antes del «01» (no solo deja aire con padding). */
h1, h2, h3, h4, .h2 { line-height: 1.1; }
.gp-nombre { line-height: 1.1 !important; }
@media (max-width: 767px) { .card h3 { width: calc(100% - 26px); padding-right: 0; } }
.normas-cifras b { line-height: 1.1; }

/* ==========================================================================
   21 oct 2026 · Inspector QA del visor de ESCRITORIO (skill vista-escritorio), laptop 1080p al 125 %:
   la etiqueta «Catálogo GCI 2026» chocaba con el número en todas las pantallas (ya no flota); los
   «01» de las tarjetas son decorativos (aria-hidden); menú con line-height ≥ 1.2; párrafos de las
   herramientas ni más largos de ~70 caracteres ni en columnas angostas (los 4 grupos de marcas van
   en 2 columnas hasta 1699 px).
   ========================================================================== */
.cifra { padding-top: 16px; }
.cifra .f { position: static; display: block; margin: 0 0 6px; text-align: left; }
.nav-links a { line-height: 1.25; }
.suite-card .desc { max-width: 70ch; }
@media (min-width: 1500px) and (max-width: 1799px) {
  .suite-marcas { grid-template-columns: 1fr 1fr; gap: 18px; }
  .suite-marcas .suite-fila { grid-template-columns: 1fr; }
  .g-neumatica .suite-fila { grid-template-columns: 1fr 1fr; }
}
/* QA escritorio, segunda pasada: párrafos de herramientas a ≤ ~75 caracteres; marcas en 6 columnas solo
   desde 1440 (antes 1280: columnas de ~29 caracteres); en tablet (768–1099) las herramientas en 2 columnas con
   tarjeta compacta; Neumática en 1 columna entre 1100 y 1699; ventajas de ASTROMART en 1 columna entre 960 y
   1199; franja de normas en 1 columna hasta 899; y en 768–1023 la portada deja sitio a la barra de pestañas. */
.suite-card .desc { max-width: 58ch; }
@media (min-width: 1280px) and (max-width: 1439px) { .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 768px) and (max-width: 1099px) {
  .suite-fila { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .suite-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .suite-ico { width: 48px; height: 48px; }
  .suite-ico svg, .suite-ico img { width: 28px; height: 28px; }
}
@media (min-width: 1100px) and (max-width: 1799px) { .g-neumatica .suite-fila { grid-template-columns: 1fr !important; } }
@media (min-width: 960px) and (max-width: 1199px) { .astro-feats { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) and (max-width: 899px) { .franja-normas { grid-template-columns: minmax(0, 1fr); text-align: left; } .fn-n { flex-direction: row; gap: 10px; align-items: baseline; min-width: 0; } }
@media (min-width: 768px) and (max-width: 1023px) { .hero-inner { padding-bottom: calc(var(--tab-h) + 28px); } }
/* QA escritorio, tercera pasada: en tablet/split (768–1023) la portada cabe en la pantalla y sus botones
   quedan arriba de la barra de pestañas; pasos y herramientas élite con columnas de ≥ 270/300 px. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-inner { padding-top: calc(var(--nav-h) + var(--bar-h) + 10px); padding-bottom: calc(var(--tab-h) + 34px); }
  .hero-logo img { height: clamp(76px, 10vh, 112px); }
  .hero-logo { padding: 10px 18px; }
  .hero-intro { margin-bottom: 10px; }
  .hero-intro .l2 { font-size: 20px; }
  .hero-holding { margin-top: 8px; }
  .hero-monos { margin: 10px 0; }
  .hero-monos .mono { width: 46px; height: 46px; }
  .hero-title { font-size: clamp(30px, 4.6vw, 44px); }
  .hero-sub { font-size: 15px; margin-top: 8px; }
  .hero-cta { margin-top: 12px; }
}
@media (min-width: 768px) {
  .pipeline { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
  .suite > .suite-grupo .suite-fila, .suite > .suite-acordeon .suite-fila { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
}
@media (min-width: 768px) {
  /* QA escritorio: pilares y valores con columnas de ≥ 300 px (antes 240: párrafos de ~25 caracteres por línea) */
  .pilares, .valores { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
}
/* QA escritorio: ventajas de ASTROMART en 1 columna hasta 1365 px (en 2 quedaban párrafos de ~28 caracteres) */
@media (min-width: 960px) and (max-width: 1365px) { .astro-feats { grid-template-columns: minmax(0, 1fr); } }
.nseg-lead { max-width: 60ch; }
@media (min-width: 768px) { .legal p, .legal li, .legal h2, .legal h3 { max-width: 68ch; } }

/* ==========================================================================
   21 oct 2026 · Capa de fluidez (skill depuracion-profesional), adaptada a GCI. Solo añade lo que
   faltaba: cambio de página sin parpadeo, prefetch (en gen.py), cifras tabulares, curva de la marca.
   La curva de GCI es --ease (acelera, viaja y frena sin sobrepaso): ninguna curva con rebote.
   ========================================================================== */
:root { --curva: var(--ease); }
/* --- Ley 1 · cambio de página sin parpadeo: menú, cinta de marcas, barra de pestañas y pie se quedan
   quietos; el contenido entra en X con la curva de la marca --- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; opacity: 0; }
::view-transition-new(root) { animation: vt-entra 0.32s var(--curva); }
@keyframes vt-entra { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.nav { view-transition-name: gci-nav; }
.brandbar { view-transition-name: gci-brandbar; }
.tabbar { view-transition-name: gci-tabbar; }
.footer { view-transition-name: gci-footer; }
/* --- Ley 3 · cifras que alinean --- */
body, table, code, .mono, .cifra .n, .fn-n b, .plaza .num, .telemetria { font-variant-numeric: tabular-nums; }
/* --- Ley 2 · quien pidió menos movimiento no ve ninguno (red de seguridad bajo las reglas por bloque) --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ==========================================================================
   22 oct 2026 · Blindaje (skill blindaje): línea de propiedad intelectual en el pie, imágenes sin
   arrastre (el texto sigue seleccionable) y franja de «copia no autorizada» fuera del dominio oficial.
   ========================================================================== */
.footer-pi { margin-top: 10px; font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.06em; color: var(--subtle); }
.footer-pi a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 6px; }
.footer-pi a:hover, .footer-pi a:focus-visible { color: var(--fg); }
@media (max-width: 767px) { .footer-pi { line-height: 1.5; } .footer-pi a { padding-block: 14px; } }   /* 44 px de toque */
img, video { -webkit-user-drag: none; user-drag: none; }
html.copia #form-card, html.copia .telefono { display: none !important; }
.franja-copia { display: block; background: #ff1744; color: #fff; text-align: center; padding: 10px 16px; font: 600 13px/1.4 var(--font-m); text-decoration: none; position: sticky; top: 0; z-index: 999; }
