/* Fuentes alojadas en el propio sitio (sin peticiones a terceros) */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/jetbrainsmono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/jetbrainsmono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/plusjakartasans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/plusjakartasans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* =========================================================
   BrainCode México Tech — "Red de líneas"
   Mundo visual tomado de la señalética del Metro de la Ciudad de México
   y del programa gráfico de México 68: cada servicio es una línea con su
   color y su pictograma, y el sitio se lee como un mapa de red.
   Tipografía de señalización (Overpass). Monoespaciada solo para datos.
   ========================================================= */
:root {
  --ground: #F4F5F7;
  --paper: #FFFFFF;
  --ink: #111C26;
  --ink-2: #33424F;
  --muted: #5A6A78;
  --rule: #DDE2E8;
  --rule-2: #C2CBD3;
  --coral: #FA7366;
  --coral-ink: #B8392B;
  --night: #0B141C;
  --night-2: #131F2A;
  --ok: #2F7F5F;

  /* líneas de servicio */
  --l-odoo: #E2584A;
  --l-soft: #2B3D4B;
  --l-apps: #4E6E86;
  --l-proc: #5F7689;
  --l-cloud: #2F6F8F;

  --wa: #25D366;
  --wa-ink: #128C4B;

  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 18px 40px -22px rgba(30, 42, 51, .45);
  --shadow-sm: 0 2px 6px -2px rgba(30, 42, 51, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad-x: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--ground); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--ground); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--l-cloud); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: #fff; }
html { scrollbar-color: var(--rule-2) var(--ground); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.35rem); color: var(--ink-2); line-height: 1.5; }
.section--ink .lead { color: #C9D3DB; }
h1 + .lead, h2 + .lead { margin-top: 20px; }
.data { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }

/* ---------- pictogramas de línea ---------- */
.line { --c: var(--ink); }
.line--odoo { --c: var(--l-odoo); }
.line--soft { --c: var(--l-soft); }
.line--apps { --c: var(--l-apps); }
.line--proc { --c: var(--l-proc); }
.line--cloud { --c: var(--l-cloud); }
.picto { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.picto svg { width: 24px; height: 24px; stroke-width: 2.2; }
.picto--sm { width: 30px; height: 30px; border-radius: 7px; }
.picto--sm svg { width: 17px; height: 17px; }
.picto--lg { width: 64px; height: 64px; border-radius: 14px; }
.picto--lg svg { width: 34px; height: 34px; }

/* ---------- botones (placas) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 10px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #0F171E; }
.btn--coral { background: var(--coral); color: var(--night); box-shadow: 0 10px 24px -12px rgba(250,115,102,.8); }
.btn--coral:hover { background: #F35E50; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1EBE5A; }
.btn--wa img { width: 22px; height: 22px; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { height: 46px; width: auto; }
.brand__name { display: grid; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1; }
.brand__name small { font-weight: 700; font-size: .72rem; letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__menu a { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-2); padding: 10px 11px; border-radius: 8px; transition: background-color .2s, color .2s; }
.nav__menu a .dot-line { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.nav__menu a:hover { background: var(--ground); color: var(--ink); }
.nav__menu a[aria-current="page"] { color: var(--ink); background: var(--ground); }
.nav__cta-mobile { display: none !important; }
.nav__toggle { display: none; }
@media (max-width: 1120px) {
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
  .nav__toggle svg { width: 22px; height: 22px; }
  .nav__toggle .i-close, .nav__toggle[aria-expanded="true"] .i-open { display: none; }
  .nav__toggle[aria-expanded="true"] .i-close { display: block; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px); flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--pad-x) 32px; background: var(--paper); border-top: 1px solid var(--rule); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__menu a { font-size: 1.2rem; padding: 18px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; gap: 14px; }
  .nav__menu a .dot-line { width: 14px; height: 14px; }
  .nav__menu .nav__cta-mobile { display: inline-flex !important; margin-top: 24px; border-radius: 10px; border: 0; color: #fff; background: var(--ink); justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 600px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } .brand__mark { height: 40px; } }

.crumbs { padding-top: 22px; font-size: .9rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--rule-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- héroe: planificador de rutas ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); border-bottom: 1px solid #1d2b37; padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 55% at 85% 10%, rgba(250,115,102,.22), transparent 70%),
  radial-gradient(50% 50% at 8% 95%, rgba(47,111,143,.28), transparent 70%); animation: aurora 16s ease-in-out infinite alternate; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
@keyframes aurora { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%,3%,0) scale(1.08); } }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: #B9C6D1; }
.page-hero { padding-top: 8px; }
.page-hero .partners { background: transparent; color: inherit; padding: 0; }
.page-hero .btn--primary { background: var(--coral); color: var(--night); }
.page-hero .btn--primary:hover { background: #F35E50; }
.page-hero .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.page-hero .btn--ghost:hover { background: #fff; color: var(--night); }
.page-hero .ticks li, .page-hero .list-check li { color: #DCE4EA; }
.hero .partners-inline b { color: #8FA0AE; }
.hero .partners-inline img { filter: brightness(0) invert(1); opacity: .72; }
.hero .netmap .ln { filter: saturate(.9); }
.hero .netmap .st { fill: var(--night); stroke: #fff; }
.hero .netmap .lbl, .hero .netmap .hub text { fill: #fff; }
.hero .netmap .hub rect { fill: var(--night-2); stroke: #fff; }
.hero .netmap .train { fill: var(--coral); stroke: #fff; }
.hero .netmap figcaption { color: #8FA0AE; }
.hero .planner { border-color: rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); color: var(--ink); }
.hero .planner__head { background: var(--night-2); border-bottom: 1px solid #22323f; }
.hero .planner__head span:last-child { color: #9FB0BD; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.hero h1 { max-width: 12ch; letter-spacing: -0.035em; }
.hero .lead { max-width: 46ch; margin-bottom: 32px; }
.planner { border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.planner__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--ink); color: #fff; font-weight: 800; }
.planner__head span:last-child { font-weight: 600; font-size: .85rem; color: #C9D3DB; }
.planner__body { padding: 18px; display: grid; gap: 16px; }
.stops { display: grid; gap: 8px; }
.stop { position: relative; }
.stop input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stop span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--rule); font-weight: 700; transition: border-color .2s, background-color .2s; cursor: pointer; }
.stop span .picto { transition: transform .25s var(--ease); }
.stop small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: .82rem; }
.stop:hover span { border-color: var(--rule-2); }
.stop input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.stop input:checked + span .picto { transform: scale(1.06); }
.stop input:checked + span::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; flex: none; }
.stop input:focus-visible + span { outline: 3px solid var(--l-cloud); outline-offset: 2px; }
.route { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--ground); }
.route__text b { display: block; font-size: 1rem; }
.route__text span { font-size: .9rem; color: var(--muted); }
.route__lines { display: flex; gap: 4px; }
.route__lines i { width: 22px; height: 8px; border-radius: 4px; background: var(--c); }
.partners-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.partners-inline b { font-size: .85rem; color: var(--muted); font-weight: 700; }
.partners-inline img { height: 26px; width: auto; }
.partners-inline .p-aws { height: 30px; }
.partners-inline .p-ms { height: 32px; }

/* mapa de red */
.netmap { position: sticky; top: 100px; align-self: start; margin: 0; }
.netmap svg { width: 100%; height: auto; overflow: visible; stroke: none; }
.netmap .ln { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; transition: opacity .35s var(--ease), stroke-width .35s var(--ease); }
.netmap .st { fill: #fff; stroke: var(--ink); stroke-width: 3.5; transition: opacity .35s; }
.netmap .lbl { font-family: var(--font); font-size: 16px; font-weight: 800; fill: var(--ink); transition: opacity .35s; }
.netmap .lbl--line { font-size: 13px; font-weight: 800; letter-spacing: .06em; fill: #fff; }
.netmap .hub rect { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.netmap .hub text { font-weight: 800; font-size: 17px; fill: var(--ink); }
.netmap .train { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.netmap.has-route [data-line]:not(.is-on) { opacity: .16; }
.netmap.has-route .ln.is-on { stroke-width: 15; }
.netmap figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- partners oficiales ---------- */
.partners { background: var(--ground); color: var(--ink); padding-block: clamp(48px, 6vw, 72px); }
.partners__grid { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 16px; align-items: stretch; }
.partners__intro h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.partners__intro p { color: var(--muted); margin-top: 12px; }
.plate { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 18px; padding: 26px 24px 20px; border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; min-height: 190px; border: 1px solid var(--rule); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plate:hover { box-shadow: var(--shadow); }
.plate:hover { transform: translateY(-4px); }
.plate__logo { display: grid; place-items: center; }
.plate__logo img { max-height: 54px; width: auto; max-width: 78%; }
.plate__logo .pl-aws { max-height: 64px; }
.plate__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 800; font-size: .95rem; }
.plate__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.plate__meta svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 3; }

/* ---------- directorio de líneas ---------- */
.lines { display: grid; gap: 14px; }
.line-row { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; gap: 24px; padding: 22px 26px 22px 22px; border-radius: var(--r); background: var(--paper); text-decoration: none; border: 2px solid transparent; transition: border-color .25s, transform .3s var(--ease); }
.line-row:hover { border-color: var(--c); transform: translateX(4px); }
.line-row h3 { font-size: 1.45rem; }
.line-row p { color: var(--muted); font-size: .98rem; margin-top: 4px; }
.line-row__name small { display: block; font-weight: 800; font-size: .8rem; color: var(--c); letter-spacing: .08em; margin-bottom: 4px; }
.stations { position: relative; display: flex; justify-content: space-between; gap: 6px; padding-top: 22px; }
.stations::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 7px; border-radius: 4px; background: var(--c); }
.stations li { position: relative; flex: 1; font-size: .82rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.2; }
.stations li::before { content: ""; position: absolute; top: -21px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.stations li:first-child { text-align: left; }
.stations li:first-child::before { left: 0; margin-left: 0; }
.stations li:last-child { text-align: right; }
.stations li:last-child::before { left: auto; right: 0; margin-left: 0; }
.line-row__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ground); color: var(--ink); transition: background-color .2s, color .2s; }
.line-row__go svg { width: 20px; height: 20px; stroke-width: 2.6; }
.line-row:hover .line-row__go { background: var(--c); color: #fff; }

/* ---------- vitrina de procesos ---------- */
.showcase__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tabs { display: grid; gap: 8px; margin: 28px 0 32px; }
.tabs button { display: flex; gap: 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--rule); background: var(--paper); cursor: pointer; transition: border-color .2s; color: var(--ink); }
.tabs button > svg { width: 40px; height: 40px; padding: 9px; border-radius: 9px; background: var(--ground); color: var(--ink-2); transition: background-color .2s, color .2s; }
.tabs button span { display: grid; }
.tabs button b { font-weight: 800; }
.tabs button small { color: var(--muted); font-size: .9rem; }
.tabs button:hover { border-color: var(--rule-2); }
.tabs button[aria-selected="true"] { border-color: var(--l-proc); }
.tabs button[aria-selected="true"] > svg { background: var(--l-proc); color: #fff; }
.m-panel[hidden] { display: none; }
.showcase__device { position: relative; }

/* ---------- dispositivos ---------- */
.stage { position: relative; padding: 20px 0 30px; }
.laptop { position: relative; width: 100%; max-width: 640px; margin-left: auto; }
.laptop__screen { background: #1B2530; border-radius: 16px 16px 0 0; padding: 10px; box-shadow: var(--shadow); }
.laptop__base { height: 14px; margin: 0 -5%; background: linear-gradient(#C9D2DA, #9AA7B3); border-radius: 0 0 14px 14px; position: relative; }
.laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); background: #7B8996; border-radius: 0 0 6px 6px; }
.app { background: #F8FAFC; border-radius: 8px; overflow: hidden; font-size: 11px; line-height: 1.35; color: var(--ink); aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.app__bar { display: flex; align-items: center; gap: 14px; padding: 9px 12px; color: #fff; }
.app__bar img, .app__ico { width: 16px; height: 16px; }
.app__bar strong { font-size: 12px; }
.app__bar span { opacity: .8; }
.app__bar--brand { background: var(--ink); }
.app__bar--dark { background: var(--l-cloud); }
.app__avatar { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 9px; }
.app__logo { font-weight: 800; color: var(--coral); }
.app__body { padding: 12px; display: grid; gap: 10px; flex: 1; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; }
.kpi small { color: #64748B; font-size: 10px; }
.kpi b { font-size: 15px; letter-spacing: -0.02em; }
.kpi em { font-style: normal; font-size: 9.5px; color: #64748B; }
.kpi em.up { color: #15803D; }
.orders { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; padding: 4px 10px; }
.orders li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F1F5F9; }
.orders li:last-child { border-bottom: 0; }
.orders li span:first-child { font-weight: 800; color: var(--l-cloud); }
.tag { font-size: 9.5px; font-weight: 800; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.tag--ok { background: #DCFCE7; color: #15803D; }
.tag--info { background: #DBEAFE; color: #1D4ED8; }
.tag--warn { background: #FEF3C7; color: #A16207; }
.app__title { display: flex; align-items: center; gap: 8px; }
.app__title strong { font-size: 13px; }
.grid-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; font-variant-numeric: tabular-nums; }
.grid-table th { text-align: left; font-size: 9.5px; color: #64748B; font-weight: 700; padding: 7px 10px; background: #F1F5F9; }
.grid-table td { padding: 8px 10px; border-top: 1px solid #F1F5F9; }
.grid-table td:not(:first-child), .grid-table th:not(:first-child) { text-align: right; }
.app__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #64748B; }
.app__foot b { color: var(--ink); font-size: 13px; }
.app__cta { margin-left: auto; background: var(--coral); color: var(--ink); font-weight: 800; padding: 6px 12px; border-radius: 6px; }
.line-chart { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; padding: 10px; }
.line-chart small { color: #64748B; font-size: 10px; }
.line-chart svg { width: 100%; height: 60px; margin-top: 6px; }
.lc-area { fill: rgba(18, 112, 181, .12); stroke: none; }
.lc-line { fill: none; stroke: var(--l-cloud); stroke-width: 2; vector-effect: non-scaling-stroke; }
.phone { width: 210px; background: #1B2530; border-radius: 34px; padding: 9px; box-shadow: var(--shadow); }
.phone__screen { position: relative; background: #fff; color: var(--ink); border-radius: 26px; overflow: hidden; min-height: 380px; padding: 30px 14px 16px; font-size: 12px; line-height: 1.35; }
.phone__screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 999px; background: #1B2530; }
.phone--lg { width: 290px; margin-inline: auto; }
.phone--lg .phone__screen { min-height: 540px; padding: 38px 18px 20px; font-size: 13.5px; }
.m-head { display: grid; margin-bottom: 12px; }
.m-head small { color: #64748B; font-size: .85em; }
.m-head strong { font-size: 1.45em; letter-spacing: -0.02em; font-weight: 800; }
.m-list { display: grid; gap: 7px; }
.m-list li { display: flex; gap: 9px; align-items: center; background: #F1F5F9; border-radius: 12px; padding: 9px 10px; }
.m-list i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; flex: none; }
.m-list .is-done i { background: #22C55E; }
.m-list .is-now { background: #FFF1EF; }
.m-list .is-now i { background: var(--coral); box-shadow: 0 0 0 4px rgba(250,115,102,.25); }
.m-list div { display: grid; }
.m-list span { color: #64748B; font-size: .9em; }
.m-btn { margin-top: 12px; background: var(--ink); color: #fff; text-align: center; font-weight: 800; border-radius: 12px; padding: 10px; }
.m-card { background: var(--l-apps); color: #fff; border-radius: 16px; padding: 14px; display: grid; gap: 2px; margin-bottom: 10px; }
.m-card b { font-size: 1.6em; letter-spacing: -0.02em; }
.m-card span, .m-card small { opacity: .9; font-size: .85em; }
.m-search { display: flex; align-items: center; gap: 8px; background: #F1F5F9; border-radius: 10px; padding: 9px 10px; color: #64748B; margin-bottom: 10px; }
.m-search svg { width: 15px; height: 15px; }
.m-stock li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px; border-bottom: 1px solid #E2E8F0; }
.m-stock span { color: #64748B; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-stock .is-low b, .m-stock .is-low span { color: #B91C1C; }
.m-alert { margin-top: 12px; background: #FEF2F2; color: #991B1B; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .92em; }
.m-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E2E8F0; font-variant-numeric: tabular-nums; }
.m-total { margin: 10px 0 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.m-total div { display: flex; justify-content: space-between; color: #64748B; }
.m-total dd { margin: 0; color: var(--ink); }
.m-total .is-total { padding-top: 8px; border-top: 2px solid var(--ink); color: var(--ink); font-weight: 800; font-size: 1.15em; }
.m-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.m-cal span { aspect-ratio: 1; display: grid; place-items: center; background: var(--l-proc); color: #fff; border-radius: 10px; font-weight: 800; }
.m-note { color: #64748B; }
.m-flow { display: grid; gap: 6px; margin-top: 10px; }
.m-flow li { background: #F1F5F9; border-radius: 10px; padding: 9px 10px 9px 34px; position: relative; }
.m-flow li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid #94A3B8; }
.m-flow .is-done::before { background: #22C55E; border-color: #22C55E; }
.m-checks { display: grid; gap: 6px; }
.m-checks li { background: #F1F5F9; border-radius: 10px; padding: 9px 10px 9px 34px; position: relative; }
.m-checks li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 4px; background: #22C55E; }
.m-checks .is-bad { background: #FEF2F2; color: #991B1B; }
.m-checks .is-bad::before { background: #EF4444; }
.m-photo { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 18px; border: 2px dashed #CBD5E1; border-radius: 12px; color: #64748B; justify-content: center; }
.m-photo svg { width: 18px; height: 18px; }
.chip-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); font-size: .82rem; z-index: 3; color: var(--ink); }
.chip-float div { display: grid; line-height: 1.25; }
.chip-float b { font-weight: 800; }
.chip-float small { color: var(--muted); }
.chip-float__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--l-proc); color: #fff; }
.chip-float__ico svg { width: 17px; height: 17px; stroke-width: 2.6; }
.chip-float--a { right: 0; bottom: 6%; }
.chip-float--b { right: 2%; bottom: 10%; }
.stage--phones { display: flex; justify-content: center; align-items: flex-end; padding: 20px 0; }
.phone--back { transform: translateX(28px) rotate(-6deg) scale(.92); }
.phone--front { position: relative; z-index: 2; transform: translateX(-28px) rotate(3deg); }

/* ---------- Odoo (apps oficiales) ---------- */
.odoo-home { background: #fff; border-radius: var(--r); padding: clamp(18px, 3vw, 32px); border: 2px solid var(--ink); }
.odoo-home ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px) 8px; }
.odoo-home li { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink); font-size: .85rem; font-weight: 700; }
.odoo-home img { width: clamp(44px, 5vw, 60px); height: auto; border-radius: 12px; transition: transform .25s var(--ease); }
.odoo-home li:hover img { transform: translateY(-4px); }

/* ---------- cobertura (globo) ---------- */
.coverage { background: var(--paper); overflow: hidden; border-block: 1px solid var(--rule); }
.coverage__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: center; min-height: min(860px, 100svh); padding-block: clamp(72px, 9vw, 110px); }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin: 30px 0; }
.cities li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 700; color: var(--muted); transition: color .3s; }
.cities li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--rule-2); transition: border-color .3s, background-color .3s; flex: none; }
.cities li.is-active { color: var(--ink-2); }
.cities li.is-active::before { border-color: var(--l-cloud); }
.cities li.is-on { color: var(--ink); }
.cities li.is-on::before { border-color: var(--ink); background: var(--coral); }
.cities li.is-home { color: var(--ink); }
.cities li.is-home::before { width: 18px; height: 18px; border-color: var(--ink); background: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts div { padding-top: 14px; border-top: 3px solid var(--ink); }
.facts svg { width: 22px; height: 22px; color: var(--l-cloud); margin-bottom: 8px; stroke-width: 2.2; }
.facts b { display: block; font-weight: 800; }
.facts span { font-size: .9rem; color: var(--muted); }
.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; margin-inline: auto; }
.globe__canvas { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.globe__canvas:active { cursor: grabbing; }
.globe__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.globe__labels { position: absolute; inset: 0; pointer-events: none; }
.globe__label { position: absolute; left: 0; top: 0; margin: -32px 0 0 10px; padding: 3px 9px; border-radius: 6px; background: #fff; border: 2px solid var(--ink); font-size: .78rem; font-weight: 800; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.globe__label.is-visible { opacity: 1; }
.globe__label--hq { background: var(--ink); color: #fff; }
.globe__fallback { position: absolute; inset: 10%; }
.globe.is-3d .globe__fallback { display: none; }
.globe__hint { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); font-size: .82rem; color: var(--muted); font-weight: 600; }
.latam { width: 100%; height: 100%; }
.latam path { stroke: #fff; stroke-width: .6; }
.latam .la { fill: #C5CFD8; }
.latam .mx { fill: var(--coral); }
.latam__dot { fill: var(--ink); }
.latam__ring { fill: none; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- arcade ---------- */
.arcade__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.arcade__copy .lead { margin-bottom: 24px; }
.keys { display: grid; gap: 10px; margin: 0 0 24px; color: #C9D3DB; }
.keys li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
kbd { font-family: var(--mono); font-size: .8rem; padding: 2px 8px; border-radius: 6px; border: 1px solid #4A5A68; border-bottom-width: 3px; background: #26343F; color: #fff; }
.powers { display: grid; gap: 10px; margin-bottom: 24px; }
.powers li { display: flex; align-items: center; gap: 12px; color: #C9D3DB; }
.pw { font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 6px; color: #0A1016; white-space: nowrap; letter-spacing: .02em; }
.pw--aws { background: #FF9900; } .pw--azure { background: #3B9BFF; } .pw--odoo { background: #C084B8; }
.best { color: #C9D3DB; }
.best b { color: #fff; font-family: var(--mono); }
.game { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid #fff; background: #0A1016; }
.game canvas { display: block; width: 100%; aspect-ratio: 16 / 9; touch-action: none; cursor: crosshair; }
.game canvas:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.game__hud { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 12px 16px; border-bottom: 1px solid #22313C; background: #0C141B; font-family: var(--mono); font-size: .78rem; color: #8B9BAB; }
.game__hud b { color: #fff; font-weight: 700; }
.uptime { display: inline-flex; align-items: center; gap: 8px; }
.uptime__bar { width: 90px; height: 6px; border-radius: 3px; background: #22313C; overflow: hidden; }
.uptime__bar i { display: block; height: 100%; background: #4ADE80; transform-origin: left; transition: transform .2s; }
.uptime__bar i[data-level="warn"] { background: #FBBF24; }
.uptime__bar i[data-level="bad"] { background: #F87171; }
.game__powers { display: flex; gap: 6px; margin-left: auto; }
.game__overlay { position: absolute; inset: 0; top: 43px; display: grid; place-items: center; padding: 20px; background: rgba(10,16,22,.7); }
.game__overlay[hidden] { display: none; }
.game__panel { text-align: center; max-width: 440px; color: #fff; }
.game__kicker { color: #FFB4AB; font-weight: 800; margin-bottom: 6px; }
.game__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.game__score { font-family: var(--mono); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.game__stats { display: flex; justify-content: center; gap: 18px; color: #C9D3DB; margin-bottom: 12px; }
.game__stats b { color: #fff; }
.game__msg { color: #C9D3DB; margin-bottom: 18px; }
.game__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.game__actions .btn--primary { background: var(--coral); color: var(--ink); }
.btn--outline-light { border-color: #fff; color: #fff; }

/* ---------- ruta del proyecto (pasos) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 46px; }
.steps__track { position: absolute; left: 0; right: 0; top: 14px; height: 10px; border-radius: 5px; background: var(--rule); overflow: hidden; }
.steps__track i { position: absolute; inset: 0; background: var(--c, var(--ink)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -40px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.step__num { display: block; font-weight: 800; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); }

/* ---------- estaciones (características de cada línea) ---------- */
.features { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.feature { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 22px; padding: 22px 0; }
.feature::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 8px; background: var(--c, var(--ink)); }
.feature::after { content: ""; position: absolute; left: 0; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.feature__icon { display: none; }
.feature h3 { grid-column: 2; }
.feature p { grid-column: 2; color: var(--ink-2); margin-top: 6px; max-width: 48ch; }

/* ---------- fundador ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.founder__card { margin: 0; border-radius: var(--r); background: var(--ink); color: #fff; padding: 34px; }
.founder__logo { width: 160px; height: auto; margin-bottom: 26px; }
.founder__card h3 { font-size: 1.6rem; }
.founder__role { color: #FFB4AB; font-weight: 700; margin-bottom: 18px; }
.founder__card blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; color: #E2E8EE; }
.founder__copy .lead { margin: 18px 0; }
.founder__copy p { color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: var(--ground); font-weight: 700; font-size: .9rem; }
.pills svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.6; }

/* ---------- redes sociales ---------- */
.social { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.social a { display: grid; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--paper); text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .3s var(--ease); }
.social a:hover { border-color: var(--ink); transform: translateY(-3px); }
.social img { width: 34px; height: 34px; }
.social b { font-weight: 800; font-size: 1.05rem; }
.social span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.social a.is-person { background: var(--ink); color: #fff; }
.social a.is-person span { color: #C9D3DB; }

/* ---------- preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { display: grid; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 800; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.faq details a { font-weight: 700; }

/* ---------- llamado final y formularios ---------- */
.cta { background: var(--ink); color: #fff; }
.cta .lead { color: #C9D3DB; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.cta__list { display: grid; gap: 12px; margin: 28px 0 32px; }
.cta__list li { display: flex; gap: 12px; align-items: center; font-weight: 700; color: #E2E8EE; }
.cta__list svg { width: 22px; height: 22px; color: var(--coral); stroke-width: 3; }
.wa-official { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.wa-official:hover { background: #1EBE5A; transform: translateY(-1px); }
.wa-official img { width: 26px; height: 26px; }
.wa-official small { display: block; font-weight: 600; font-size: .8rem; opacity: .92; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3.5vw, 34px); display: grid; gap: 18px; }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { font-weight: 800; margin-bottom: 12px; padding: 0; }
.choices label { position: relative; }
.choices input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; border: 2px solid var(--rule); font-weight: 700; font-size: .92rem; transition: background-color .2s, border-color .2s, color .2s; cursor: pointer; }
.choices span i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.choices label:hover span { border-color: var(--rule-2); }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--l-cloud); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 10px; border: 2px solid var(--rule); background: #fff; color: var(--ink); padding: 12px 14px; font-size: 1rem; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #C62828; }
.field__hint { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 0; }
.form-status { margin: 0; font-weight: 700; min-height: 1.4em; }
.form-status.is-error { color: #C62828; }
.form-status.is-ok { color: var(--ok); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* ---------- páginas internas (cada una es una línea) ---------- */
[data-servicio="odoo"] { --c: var(--l-odoo); }
[data-servicio="software"] { --c: var(--l-soft); }
[data-servicio="apps"] { --c: var(--l-apps); }
[data-servicio="proceso"] { --c: var(--l-proc); }
[data-servicio="nube"] { --c: var(--l-cloud); }
.page-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); }
.page-hero .lead { margin-bottom: 28px; max-width: 50ch; }
.line-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 6px 16px 6px 6px; border-radius: 12px; background: var(--c, var(--ink)); color: #fff; font-weight: 800; }
.line-badge .picto { background: rgba(255,255,255,.18); width: 36px; height: 36px; border-radius: 8px; }
.line-badge .picto svg { width: 20px; height: 20px; }
.page-hero .odoo-home { max-width: 560px; margin-left: auto; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: grid; gap: 12px; margin: 0 0 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; color: var(--c, var(--ok)); margin-top: 1px; stroke-width: 3; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.panel { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); border: 2px solid var(--ink); }
.panel h3 { margin-bottom: 18px; }
.list-check { display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; }
.list-check svg { width: 22px; height: 22px; color: var(--ok); margin-top: 1px; stroke-width: 3; }
.list-check--warn svg { color: #C62828; }
.partners-inline--plain { margin: 0 0 28px; }

/* conexiones con otras líneas */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--paper); overflow: hidden; text-decoration: none; border: 2px solid transparent; transition: border-color .25s, transform .3s var(--ease); }
.rel::before { content: ""; height: 8px; background: var(--c); }
.rel:hover { border-color: var(--ink); transform: translateY(-4px); }
.rel__shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ground); }
.rel__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.rel:hover .rel__shot img { transform: scale(1.04); }
.rel__body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.rel__logos { display: flex; gap: 8px; }
.rel__logos img { width: 22px; height: 22px; }
.rel__body strong { font-size: 1.15rem; font-weight: 800; }
.rel__body span { color: var(--muted); font-size: .95rem; }
.rel[aria-current] { display: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); align-items: start; padding-top: 28px; }
.contact-grid .form-card { border: 2px solid var(--ink); }
.contact-side { display: grid; gap: 14px; }
.contact-side h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); }
.contact-tile { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--paper); text-decoration: none; border: 2px solid transparent; }
.contact-tile > svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--ink); color: #fff; }
.contact-tile b { display: block; font-weight: 800; }
.contact-tile span { color: var(--muted); }
a.contact-tile:hover { border-color: var(--ink); }
.prose { max-width: 760px; padding-block: 32px 80px; }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- pie ---------- */
.footer { background: #131C23; color: #C9D3DB; padding-top: 0; }
.footer__lines { display: grid; grid-template-columns: repeat(5, 1fr); height: 10px; }
.footer__lines i { background: var(--c); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.brand--light { color: #fff; margin-bottom: 16px; }
.brand--light .brand__name small { color: #9FB0BE; }
.footer__brand p { max-width: 36ch; }
.footer__partners { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.footer__partners img { height: 22px; width: auto; }
.footer__title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__nav a { display: inline-flex; align-items: center; gap: 10px; }
.footer__nav i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--coral); margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid #2A3946; font-size: .9rem; color: #9FB0BE; }
.footer__bottom p { margin: 0; }
.footer__bug { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid #3A4A58; border-radius: 8px; padding: 6px 12px; color: #9FB0BE; cursor: pointer; font-size: .85rem; transition: color .2s, border-color .2s; }
.footer__bug svg { width: 15px; height: 15px; color: var(--coral); }
.footer__bug:hover { color: #fff; border-color: #fff; }

/* ---------- WhatsApp flotante (botón oficial) ---------- */
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-fab__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); box-shadow: 0 10px 24px -8px rgba(18, 140, 75, .7); transition: transform .25s var(--ease); }
.wa-fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.4s var(--ease) infinite; }
.wa-fab__btn img { width: 32px; height: 32px; }
.wa-fab:hover .wa-fab__btn { transform: scale(1.06); }
.wa-fab__label { padding: 10px 14px; border-radius: 10px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: .9rem; font-weight: 800; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; white-space: nowrap; }
.wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label, .wa-fab.is-hinting .wa-fab__label { opacity: 1; transform: none; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .hero__grid, .page-hero__grid, .showcase__grid, .coverage__grid, .arcade__grid, .founder, .faq, .cta__grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners__intro { grid-column: 1 / -1; }
  .line-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .line-row .stations { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps__track { display: none; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq__head { position: static; }
  .laptop, .stage { margin-inline: auto; }
  .stage { max-width: 640px; width: 100%; }
  .page-hero .odoo-home { margin-inline: auto; width: 100%; }
  .coverage__grid { min-height: 0; }
  .globe { max-width: 560px; }
  .hero h1 { max-width: 14ch; }
  .netmap { position: relative; top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .partners__grid { grid-template-columns: 1fr; }
  .plate { min-height: 150px; }
  .line-row { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; gap: 14px 16px; }
  .line-row .picto { width: 48px; height: 48px; }
  .line-row__go { display: none; }
  .stations li:not(:first-child):not(:last-child) { font-size: 0; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; border-left: 0; }
  .steps::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 8px; border-radius: 4px; background: var(--rule); }
  .step::before { top: 0; left: -42px; }
  .related, .social { grid-template-columns: 1fr; }
  .hero__ctas .btn, .page-hero__ctas .btn { flex: 1 1 100%; }
  .stop small { display: none; }
  .cities { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .facts { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-fab__btn { width: 56px; height: 56px; }
  .wa-fab__label { display: none; }
  .game__hud { gap: 8px 14px; font-size: .7rem; }
  .uptime__bar { width: 54px; }
  .game__powers { margin-left: 0; width: 100%; }
  .game__powers:empty { display: none; }
  .game__overlay { position: relative; top: 0; background: #0C141B; padding: 22px 16px; }
  .app { font-size: 8px; }
  .app__bar { gap: 8px; padding: 6px 8px; }
  .app__bar span:nth-of-type(n+2) { display: none; }
  .app__body { padding: 8px; gap: 6px; }
  .kpi { padding: 5px 6px; }
  .kpi b { font-size: 11px; }
  .kpi small, .kpi em { font-size: 7.5px; }
  .tag { font-size: 7.5px; padding: 2px 5px; }
  .grid-table th, .grid-table td { padding: 5px 6px; }
  .line-chart svg { height: 40px; }
  .phone--lg { width: 260px; }
  .phone--lg .phone__screen { min-height: 480px; }
  .stage--phones .phone { width: 165px; }
  .stage--phones .phone__screen { min-height: 330px; font-size: 10px; padding: 26px 10px 12px; }
  .phone--back { transform: translateX(22px) rotate(-6deg) scale(.9); }
  .phone--front { transform: translateX(-22px) rotate(3deg); }
  .odoo-home ul { grid-template-columns: repeat(3, 1fr); }
  .netmap .lbl:not(.lbl--line) { display: none; }
  .netmap .lbl--line { font-size: 15px; }
}
.contact-side .wa-official { justify-self: start; }



/* =========================================================
   v3 — corporativo sobrio: pizarra, un solo acento, tonos planos
   Sin degradados, sin sombras en reposo, sin pictogramas decorativos.
   ========================================================= */
:root { --mono: var(--font); --night: #0B141C; --night-2: #121F2A; --night-3: #1A2A37; }
body { font-size: 1rem; background: var(--ground); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.05; }
.data { font-family: var(--font); }
.section { padding-block: clamp(72px, 9vw, 144px); }
.section-head p.lead { max-width: 56ch; }

/* navegación */
.nav { background: var(--paper); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.nav__menu a { font-weight: 600; padding: 10px 14px; }
.nav__menu a .dot-line { display: none; }
.nav__menu a:hover { background: var(--ground); }
.nav__menu a[aria-current="page"] { background: transparent; }
.nav__menu a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ink); }
.btn { border-radius: 999px; font-weight: 700; box-shadow: none; }
.btn--coral { background: var(--coral); color: var(--night); }
.btn--coral:hover { background: #FF8B80; }
.btn--sm { padding: 0 20px; }

/* héroes: campo plano oscuro */
.hero, .page-hero { background: var(--night); color: #fff; border: 0; isolation: auto; overflow: visible; }
.hero::before, .hero::after, .page-hero::before, .page-hero::after { content: none; animation: none; }
.hero { padding-block: clamp(56px, 8vw, 128px); }
.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 1.2rem + 5vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; }
.hero .lead { color: #B9C6D1; max-width: 46ch; margin: 28px 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost, .page-hero .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.page-hero { padding-top: 8px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #B9C6D1; }
.page-hero .btn--primary { background: var(--coral); color: var(--night); }
.page-hero .btn--primary:hover { background: #FF8B80; }
.page-hero .ticks li { color: #DCE4EA; }
.page-hero .ticks svg { color: var(--coral); }
.line-badge { display: none; }
.crumbs { background: var(--night); color: #8FA0AE; padding: 20px 0 0; }
.crumbs a { color: #D5DEE6; }
.crumbs li + li::before { color: #4A5C6B; }

/* ventana de aplicaciones de Odoo (imágenes oficiales) */
.odoo-win { background: #fff; border-radius: 14px; overflow: hidden; color: var(--ink); }
.odoo-win__bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: #714B67; color: #fff; font-size: .8rem; font-weight: 600; }
.odoo-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.odoo-win__bar span { margin-left: 10px; }
.odoo-win__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; padding: clamp(18px, 3vw, 32px); background: #F4F1F3; }
.odoo-win__apps li { display: grid; justify-items: center; gap: 10px; padding: 14px 4px; border-radius: 10px; font-size: .8rem; font-weight: 600; text-align: center; color: var(--ink-2); transition: background-color .25s; }
.odoo-win__apps li:hover { background: #fff; }
.odoo-win__apps img { width: clamp(44px, 5vw, 60px); height: auto; transition: transform .35s var(--ease); }
.odoo-win__apps li:hover img { transform: translateY(-3px) scale(1.05); }

/* franja de partners (única) */
.partner-strip { background: var(--paper); }
.partner-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-block: 36px; }
.partner-strip p { margin: 0; font-weight: 600; color: var(--ink-2); }
.partner-strip ul { display: flex; align-items: center; flex-wrap: wrap; gap: 20px clamp(32px, 6vw, 80px); }
.partner-strip img { height: 38px; width: auto; }
.partner-strip img.p-aws { height: 44px; }

/* secciones con medio */
.split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.split--flip > :first-child { order: 2; }
.media { display: block; border-radius: 14px; overflow: hidden; background: var(--night-2); }
.media img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.media:hover img { transform: scale(1.03); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 32px 0 36px; }
.spec--one { grid-template-columns: 1fr; gap: 18px; }
.spec li { display: grid; gap: 4px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.spec b { color: var(--ink); font-size: 1.02rem; font-weight: 700; }
.cloud-logos { display: flex; gap: 14px; margin: 28px 0 8px; }
.cloud-logos li { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); }
.cloud-logos img { width: 36px; height: 36px; }

/* software a medida: tres divisiones */
.section--ink { background: var(--night); color: #fff; }
.section--ink .lead { color: #B9C6D1; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio__col { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 32px); border-radius: 14px; background: var(--night-2); transition: background-color .3s; }
.trio__col:hover { background: var(--night-3); }
.trio__col img:first-child { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 10px; }
.trio__col h3 { font-size: 1.5rem; }
.trio__col p { color: #B9C6D1; margin: 0; flex: 1; }
.tech { display: flex; gap: 10px; margin: 6px 0; }
.tech li { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.tech img { width: 22px; height: 22px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* proceso */
.section--paper { background: var(--paper); }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process li { padding: clamp(22px, 2.4vw, 32px); border-radius: 14px; background: var(--ground); display: grid; gap: 10px; align-content: start; min-height: 220px; }
.process h3 { font-size: 1.4rem; }
.process p { color: var(--ink-2); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; }
.steps__track, .step::before { display: none; }
.step { padding: 24px; border-radius: 14px; background: var(--paper); }
.steps::before { content: none; }

/* quiénes somos */
.founder { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.founder__copy p { color: var(--ink-2); }
.section--ink .founder__copy p { color: #B9C6D1; }
.section--ink .founder__copy h2 { color: #fff; }
.founder__card { background: var(--night-2); border-radius: 14px; padding: clamp(28px, 4vw, 48px); margin: 0; }
.founder__card blockquote { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.35; color: #fff; margin: 0 0 20px; font-weight: 600; letter-spacing: -0.01em; }
.founder__card figcaption { color: #8FA0AE; font-weight: 600; }
.pills { display: none; }
.features { gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: block; padding: 28px; border-radius: 14px; background: var(--paper); }
.feature::before, .feature::after { content: none; }
.feature h3 { margin-bottom: 8px; }
.feature p { max-width: none; margin: 0; }

/* otras secciones */
.cta { background: var(--night); }
.cta__list { margin: 24px 0 28px; }
.cta__list li { font-weight: 500; color: #DCE4EA; display: list-item; list-style: none; padding-left: 0; }
.cta__list li::before { content: "—  "; color: var(--coral); }
.cta__wa { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.cta__wa:hover { background: #fff; color: var(--night); }
.form-card { background: var(--paper); color: var(--ink); border-radius: 14px; border: 0; }
.faq details { border-top: 1px solid var(--rule-2); }
.faq details:last-child { border-bottom: 1px solid var(--rule-2); }
.related { gap: 12px; }
.rel { border: 0; border-radius: 14px; }
.rel::before { display: none; }
.rel:hover { transform: none; background: #fff; }
.footer { background: var(--night); }
.footer__lines, .footer__nav i { display: none; }
.panel { border: 0; background: var(--paper); border-radius: 14px; }
.social a { border-radius: 14px; }

/* WhatsApp: solo el botón */
.wa-fab__label { display: none; }
.wa-fab { width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: none; transition: transform .25s var(--ease); }
.wa-fab img { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.06); }

/* pictogramas residuales sin color de relleno */
.picto { background: transparent; color: var(--ink); border: 1px solid var(--rule-2); }

@media (max-width: 1024px) {
  .hero__grid, .split--media, .founder { grid-template-columns: minmax(0, 1fr); }
  .split--flip > :first-child { order: 0; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .process, .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 14ch; }
}
@media (max-width: 640px) {
  .spec { grid-template-columns: 1fr; }
  .process, .steps, .features { grid-template-columns: 1fr; }
  .process li { min-height: 0; }
  .odoo-win__apps { grid-template-columns: repeat(3, 1fr); }
  .partner-strip__inner { padding-block: 28px; }
  .partner-strip img { height: 30px; } .partner-strip img.p-aws { height: 36px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) { .media img, .odoo-win__apps img { transition: none; } }
.tech img, .cloud-logos img, .rel__logos img { filter: brightness(0) opacity(.8); }
.partner-strip__inner { justify-content: flex-start; gap: 20px clamp(40px, 7vw, 112px); }
.media img.crop { aspect-ratio: 16 / 8.6; object-fit: cover; object-position: top; }
.section--ink .btn--ghost, .cta .btn--ghost, .coverage .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.section--ink .btn--ghost:hover, .cta .btn--ghost:hover { background: #fff; color: var(--night); border-color: #fff; }

.wa-official { background: var(--ink); color: #fff; min-height: 48px; font-weight: 700; padding: 0 20px 0 14px; }
.wa-official:hover { background: #26384A; transform: none; }
.wa-official img { width: 22px; height: 22px; }
.wa-official small { font-weight: 500; opacity: .8; }
.crumbs { padding: 20px var(--pad-x) 0; box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }

/* ---- v4: héroe de empresa tecnológica, franja de partners, infraestructura compacta ---- */
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.hero__visual { position: relative; }
.hero__visual .stage { padding: 0; }
.hero__visual .laptop { max-width: none; width: 92%; margin: 0; }
.hero__visual .chip-float { display: none; }
.hero__phone { position: absolute; right: -2%; bottom: -12%; width: min(34%, 190px); z-index: 2; }
.hero__phone .phone { width: 100%; }
.partner-strip__inner { flex-direction: column; justify-content: center; text-align: center; gap: 20px; padding-block: 40px; }
.partner-strip ul { justify-content: center; gap: 24px clamp(40px, 8vw, 120px); }
.infra { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 14px; background: var(--paper); }
.infra h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.infra .lead { margin: 12px 0 22px; }
.infra__logos { display: flex; gap: 12px; }
.infra__logos li { flex: 1; display: grid; place-items: center; gap: 8px; align-content: center; min-height: 112px; padding: 16px; border-radius: 12px; background: var(--ground); font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.infra__logos img { height: 44px; width: auto; max-width: 100%; }
.infra__points { display: grid; gap: 10px; }
.infra__points li { padding-left: 18px; position: relative; color: var(--ink-2); font-weight: 500; }
.infra__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.social a { display: grid; gap: 4px; padding: 22px; border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); transition: background-color .25s; }
.social a:hover { background: #fff; }
.social img { margin-bottom: 10px; }
.social b { font-weight: 700; }
.social span { color: var(--muted); font-size: .9rem; }
.social .is-person { display: none; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.page-hero .partners { background: transparent; padding: 0; }
.page-hero .partners__logos { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.page-hero .partners__logos img { height: 26px; width: auto; max-width: none; opacity: .85; }
.page-hero .partners__logos .p-aws { height: 30px; }
.page-hero .partners__logos .p-ms { height: 30px; }
@media (max-width: 1024px) { .infra { grid-template-columns: minmax(0, 1fr); } .hero__visual { margin-bottom: 40px; } .social { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hero__phone { right: 0; width: 34%; } .social { grid-template-columns: 1fr; } .infra__logos { flex-direction: column; } }
.hero__visual .laptop { width: 84%; } .hero__phone { right: 0; bottom: -8%; }
.choices span i { background: var(--rule-2); } .choices input:checked + span i { background: var(--coral); } :root { --l-odoo: #5F7689; }
@media (max-width: 1024px) { .hero__visual .laptop { width: 100%; } .hero__phone { width: min(26%, 150px); bottom: -6%; } }
@media (max-width: 760px) { .hero__phone { display: none; } .hero__visual { margin-bottom: 8px; } }

/* ---- v5: héroe 3D, ventana de código, marquesina, progreso, pie ---- */
.progress { position: fixed; left: 0; top: 0; z-index: 90; width: 100%; height: 3px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero3d { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin-inline: auto; }
.hero3d__canvas { position: absolute; inset: 0; cursor: crosshair; }
.hero3d__canvas canvas { display: block; }
.hero3d__fallback { position: absolute; inset: 0; display: grid; align-content: center; }
.hero3d.is-3d .hero3d__fallback { display: none; }
.hero3d__label { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #1A2A37; color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity .3s, background-color .2s; will-change: transform; }
.hero3d__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero3d__label:hover { background: var(--coral); color: var(--night); }
.hero3d__label:hover i { background: var(--night); }
.hero3d__label.is-back { opacity: .45; }
.hero3d:not(.is-3d) .hero3d__label { display: none; }
.hero3d:not(.is-3d) .hero__visual { width: 100%; }
.hero3d__fallback .hero__visual .laptop { width: 100%; }
.hero3d__fallback .hero__phone { display: none; }

.codestage { position: relative; padding: 20px 0 30px; }
.codewin { background: #0F1B26; border-radius: 14px; overflow: hidden; color: #C9D6E2; }
.codewin__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0A141C; color: #7F92A1; font-size: .78rem; font-weight: 600; }
.codewin__bar i { width: 10px; height: 10px; border-radius: 50%; background: #26364A; }
.codewin__bar span { margin-left: 10px; }
.codewin__code { margin: 0; padding: 20px 22px; font: 500 clamp(.72rem, .6rem + .35vw, .9rem)/1.75 "JetBrains Mono", ui-monospace, Menlo, monospace; overflow-x: auto; }
.codewin__code .l { display: block; white-space: pre; min-height: 1.75em; }
.codewin__code b { font-weight: 500; }
.codewin__code .k { color: #8FB8D8; } .codewin__code .s { color: #9BD3B1; } .codewin__code .f { color: #fff; }
.codewin__term { display: grid; gap: 4px; padding: 16px 22px 20px; background: #0A141C; font: 500 clamp(.72rem, .6rem + .3vw, .85rem)/1.6 "JetBrains Mono", ui-monospace, Menlo, monospace; color: #7F92A1; }
.codewin__term .ok { color: #6FD0A4; }
.codestage .floatcard { right: -14px; left: auto; bottom: 0; }

.marquee { background: var(--paper); overflow: hidden; padding-block: 8px 44px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; color: var(--ink-2); }
.marquee__track img { width: 26px; height: 26px; filter: brightness(0) opacity(.6); }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
.partner-strip__inner { padding-bottom: 20px; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }
.process { position: relative; padding-top: 4px; }
.process__bar { position: absolute; left: 0; right: 0; top: -4px; height: 3px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; }
.process li { transition: background-color .35s; }
.process li.is-on { background: var(--ink); } .process li.is-on h3 { color: #fff; } .process li.is-on p { color: #B9C6D1; }
.btn { will-change: transform; }

/* pie alineado */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; align-items: start; gap: 40px clamp(32px, 5vw, 72px); }
.footer .footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer__bottom { border-top: 0; padding-block: 8px 28px; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero3d { max-width: 520px; } .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } .codestage .floatcard { right: 0; } .hero3d__label { font-size: .75rem; padding: 6px 11px; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.hero3d.is-3d .hero3d__label { animation: label-in .8s 1.4s backwards; }
.hero3d.is-3d .hero3d__label:nth-of-type(2) { animation-delay: 1.55s; } .hero3d.is-3d .hero3d__label:nth-of-type(3) { animation-delay: 1.7s; } .hero3d.is-3d .hero3d__label:nth-of-type(4) { animation-delay: 1.85s; }
@keyframes label-in { from { opacity: 0; } }
.codewin__code { white-space: normal; }
.floatcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--ink); z-index: 2; }
.floatcard b { display: block; font-size: .85rem; font-weight: 700; }
.floatcard small { display: block; font-size: .72rem; color: var(--muted); }
.floatcard__dot { width: 10px; height: 10px; border-radius: 50%; background: #2FA878; flex: none; }
.codestage .floatcard { right: -14px; bottom: 0; left: auto; }
@media (max-width: 640px) { .hero3d { aspect-ratio: 1 / .9; } }

.hero3d__hud { position: absolute; left: 0; bottom: 4%; z-index: 2; display: grid; gap: 4px; padding: 14px 18px; border-radius: 12px; background: #131F2A; font: 500 .8rem/1.5 "JetBrains Mono", ui-monospace, Menlo, monospace; color: #8FA0AE; opacity: 0; }
.hero3d.is-3d .hero3d__hud { animation: hud-in .6s 2.2s forwards; }
.hero3d__hud span { opacity: 0; animation: hud-line .5s forwards; }
.hero3d__hud span:nth-child(1) { animation-delay: 2.4s; } .hero3d__hud span:nth-child(2) { animation-delay: 3.4s; } .hero3d__hud span:nth-child(3) { animation-delay: 4.4s; }
.hero3d__hud .ok { color: #6FD0A4; }
.hero3d__hud .ok::before { content: "✓ "; }
@keyframes hud-in { to { opacity: 1; } } @keyframes hud-line { to { opacity: 1; } }
@media (max-width: 640px) { .hero3d__hud { font-size: .7rem; padding: 10px 12px; } }
.media { margin: 0; }
.media img.photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.odoo-mini { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 24px 0 8px; }
.odoo-mini li { display: grid; justify-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.odoo-mini img { width: 44px; height: 44px; }
.footer__credits { flex-basis: 100%; margin: 0 0 12px; font-size: .78rem; color: #6F8292; max-width: 90ch; }

/* ilustraciones en código */
.illus { margin: 0; border-radius: 14px; overflow: hidden; background: var(--night); padding: clamp(8px, 1.2vw, 14px); }
.illus svg { display: block; width: 100%; height: auto; }
.illus .il-b { font: 700 16px var(--font); fill: #fff; }
.illus .il-s { font: 600 13px var(--font); }
.illus .il-d { font: 600 13px var(--font); }
.illus .il-d2 { font: 700 17px var(--font); }

/* ---- héroe con fotografía de NASA ---- */
.hero-photo { position: relative; width: 100%; max-width: 700px; margin-inline: auto; }
.hero-photo__frame { margin: 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 4 / 3.1; }
.hero-photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; will-change: transform; }
.hero-photo__tag { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: #0F1B26; color: #fff; font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; transform: translate(-50%, -50%); transition: background-color .2s, color .2s; }
.hero-photo__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero-photo__tag:hover { background: var(--coral); color: var(--night); }
.hero-photo__tag:hover i { background: var(--night); }
.hero-photo__hud { position: absolute; left: -4%; bottom: -5%; z-index: 2; display: grid; gap: 4px; padding: 14px 18px; border-radius: 12px; background: #0F1B26; font: 500 .8rem/1.5 "JetBrains Mono", ui-monospace, Menlo, monospace; color: #9FB0BD; }
.hero-photo__hud .ok { color: #6FD0A4; }
.hero-photo__hud .ok::before { content: "✓ "; }
@media (max-width: 1024px) { .hero-photo { max-width: 560px; } .hero-photo__hud { left: 0; } }
@media (max-width: 640px) { .hero-photo__tag { padding: 6px 11px; font-size: .74rem; } .hero-photo__hud { font-size: .68rem; padding: 10px 12px; bottom: -8%; } .hero-photo__frame { aspect-ratio: 4 / 3.4; } }

/* ---- v6: héroe 3D con astronauta ---- */
.hero3d { position: relative; width: 100%; max-width: 660px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.hero3d__canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; cursor: grab; border-radius: 14px; overflow: hidden; }
.hero3d.is-ready .hero3d__canvas { opacity: 1; }
.hero3d__loader { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s; pointer-events: none; }
.hero3d__loader i { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #22364a; border-top-color: var(--coral); animation: spin 1s linear infinite; }
.hero3d.is-ready .hero3d__loader, .hero3d.is-fallback .hero3d__loader { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero3d__fallback { display: none; position: absolute; inset: 0; margin: 0; border-radius: 14px; overflow: hidden; background: #000; }
.hero3d.is-fallback .hero3d__fallback { display: block; }
.hero3d__fallback img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero3d.is-3d .hero3d__label, .hero3d.is-fallback .hero3d__label { animation: none; opacity: 0; transition: opacity .7s 1.2s, background-color .2s, color .2s; }
.hero3d.is-ready .hero3d__label { opacity: 1; }
.hero3d.is-ready .hero3d__label.is-back { opacity: .5; }
.hero3d.is-fallback .hero3d__label { opacity: 1; display: none; }
.hero3d.is-3d .hero3d__hud, .hero3d__hud { opacity: 0; animation: none; }
.hero3d.is-ready .hero3d__hud { animation: hud-in .6s 1.8s forwards; }
.hero3d__hud span { opacity: 0; animation: none; }
.hero3d.is-ready .hero3d__hud span { animation: hud-line .5s forwards; }
.hero3d.is-ready .hero3d__hud span:nth-child(1) { animation-delay: 2.1s; } .hero3d.is-ready .hero3d__hud span:nth-child(2) { animation-delay: 3s; } .hero3d.is-ready .hero3d__hud span:nth-child(3) { animation-delay: 3.9s; }
.hero3d__hud { left: 0; bottom: 2%; }
@media (max-width: 640px) { .hero3d { aspect-ratio: 1 / 1.1; } }
.hero3d__hud { left: -3%; bottom: -3%; }

/* ---- idioma y frase del pie ---- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ground); flex: none; }
.lang a { padding: 5px 11px; border-radius: 999px; font-weight: 700; font-size: .78rem; text-decoration: none; color: var(--ink-2); letter-spacing: .02em; transition: background-color .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 1120px) { .lang { margin-left: auto; } .nav__cta { margin-left: 0; } }
@media (max-width: 600px) { .lang { margin-left: auto; } .nav__toggle { margin-left: 0; } }
.footer__mark-wrap { padding-block: 24px 10px; overflow: hidden; }
.footer__mark { margin: 0; font: 700 clamp(1.45rem, 6.4vw, 5.4rem)/1.05 "JetBrains Mono", ui-monospace, Menlo, monospace; letter-spacing: -0.045em; color: #1B2B39; white-space: nowrap; user-select: none; }
.footer__mark .br { color: var(--coral); }
.footer__mark .tx span { display: inline-block; }
.footer__mark .cur { font-style: normal; color: var(--coral); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .footer__mark .cur { animation: none; } }

/* frase del héroe */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero__mark { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; margin: 0; padding-inline: var(--pad-x); font: 700 clamp(1.5rem, 6.9vw, 6.2rem)/1 "JetBrains Mono", ui-monospace, Menlo, monospace; letter-spacing: -0.045em; white-space: nowrap; color: #14212E; transform: translateY(18%); user-select: none; pointer-events: none; }
.hero__mark .br { color: var(--coral); opacity: .85; }
.hero__mark .tx span { display: inline-block; }
.hero__mark .cur { font-style: normal; color: var(--coral); animation: blink 1.1s steps(1) infinite; }
.hero { padding-bottom: clamp(88px, 11vw, 168px); }
.hero { display: flex; align-items: center; min-height: min(calc(100svh - 76px), 880px); }
.hero > .container { width: 100%; }
@media (max-width: 1024px) { .hero { min-height: 0; } }
.hero > .container { width: min(1240px, 100%); }
.hero { padding-block: clamp(40px, 4.5vw, 72px) clamp(72px, 9vw, 130px); min-height: min(calc(100svh - 76px), 840px); }
.hero3d { max-width: 600px; }
@media (max-width: 1024px) { .hero { min-height: 0; } .hero3d { max-width: 520px; } }

/* frase en móvil: dos líneas grandes, legibles y sin recortar */
@media (max-width: 640px) {
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 36px; }
  .hero__mark { position: static; transform: none; white-space: normal; margin: 36px 0 0; padding-inline: var(--pad-x); font-size: min(12.6vw, 3.3rem); line-height: 1.1; letter-spacing: -0.05em; color: #26394D; }
  .hero__mark .br { opacity: 1; }
  .footer__mark { white-space: normal; font-size: min(12.2vw, 3.2rem); line-height: 1.1; color: #22364A; }
  .footer__mark-wrap { padding-block: 28px 14px; }
}

.hero__mark .word, .footer__mark .word { display: inline-block; white-space: nowrap; font-weight: inherit; }
@media (max-width: 640px) { .hero__mark { font-size: min(11.2vw, 3rem); } .footer__mark { font-size: min(11vw, 3rem); } }

/* sin parpadeo: lo que el script va a animar arriba del pliegue parte oculto hasta que está listo */
html.js:not(.motion-on) :is(.hero h1, .hero .lead, .hero__ctas, .hero__mark, .hero3d, .page-hero__copy > *, .page-hero .laptop, .page-hero .stage, .page-hero .codestage, .page-hero .odoo-home, .page-hero .phone) { opacity: 0; }

/* retrato del fundador */
.person { position: relative; margin: 0; width: min(100%, 480px); margin-left: auto; border-radius: 14px; overflow: hidden; background: var(--night-2); aspect-ratio: 4 / 5; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.035); }
.person::after { content: ""; position: absolute; inset: auto 0 0 0; height: 52%; background: linear-gradient(to top, rgba(8, 14, 20, .94) 0%, rgba(8, 14, 20, .55) 48%, rgba(8, 14, 20, 0) 100%); pointer-events: none; }
.person__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: clamp(20px, 3vw, 30px); color: #fff; }
.person__cap b { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.person__cap b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.person__cap span { color: #C9D5DF; font-weight: 500; font-size: .98rem; }
.pull { margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--coral); font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); line-height: 1.45; color: #fff; font-weight: 500; max-width: 46ch; }
@media (max-width: 1024px) { .person { margin-inline: auto; width: min(100%, 440px); } }
/* las ilustraciones no heredan el trazo global de los íconos (dejaba el texto borroso y oscuro) */
.illus svg { stroke: none; stroke-width: 0; }
.illus svg text { stroke: none; paint-order: normal; }
.illus .il-b { fill: #fff; }
.illus .il-s { fill: #C3CFDA; }

/* pasos con ilustración */
.step { display: grid; align-content: start; gap: 6px; padding: 12px 12px 26px; border-radius: 14px; background: var(--paper); }
.section--paper .step { background: var(--ground); }
.step__art { display: block; aspect-ratio: 5 / 3; border-radius: 10px; background: var(--night-2); overflow: hidden; margin-bottom: 14px; }
.step__art svg { display: block; width: 100%; height: 100%; stroke: none; transition: transform .6s var(--ease); }
.step:hover .step__art svg { transform: scale(1.06); }
.step h3, .step p { padding-inline: 12px; }
.step p { margin: 0; }

/* tarjetas con código simulado */
.cc { background: var(--night-2); border-radius: 10px; overflow: hidden; margin-bottom: 14px; text-align: left; }
.cc__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0A141C; color: #7F92A1; font: 600 .68rem/1 "JetBrains Mono", ui-monospace, Menlo, monospace; }
.cc__bar i { width: 8px; height: 8px; border-radius: 50%; background: #26364A; }
.cc__bar span { margin-left: 8px; }
.cc__code { margin: 0; padding: 12px 14px 14px; font: 500 clamp(.64rem, .58rem + .2vw, .74rem)/1.7 "JetBrains Mono", ui-monospace, Menlo, monospace; color: #C9D6E2; min-height: 9.6em; overflow: hidden; }
.cc__code .l { display: block; white-space: pre-wrap; padding-left: 2ch; text-indent: -2ch; word-break: break-word; }
.cc b { font-weight: 500; }
.cc .k { color: #7fd1ff; } .cc .s { color: #9be3b8; } .cc .f { color: #fff; } .cc .n { color: #ffb2a9; } .cc .c { color: #6f8699; }
.cc .cur { color: var(--coral); font-style: normal; animation: blink 1.1s steps(1) infinite; }
.feature { display: grid; align-content: start; gap: 6px; padding: 12px 12px 26px; border-radius: 14px; background: var(--paper); }
.section--paper .feature { background: var(--ground); }
.feature h3, .feature p { padding-inline: 12px; }
.feature p { margin: 0; }
.process li { padding: 12px 12px 24px; gap: 6px; align-content: start; }
.process li h3, .process li p { padding-inline: 12px; }
.process li .cc { margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .cc .cur { animation: none; } }
.feature { grid-template-columns: minmax(0, 1fr); column-gap: 0; position: static; }
.feature h3, .feature p { grid-column: auto; max-width: none; }
.cc__code { min-height: 11.4em; }

/* fragmentos de interfaz realistas en las tarjetas */
.ui { background: #E4EAF0; border-radius: 10px; padding: 12px; display: grid; gap: 7px; align-content: start; margin-bottom: 14px; min-height: 12.6em; text-align: left; }
.ui__row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 8px 10px; font-size: .72rem; line-height: 1.2; min-width: 0; }
.ui__t { font-weight: 700; color: var(--ink); min-width: 0; }
.ui__m { margin-left: auto; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ui__row .pill { margin-left: auto; }
.ui__m + .pill { margin-left: 0; }
.pill { font-style: normal; font-weight: 700; font-size: .62rem; padding: 3px 8px; border-radius: 999px; background: #E4EAF0; color: var(--ink-2); white-space: nowrap; }
.pill--ok { background: #D9F1E5; color: #1D7A52; } .pill--warn { background: #FFE3DF; color: #B8392B; } .pill--info { background: #D9EAF5; color: #2A6C8D; }
.av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #4E6E86; color: #fff; font-size: .62rem; font-weight: 800; }
.ui__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 7px; }
.ui__k { background: #fff; border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; }
.ui__k small { color: var(--muted); font-size: .62rem; font-weight: 600; }
.ui__k b { font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); }
.ui__k em { font-style: normal; font-size: .62rem; font-weight: 700; color: #1D7A52; }
.ui__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; background: #fff; border-radius: 8px; padding: 10px; }
.ui__bars i { flex: 1; height: var(--h); background: #B4C3CF; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.ui__bars i.hi { background: var(--coral); }
.ui__line { background: #fff; border-radius: 8px; padding: 10px; height: 74px; }
.ui__line svg { width: 100%; height: 100%; overflow: visible; stroke: none; }
.ui__line .a { fill: rgba(47, 111, 143, .14); } .ui__line .l { fill: none; stroke: #2F6F8F; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ui__p { background: #fff; border-radius: 8px; padding: 8px 10px; display: grid; gap: 6px; }
.ui__ph { display: flex; justify-content: space-between; gap: 8px; font-size: .68rem; color: var(--ink-2); font-weight: 600; }
.ui__ph b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ui__tr { height: 6px; background: #E4EAF0; border-radius: 4px; overflow: hidden; }
.ui__tr i { display: block; height: 100%; width: var(--w); background: var(--coral); border-radius: 4px; transform-origin: left; }
.dot { flex: none; width: 15px; height: 15px; border-radius: 50%; background: #CBD4DC; position: relative; }
.dot--ok { background: #2FA878; } .dot--warn { background: var(--coral); }
.dot--ok::after { content: ""; position: absolute; left: 4.5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dot--warn::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .62rem; font-weight: 800; }
.sw { flex: none; margin-left: auto; width: 28px; height: 16px; border-radius: 999px; background: #C2CBD3; position: relative; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .3s; }
.sw.on { background: var(--ink); } .sw.on::after { transform: translateX(12px); }
.ui__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; background: #fff; border-radius: 8px; padding: 8px; font-size: .6rem; text-align: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ui__cal span { padding: 3px 0; border-radius: 4px; }
.ui__cal span.sel { background: var(--coral); color: var(--night); font-weight: 800; }
.ui__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .68rem; font-weight: 700; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; }
.ui__f { background: #fff; border-radius: 8px; padding: 7px 10px; display: grid; gap: 2px; }
.ui__f small { font-size: .6rem; color: var(--muted); font-weight: 600; } .ui__f b { font-size: .76rem; color: var(--ink); }
.ui__qr { display: grid; grid-template-columns: repeat(9, 1fr); width: 60px; height: 60px; padding: 5px; background: #fff; border-radius: 6px; gap: 0; flex: none; }
.ui__qr s { background: #fff; } .ui__qr s.b { background: var(--ink); }
.ui__split { display: flex; gap: 7px; align-items: stretch; } .ui__split .ui__row { flex: 1; }
.ui__scan { position: relative; height: 46px; background: #fff; border-radius: 8px; overflow: hidden; background-image: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px); background-size: 70% 54%; background-repeat: no-repeat; background-position: center; }
.ui__scan i { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--coral); animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { from { top: 20%; } to { top: 80%; } }
@media (prefers-reduced-motion: reduce) { .ui__scan i { animation: none; } }

.footer__deck { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 20px 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.footer__deck svg { width: 22px; height: 22px; color: var(--coral); transition: color .2s; }
.footer__deck span { display: grid; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.footer__deck small { font-weight: 500; font-size: .74rem; color: #9FB0BE; }
.footer__deck:hover { background: #fff; border-color: #fff; color: var(--night); text-decoration: none; }
.footer__deck:hover svg { color: var(--night); } .footer__deck:hover small { color: #5A6A78; }

/* compromiso con la educación */
.edu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edu__card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--night-2); }
.edu__logo { display: flex; align-items: center; justify-content: center; height: clamp(130px, 14vw, 170px); margin: 0; padding: clamp(20px, 2.4vw, 32px) clamp(24px, 3vw, 44px); background: #fff; }
.edu__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.edu__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); }
.edu__body p { margin: 0; color: #B9C6D1; }
.edu__body .edu__tag { color: var(--coral); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.edu__body .more { margin-top: auto; padding-top: 6px; }
@media (max-width: 760px) { .edu__grid { grid-template-columns: minmax(0, 1fr); } }
