/* The taste-skill design (design-taste-frontend): the palette start.mjs printed for
   Inerxia's own colours, then the page CSS shared by the (taste) pages. The kit's own
   stylesheets load from /taste/assets in app/(taste)/[locale]/layout.tsx. */

:root {
  --p-bg: #fafafb; --p-surface: #f1f4fb; --p-ink: #0a1228; --p-muted: #475479;
  --p-accent: #2d6bff; --p-accent-ink: #ffffff; --p-action: #2d6bff; --p-action-ink: #ffffff;
  --p-inv-bg: #0a1228; --p-inv-surface: #171f35; --p-inv-ink: #fafafb; --p-inv-muted: #9499a5;
  --p-inv-accent: #fafafb; --p-inv-accent-ink: #0a1228; --p-inv-action: #fafafb; --p-inv-action-ink: #0a1228;
  --font-display: "Host Grotesk", system-ui, sans-serif;
  --font-text: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.04em;
}


  /* the hero: the old home's look kept on the user's ask: the photograph under one flat navy tint, the words centred */
  .hero--isp .hero__tint { position: absolute; inset: 0; z-index: 0; background: rgb(10 18 40 / .62); }
  .hero--isp > .wrap { position: relative; z-index: 1; }
  .hero--isp > .wrap > .hero-text { justify-content: center; }
  .hero--isp .hero__text { width: 100%; max-width: 880px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: var(--s-5); }
  .hero--isp h1 { max-width: 16ch; margin: 0; }
  .hero--isp .hero__lead { max-width: 52ch; margin: 0; font-size: var(--t-lead); line-height: 1.5; }
  .hero__badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-3); }
  .hero__badges .t-label { color: #fff; font-family: var(--font-mono); }
  .hero__badge { display: inline-flex; align-items: center; gap: var(--s-2); height: 36px; padding: 0 var(--s-4); border-radius: 999px; background: #fff; color: var(--p-ink); font-weight: 500; font-size: var(--t-small); }
  .hero__badge img { width: 20px; height: 20px; border-radius: 4px; }
  .hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
  .hero__chips li { height: 32px; display: inline-flex; align-items: center; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid rgb(255 255 255 / .35); background: rgb(10 18 40 / .55); color: #fff; font: 500 13px/1 var(--font-mono); }
  /* every width keeps the photograph as the layer behind the words, as the old hero did */
  @media (max-width: 1023px) {
    .hero--isp.hero--photo { --photo: 0px; background: #0a1228; color: #fff; --ink: #fff; --muted: #fff; --line: rgb(255 255 255 / .35); }
    .hero--isp.hero--photo > .hero__bg { top: 0; bottom: 0; height: 100%; }
    .hero--isp.hero--photo > .wrap > .hero-text { justify-content: center; }
  }
  @media (max-width: 639px) { .hero__chips { display: none; } .hero--isp .hero__badges .t-label { display: none; } .hero--isp .btn { width: 100%; } .hero--isp .btn-row { width: 100%; } }
  /* small UI pieces (the promise cards): sized in container units */
  .pc { background: #fff; color: var(--p-ink); padding: 3.4cqw 3.8cqw; display: grid; gap: 1.6cqw; align-content: start;
        font: 400 max(13px, 2.1cqw)/1.35 var(--font-text); }
  .pc .lbl { color: var(--p-muted); font: 500 max(13px, 1.7cqw)/1.2 var(--font-mono); }
  .pc .num { font: 500 6.4cqw/1 var(--font-mono); letter-spacing: -0.02em; }
  .pc .mono { font-family: var(--font-mono); }
  .pc .row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
  .pc .row + .row { border-top: 1px solid rgb(10 18 40 / .08); padding-top: 1.6cqw; }
  .pc .chip { font: 500 max(13px, 1.6cqw)/1 var(--font-mono); padding: .8cqw 1.4cqw; border-radius: 99px; white-space: nowrap; }
  .pc .chip.ok { background: #e3f6ee; color: #0b6b4a; }
  .pc .chip.warn { background: #fdf0d9; color: #8a5400; }
  .pc .sub { color: var(--p-muted); font-size: max(13px, 1.8cqw); }
  .pc-wa { background: #efe7de; padding: 0; gap: 0; }
  .pc-wa .head { background: #008069; color: #fff; padding: 2.4cqw 3cqw; font-weight: 500; }
  .pc-wa .msgs { display: grid; gap: 1.6cqw; padding: 2.6cqw; }
  .pc-wa .b { max-width: 82%; padding: 1.6cqw 2.2cqw; border-radius: 1.6cqw; background: #fff; color: #111b21; }
  .pc-wa .b.me { justify-self: end; background: #d9fdd3; }
  /* a phone shows the same pieces smaller: each keeps its label and its figure, the detail rows rest */
  @media (max-width: 639px) { .pc .row, .pc .sub { display: none; } .pc-wa .b:nth-child(n+3) { display: none; } }
  .pc-bars { display: flex; align-items: end; gap: 1.2cqw; height: 12cqw; }
  .pc-bars i { flex: 1; background: var(--p-accent); opacity: .85; border-radius: .6cqw .6cqw 0 0; }

  /* the app window (sections-library.md, app-frame) */
  .app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
  .app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
  .app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
  .app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
  @media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
  @media (max-width: 1023px) {
    .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .app > .app__pane--list { max-height: 252px; }
    .app > .app__pane--list::after { display: none; }
    .app .ui-win__side { display: none; }
    .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
    .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  }
  @media (max-width: 639px) {
    .app.ui { grid-template-rows: minmax(0, 1fr); }
    .app > .app__pane--list { display: none; }
    .app > .app__pane + .app__pane { border-top: 0; }
  }
  /* the tabs-tour and split frames: one fixed height so the frame never resizes */
  #modulos .frame, #agentes .frame { aspect-ratio: 1 / 1; }
  #modulos .tabs { margin-block: var(--s-6) var(--s-5); }
  #modulos [role=tabpanel] p { margin-bottom: var(--s-4); }
  @media (max-width: 1279px) { #modulos .frame, #agentes .frame { aspect-ratio: 5 / 4; } }
  @media (min-width: 640px) and (max-width: 1023px) { #modulos .frame, #agentes .frame { aspect-ratio: 16 / 9; } #precios { --h: 2; } }
  @media (max-width: 639px) { #precios, #preguntas, #promesa, #implementacion { --hm: 2; } #agentes .frame { aspect-ratio: 16 / 10; } #modulos .frame { aspect-ratio: 16 / 10; } #integraciones .frame { height: 290px; } .dg-wide { display: none; } } @media (min-width: 640px) { .dg-narrow { display: none; } }
  #recaudo .frame { height: 300px; }
  #integraciones .frame { height: 520px; }
  @media (max-width: 639px) { #integraciones .frame { height: 420px; } }
  @media (min-width: 640px) and (max-width: 1023px) { #recaudo .frame { height: 480px; } }
  /* the dark band's frame is lit: its fragment takes the light page palette, not the band's */
  #agentes .frame { --card: var(--p-bg); --ink: var(--p-ink); --muted: var(--p-muted); --accent: var(--p-accent); --accent-ink: var(--p-accent-ink); }
  .methods { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
  .methods > span { display: inline-flex; align-items: center; gap: var(--s-2); height: 40px; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 500; }
  .methods img { height: 20px; width: auto; }
  .logos img { height: 28px; width: auto; }
  .nav__logo img { height: 40px; width: auto; display: block; }
  @media (max-width: 639px) { .nav__logo img { height: 30px; } }
  .ground-inverse .nav__logo img, .footer--dark .nav__logo img { filter: none; }
  /* the promise cards' panels hold the same small pieces as the hero collage */
  :is(#promesa, #implementacion) .panel { --p-h: 300px; container-type: inline-size; }
  @media (max-width: 639px) { #implementacion .panel { --p-h: 230px; } }
  :is(#promesa, #implementacion) .panel > .pc { position: absolute; left: 8%; right: 8%; top: 32px; border-radius: var(--r-md);
    box-shadow: 0 1px 2px rgb(10 18 40 / .08), 0 18px 40px -18px rgb(10 18 40 / .3); font-size: max(13px, 4.2cqw); gap: 3cqw; padding: 6cqw; }
  :is(#promesa, #implementacion) .panel > .pc .lbl { font-size: max(13px, 3.6cqw); }
  :is(#promesa, #implementacion) .panel > .pc .num { font-size: 11cqw; }
  :is(#promesa, #implementacion) .panel > .pc .chip { font-size: max(13px, 3.4cqw); padding: 1.4cqw 2.6cqw; }
  :is(#promesa, #implementacion) .panel > .pc-wa { padding: 0; gap: 0; }
  :is(#promesa, #implementacion) .pc-wa .head { padding: 4cqw 5cqw; } :is(#promesa, #implementacion) .pc-wa .msgs { gap: 3cqw; padding: 5cqw; } :is(#promesa, #implementacion) .pc-wa .b { padding: 3cqw 4cqw; border-radius: 3cqw; }
  @media (max-width: 639px) { :is(#promesa, #implementacion) .pc .row { display: flex; } :is(#promesa, #implementacion) .pc .sub { display: block; } }
  /* the agents' use cases and the results */
  .uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); }
  .uses a { display: flex; justify-content: space-between; gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-weight: 500; }
  .result .fig { font: 500 var(--t-stat)/1.1 var(--font-mono); letter-spacing: -0.02em; }
  .result .t-label { color: var(--muted); }
  /* security: the two certificates set large as the section's picture */
  .certs { display: grid; gap: var(--s-7); align-content: start; }
  .certs p { margin: 0; font: var(--display-weight) clamp(32px, 4.4vw, 64px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); }
  .certs span { display: block; margin-top: var(--s-2); font: 400 var(--t-body)/1.5 var(--font-text); letter-spacing: 0; color: var(--muted); }
  .rows--sec li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
  @media (max-width: 639px) { .certs p { font-size: var(--t-h3); } #modulos .section-head p { display: none; } .uses a:nth-child(n+5) { display: none; } .rows--sec li { padding: var(--s-3) 0; } .certs { gap: var(--s-5); } }
  .rows--sec li span:last-child { color: var(--muted); text-align: right; }
  @media (min-width: 640px) and (max-width: 1279px) { #promesa, #implementacion { --h: 2; } }
  @media (min-width: 1024px) and (max-width: 1279px) { #preguntas .faq { grid-column: 6 / span 7; } #preguntas .grid > .span-5 { grid-column: 1 / span 4; } }
  main > section.clients { height: auto; min-height: 0; padding-block: var(--s-8); border-bottom: 1px solid var(--line); }
  .clients__line { margin: 0 0 var(--s-6); text-align: center; font: 500 var(--t-small)/1.4 var(--font-mono); color: var(--muted); }
  .clients__logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); align-items: center; justify-items: center; }
  .clients__logos img { height: 30px; width: auto; max-width: 100%; object-fit: contain; opacity: .72; }
  @media (max-width: 1023px) { .clients__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 639px) { .clients__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .clients__logos img { height: 24px; } }
  .step-when { font: 500 13px/1 var(--font-mono); color: var(--muted); }
  /* the subscriber's file in the app window: built from Inerxia's own screen (no kit fragment shows it) */
  .ficha { display: grid; gap: 16px; padding: 20px 24px; font: 400 14px/1.4 var(--font-text); color: var(--u-ink); background: var(--u-bg); height: 100%; align-content: start; }
  .ficha__head { display: flex; align-items: center; gap: 12px; }
  .ficha__name { font-weight: 500; font-size: 16px; } .ficha__id { font-family: var(--font-mono); color: var(--u-muted); font-size: 13px; }
  .ficha__chip { margin-left: auto; font: 500 12px/1 var(--font-mono); padding: 6px 10px; border-radius: 99px; background: #e3f6ee; color: #0b6b4a; }
  .ficha__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--u-line); border: 1px solid var(--u-line); border-radius: 10px; overflow: hidden; }
  .ficha__grid > div { background: var(--u-bg); padding: 12px 14px; display: grid; gap: 4px; }
  .ficha__k { font: 500 12px/1.2 var(--font-mono); color: var(--u-muted); } .ficha__v { font-weight: 500; } .ficha__v.mono { font-family: var(--font-mono); }
  .ficha__block { display: grid; gap: 8px; }
  .ficha__title { font: 500 12px/1.2 var(--font-mono); color: var(--u-muted); }
  .ficha__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--u-line); }
  .ficha__row span:last-child { font-family: var(--font-mono); color: var(--u-muted); white-space: nowrap; }
  @media (max-width: 1279px) { .ficha__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* the three products: open columns (no card box), each a lit picture over its words, the whole column a link */
  .pillar { display: grid; gap: var(--s-3); align-content: start; color: inherit; text-decoration: none; }
  .pillar .panel { --p-h: 200px; position: relative; height: var(--p-h); border-radius: var(--r-lg); overflow: hidden; container-type: inline-size; margin-bottom: var(--s-3); }
  .pillar .panel > .pc { position: absolute; left: 8%; right: 8%; top: 28px; border-radius: var(--r-md); box-shadow: 0 1px 2px rgb(10 18 40 / .08), 0 18px 40px -18px rgb(10 18 40 / .3); font-size: max(13px, 4cqw); gap: 2.6cqw; padding: 5.5cqw; }
  .pillar .panel > .pc .lbl { font-size: max(13px, 3.4cqw); } .pillar .panel > .pc .num { font-size: 9cqw; } .pillar .panel > .pc .chip { font-size: max(13px, 3.2cqw); padding: 1.2cqw 2.4cqw; }
  .pillar .panel > .pc-wa { padding: 0; gap: 0; } .pillar .pc-wa .head { padding: 3.6cqw 5cqw; } .pillar .pc-wa .msgs { gap: 2.6cqw; padding: 4.5cqw; } .pillar .pc-wa .b { padding: 2.6cqw 3.6cqw; border-radius: 3cqw; }
  .pillar h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
  .pillar p { margin: 0; }
  .pillar ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
  .pillar ul li { padding-left: 20px; position: relative; } .pillar ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--p-accent); }
  .pillar .link { justify-self: start; margin-top: var(--s-2); }
  @media (min-width: 1024px) and (max-width: 1279px) { .pillar .panel { --p-h: 170px; } }
  @media (max-width: 1023px) { .pillars > .pillar { grid-column: auto / span 12; } }
  @media (min-width: 640px) and (max-width: 1023px) { #plataforma { --h: 2; } }
  @media (max-width: 639px) { #plataforma { --hm: 2; } .pillar .panel { display: none; } }
  .proofline { font: 500 var(--t-lead)/1.4 var(--font-text); }

  /* "Administra tu ISP desde un solo lugar": the Inerxia App, built from the demo's own
     screens (Full demo: Cajas NAP, Gestión ONT, Contratos, Caja, Reportes, Estadísticas),
     one view per tab. The map is a still of the demo's street map (© OpenStreetMap). */
  .ixa-tabs { margin-top: var(--s-6); flex-wrap: wrap; }
  .ixa { --ix-line: rgb(10 18 40 / .09); --ix-mute: #5b6785; --ix-ok: #0b8a5f; --ix-err: #d63c3c; --ix-warn: #b26a00;
    margin-top: var(--s-5); display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 0;
    background: #fff; border: 1px solid var(--ix-line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 1px 2px rgb(10 18 40 / .06), 0 30px 60px -30px rgb(10 18 40 / .3);
    font: 400 13px/1.4 var(--font-text); color: var(--p-ink); }
  .ixa .m { font-family: var(--font-mono); }
  .ixa .ok { color: var(--ix-ok); font-style: normal; } .ixa .err { color: var(--ix-err); font-style: normal; } .ixa .warn { color: var(--ix-warn); }
  .ixa__side { border-right: 1px solid var(--ix-line); padding: 14px 12px; display: flex; flex-direction: column; gap: 0; background: #fbfcfe; overflow: hidden; }
  .ixa__brand { display: flex; align-items: center; gap: 6px; padding: 0 6px 10px; font-weight: 500; } .ixa__brand img { height: 26px; width: auto; }
  .ixa__search { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--ix-line); border-radius: 8px; padding: 7px 10px; color: var(--ix-mute); margin-bottom: 6px; }
  .ixa__search kbd { font: 500 11px/1 var(--font-mono); border: 1px solid var(--ix-line); border-radius: 4px; padding: 2px 4px; }
  .ixa__group { margin: 8px 6px 4px; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ix-mute); }
  .ixa__nav { display: flex; justify-content: space-between; padding: 5px 8px; border-radius: 6px; color: #2c3b61; }
  .ixa__nav em { font: 500 11px/1 var(--font-mono); font-style: normal; background: var(--p-accent); color: #fff; border-radius: 99px; padding: 3px 6px; }
  .ixa__org { margin-top: auto; display: flex; gap: 8px; align-items: center; padding: 10px 6px 0; border-top: 1px solid var(--ix-line); }
  .ixa__org small { display: block; font: 500 10px/1.2 var(--font-mono); text-transform: uppercase; color: var(--ix-mute); }
  .ixa__av { width: 28px; height: 28px; border-radius: 50%; background: var(--p-ink); color: #fff; display: grid; place-items: center; font: 500 11px/1 var(--font-mono); }
  .ixa__main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; overflow: hidden; position: relative; }
  .ixa__main[hidden] { display: none; }
  .ixa__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .ixa__head b { display: block; font: 500 18px/1.2 var(--font-text); } .ixa__head small { color: var(--ix-mute); }
  .ixa__pill { white-space: nowrap; font: 500 12px/1 var(--font-mono); color: var(--ix-mute); padding: 6px 0; }
  .ixa__btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--p-accent); color: #fff; font-weight: 500; }
  .ixa__btn--wide { width: 100%; height: 40px; }
  .ixa__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .ixa__kpi { border: 1px solid var(--ix-line); border-top: 3px solid var(--c, var(--p-accent)); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
  .ixa__kpi[data-c="green"] { --c: #12b886; } .ixa__kpi[data-c="red"] { --c: #ef4444; } .ixa__kpi[data-c="blue"] { --c: var(--p-accent); }
  .ixa__kpi small { font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ix-mute); }
  .ixa__kpi b { font: 500 24px/1.1 var(--font-mono); letter-spacing: -0.02em; } .ixa__kpi b i { font-style: normal; }
  .ixa__kpi span { font: 400 11.5px/1.3 var(--font-mono); color: var(--ix-mute); }
  .ixa__map { position: relative; flex: 1 1 0; min-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--ix-line); }
  .ixa__map img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
  .ixa__pop { position: absolute; left: 46%; top: 22%; background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 10px 30px -10px rgb(10 18 40 / .35); display: grid; gap: 3px; }
  .ixa__pop small { font: 500 11px/1.2 var(--font-mono); color: var(--ix-mute); } .ixa__pop span { font: 400 12px/1.3 var(--font-mono); color: var(--ix-mute); }
  .ixa__table { border: 1px solid var(--ix-line); border-radius: 10px; overflow: hidden; }
  .ixa__tr { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr .9fr .8fr .6fr; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--ix-line); }
  .ixa__tr:first-child { border-top: 0; } .ixa__tr:not(.ixa__th):hover { background: #f6f8fd; }
  .ixa__table--c .ixa__tr { grid-template-columns: .6fr 1.6fr .9fr .9fr 1.5fr; }
  .ixa__table--r .ixa__tr { grid-template-columns: .6fr .7fr 1.5fr 1.2fr .8fr; }
  .ixa__th { font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ix-mute); background: #fbfcfe; }
  .ixa__tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ixa .chip { font: 500 10.5px/1 var(--font-mono); font-style: normal; text-transform: uppercase; letter-spacing: .03em; padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
  .ixa .chip.ok { background: #e3f6ee; color: #0b6b4a; } .ixa .chip.err { background: #fde8e8; color: #b42318; }
  .ixa .chip.info { background: #e8efff; color: #1e54e0; } .ixa .chip.warn { background: #fdf0d9; color: #8a5400; }
  .ixa .chip.mute { background: #eef0f4; color: #5b6785; } .ixa .chip.plan { background: #f2f4f8; color: #2c3b61; text-transform: none; letter-spacing: 0; }
  .ixa__toast { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 12px; align-items: center; background: #fff8eb; border: 1px solid #f5d79a; border-radius: 10px; padding: 10px 12px; box-shadow: 0 10px 30px -12px rgb(10 18 40 / .3); }
  .ixa__toast b { background: var(--p-ink); color: #fff; border-radius: 6px; padding: 5px 9px; font-weight: 500; }
  .ixa__cash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; flex: 1 1 0; min-height: 0; }
  .ixa__debtors { border: 1px solid var(--ix-line); border-radius: 10px; overflow: hidden; }
  .ixa__debtor { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-top: 1px solid var(--ix-line); }
  .ixa__debtor:first-child { border-top: 0; } .ixa__debtor.is-on { background: #eef3ff; box-shadow: inset 3px 0 0 var(--p-accent); }
  .ixa__debtor small { display: block; font: 400 11px/1.3 var(--font-mono); color: var(--ix-mute); } .ixa__debtor b { font-weight: 500; }
  .ixa__receipt { border: 1px solid var(--ix-line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
  .ixa__receipt > small { font: 500 11px/1 var(--font-mono); text-transform: uppercase; color: var(--ix-mute); } .ixa__receipt > b { font-size: 16px; font-weight: 500; }
  .ixa__line, .ixa__total { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--ix-line); }
  .ixa__total { font-weight: 500; font-size: 15px; }
  .ixa__methods { display: flex; gap: 6px; flex-wrap: wrap; } .ixa__methods span { border: 1px solid var(--ix-line); border-radius: 7px; padding: 6px 10px; }
  .ixa__methods .is-on { border-color: var(--p-accent); color: var(--p-accent); background: #eef3ff; }
  .ixa__reports { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; flex: 1 1 0; min-height: 0; }
  .ixa__rlist { display: flex; flex-direction: column; gap: 2px; } .ixa__rlist p { margin: 8px 0 2px; font: 500 10.5px/1 var(--font-mono); text-transform: uppercase; color: var(--ix-mute); }
  .ixa__rlist span { padding: 6px 8px; border-radius: 6px; color: #2c3b61; } .ixa__rlist .is-on { background: #eef3ff; color: var(--p-accent); font-weight: 500; }
  .ixa__chart { border: 1px solid var(--ix-line); border-radius: 10px; padding: 12px 14px 8px; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
  .ixa__legend { display: flex; gap: 14px; font: 500 11.5px/1 var(--font-mono); color: var(--ix-mute); } .ixa__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
  .ixa__bars { flex: 1 1 0; min-height: 120px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; align-items: end; }
  .ixa__bars > div { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; gap: 3px; align-items: end; }
  .ixa__bars i { display: block; background: var(--p-accent); border-radius: 3px 3px 0 0; } .ixa__bars i.g { background: #12b886; } .ixa__bars i.r { background: #ef4444; }
  .ixa__bars span { grid-column: 1 / -1; text-align: center; font: 500 11px/1 var(--font-mono); color: var(--ix-mute); }
  @media (max-width: 1279px) { .ixa { grid-template-columns: minmax(0, 1fr); } .ixa__side { display: none; } }
  @media (max-width: 1023px) {
    .ixa__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ixa__tr { grid-template-columns: 1.6fr 1fr .9fr; } .ixa__tr > span:nth-child(n+4) { display: none; }
    .ixa__table--c .ixa__tr, .ixa__table--r .ixa__tr { grid-template-columns: .7fr 1.6fr 1fr; }
    .ixa__reports { grid-template-columns: minmax(0, 1fr); } .ixa__rlist { display: none; }
    .ixa__pill, .ixa__head .ixa__btn { display: none; } .ixa__toast { display: none; }
  }
  @media (max-width: 639px) {
    .ixa__cash { grid-template-columns: minmax(0, 1fr); } .ixa__debtors { display: none; }
    .ixa__kpi b { font-size: 20px; } .ixa__kpis .ixa__kpi:nth-child(n+3) { display: none; }
    .ixa__tr { grid-template-columns: 1.4fr 1fr; } .ixa__tr > span:nth-child(n+3) { display: none; }
    .ixa__table--c .ixa__tr, .ixa__table--r .ixa__tr { grid-template-columns: .7fr 1.6fr; }
    .ixa__pop { left: 8%; top: 12%; } .ixa__main { padding: 14px; }
  }
  /* the sidebar marks the module of the tab on show */
  .ixa:has(#ixa-p1:not([hidden])) .ixa__nav[data-v="1"],
  .ixa:has(#ixa-p2:not([hidden])) .ixa__nav[data-v="2"],
  .ixa:has(#ixa-p3:not([hidden])) .ixa__nav[data-v="3"],
  .ixa:has(#ixa-p4:not([hidden])) .ixa__nav[data-v="4"],
  .ixa:has(#ixa-p5:not([hidden])) .ixa__nav[data-v="5"],
  .ixa:has(#ixa-p6:not([hidden])) .ixa__nav[data-v="6"] { background: #eef3ff; color: var(--p-accent); font-weight: 500; }
  .ixa__osm { position: absolute; right: 0; bottom: 0; background: rgb(255 255 255 / .85); padding: 2px 6px; font: 400 11px/1.4 var(--font-text); color: #333; }
  /* the inner pages' split hero (PageHero): Host Grotesk at 72px over five columns fits
     about 35 characters in three lines; at 56px a 45-character title fits */
  .hero--split .hero__text h1 { font-size: clamp(40px, 3.9vw, 56px); line-height: 1.06; }
  /* the expanded app window: two screens tall, a summary view first, every view with its KPIs */
  /* one screen: the window takes what the h2 and the tabs leave (about 520px at 1440x900);
     a view taller than that is cut by the window's foot under a short fade */
  /* the user's size: the window 680px tall at desktop; the section grows past one screen
     for it (its height follows its content there, an exception to the screen rhythm) */
  #producto .ixa { flex: none; height: 680px; }
  @media (min-width: 1024px) { main > section#producto { height: auto; min-height: 100svh; } }
  @media (min-width: 1024px) and (max-width: 1279px) { #producto .ixa { height: 600px; } }
  @media (max-width: 1023px) { #producto .ixa { flex: 1 1 0; height: auto; min-height: 0; } }
  #producto .ixa__combo { min-height: 150px !important; }
  #producto .ixa__main::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, #fff); pointer-events: none; }
  #producto .ixa-tabs { margin-top: var(--s-5); } #producto .ixa { margin-top: var(--s-4); }
  #producto .ixa__main { padding: 14px 18px; gap: 10px; }
  #producto .ixa__kpi { padding: 9px 11px; } #producto .ixa__kpi b { font-size: 22px; }
  #producto .ixa__donut { width: 110px; height: 110px; } #producto .ixa__donut span { width: 80px; height: 80px; font-size: 18px; }
  #producto .ixa__main { overflow: hidden; }
  .ixa__row2:has(.ixa__chart) { flex: 1 1 0; } .ixa__row2 > .ixa__chart { height: 100%; }
  #ixa-p7 .ixa__table, #ixa-p8 .ixa__table { flex: 0 0 auto; }
  .ixa__kpis--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .ixa__kpis--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ixa__kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ixa__kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ixa__kpi[data-c="amber"] { --c: #f59e0b; }
  .ixa__kpi span.ok, .ixa__kpi span .ok { color: var(--ix-ok); } .ixa__kpi span.err { color: var(--ix-err); } .ixa__kpi span.warn { color: var(--ix-warn); }
  .ixa__bar { display: block; height: 6px; border-radius: 99px; background: #e9edf5; overflow: hidden; margin-top: 4px; }
  .ixa__bar i { display: block; height: 100%; border-radius: inherit; background: var(--p-accent); }
  .ixa__bar--g i { background: #12b886; } .ixa__bar--r i { background: #ef4444; }
  .ixa__seg { display: inline-flex; border: 1px solid var(--ix-line); border-radius: 8px; overflow: hidden; }
  .ixa__seg i { font-style: normal; padding: 6px 12px; font-weight: 500; color: var(--ix-mute); } .ixa__seg i.is-on { background: var(--p-accent); color: #fff; }
  .ixa__row2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; min-height: 0; }
  .ixa__row2:has(.ixa__combo) { flex: 1 1 0; }
  .ixa__card { border: 1px solid var(--ix-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
  .ixa__card--inline { flex-direction: row; justify-content: space-between; align-items: center; }
  .ixa__ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .ixa__ch b { font-weight: 500; font-size: 14px; }
  .ixa__mute { color: var(--ix-mute); font-size: 12px; }
  .ixa__combo { position: relative; flex: 1 1 0; min-height: 140px; }
  .ixa__daybars { position: absolute; inset: 0; display: flex; align-items: end; gap: 4px; }
  .ixa__daybars i { flex: 1; background: #2d6bff; opacity: .85; border-radius: 3px 3px 0 0; }
  .ixa__linechart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .ixa__linechart polyline { fill: none; stroke: #0a1228; stroke-width: 2; vector-effect: non-scaling-stroke; }
  .ixa__axis { display: flex; justify-content: space-between; font: 500 11px/1 var(--font-mono); color: var(--ix-mute); }
  .ixa__donutwrap { display: flex; gap: 16px; align-items: center; flex: 1; }
  .ixa__donut { --p: 50; width: 120px; height: 120px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--p-accent) calc(var(--p) * 1%), #e6eaf2 0); }
  .ixa__donut span { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 500 20px/1 var(--font-mono); }
  .ixa__dl { display: grid; gap: 8px; } .ixa__dl span { display: grid; grid-template-columns: 10px 1fr; column-gap: 6px; align-items: center; color: var(--ix-mute); }
  .ixa__dl span i, .ixa__stackl i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
  .ixa__dl b { grid-column: 2; color: var(--p-ink); font-weight: 500; } .ixa__dl small { color: var(--ix-mute); }
  .ixa__stack { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; }
  .ixa__stackl { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ix-mute); } .ixa__stackl span { display: inline-flex; align-items: center; gap: 6px; } .ixa__stackl b { color: var(--p-ink); font-weight: 500; }
  .ixa__todo { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--ix-line); }
  .ixa__todo i { font-style: normal; margin-right: 6px; } .ixa__todo b { color: var(--p-accent); font-weight: 500; white-space: nowrap; }
  .ixa__mapgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; flex: 1 1 0; min-height: 0; }
  .ixa__naps { gap: 6px; } .ixa__occ { display: grid; grid-template-columns: minmax(0, 1fr) 70px 46px; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--ix-line); }
  .ixa__occ > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ixa__occ .ixa__bar { margin: 0; } .ixa__occ b { text-align: right; font-weight: 500; }
  .ixa__chips { display: flex; flex-wrap: wrap; gap: 6px; } .ixa__chips span { font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .03em; border: 1px solid var(--ix-line); border-radius: 99px; padding: 6px 10px; color: var(--ix-mute); }
  .ixa__chips .is-on { border-color: var(--p-accent); color: var(--p-accent); background: #eef3ff; }
  .ixa__table--k .ixa__tr { grid-template-columns: 1.5fr 1fr .8fr .8fr 1fr 1fr; }
  .ixa__table--f .ixa__tr { grid-template-columns: .7fr 1.6fr .6fr .7fr .8fr .7fr 1fr; }
  .ixa__subs { display: flex; align-items: baseline; gap: 10px; } .ixa__subs b { font-size: 28px; font-weight: 500; }
  .ixa__area { width: 100%; height: 80px; } .ixa__area polyline { fill: none; stroke: #12b886; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
  .ixa__pill.ok { color: var(--ix-ok); }
  #ixa-p4 .ixa__cash { flex: 0 1 auto; }
  .ixa:has(#ixa-p0:not([hidden])) .ixa__nav[data-v="0"], .ixa:has(#ixa-p7:not([hidden])) .ixa__nav[data-v="7"],
  .ixa:has(#ixa-p8:not([hidden])) .ixa__nav[data-v="8"] { background: #eef3ff; color: var(--p-accent); font-weight: 500; }
  @media (max-width: 1279px) { .ixa__kpis--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ixa__row2, .ixa__mapgrid { grid-template-columns: minmax(0, 1fr) 260px; } }
  @media (max-width: 1023px) {
    #producto .ixa { height: auto; }
    .ixa__kpis--5, .ixa__kpis--4, .ixa__kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ixa__row2, .ixa__mapgrid { grid-template-columns: minmax(0, 1fr); } .ixa__map { min-height: 300px; flex: none; height: 300px; }
    .ixa__combo { min-height: 160px; }
    .ixa__table--k .ixa__tr, .ixa__table--f .ixa__tr { grid-template-columns: 1.6fr 1fr .9fr; }
  }
  @media (max-width: 639px) {
    .ixa__kpis--6, .ixa__kpis--5, .ixa__kpis--4, .ixa__kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ixa__kpis--6 .ixa__kpi:nth-child(n+5), .ixa__kpis--5 .ixa__kpi:nth-child(n+5) { display: none; }
    .ixa__card--side, .ixa__naps, .ixa__card--inline { display: none; }
    .ixa__table--k .ixa__tr, .ixa__table--f .ixa__tr { grid-template-columns: 1.4fr 1fr; }
    .ixa__seg { display: none; } .ixa__tr:nth-child(n+8) { display: none; }
  }

  .ixa__stackv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
  .ixa__stackv > div { border: 1px solid var(--ix-line); border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; }
  .ixa__stackv span { display: flex; align-items: center; gap: 6px; color: var(--ix-mute); } .ixa__stackv span i { width: 8px; height: 8px; border-radius: 2px; }
  .ixa__stackv b { font-size: 16px; font-weight: 500; } .ixa__stackv small { color: var(--ix-mute); font-size: 11px; }
  @media (max-width: 1279px) { .ixa__stackv { display: none; } }
  /* the paid-traffic chrome: logo and one button; a short legal footer */
  .nav--ads .nav__bar { display: flex; justify-content: space-between; align-items: center; }
  .ads-footer { border-top: 1px solid var(--line); padding: var(--s-7) 0; }
  .ads-footer .wrap { display: grid; gap: var(--s-4); }
  .ads-footer__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: var(--t-small); }
  .ads-footer__links a:hover { color: var(--action); }
  .ads-footer .m { font-family: var(--font-mono); font-size: 13px; }
  /* the platform window grows with its view instead of squeezing it: at widths where the
     KPIs wrap to two rows a fixed height crushed the blocks under them into each other.
     Every block keeps its own height; the window has a floor so a tab change barely moves it. */
  main > section#producto { height: auto; min-height: 100svh; }
  #producto .ixa { height: auto; min-height: 760px; flex: none; }
  #producto .ixa__main { overflow: visible; }
  #producto .ixa__main::after { display: none; }
  #producto .ixa__main > * { flex-shrink: 0; }
  #producto .ixa__row2, #producto .ixa__mapgrid, #producto .ixa__cash { flex: none; }
  #producto .ixa__combo { flex: none; height: 180px; min-height: 0 !important; }
  #producto .ixa__mapgrid { height: 400px; }
  #producto .ixa__row2:has(.ixa__chart) { height: 300px; }
  #producto .ixa__card, #producto .ixa__chart { overflow: hidden; }
  @media (min-width: 1024px) and (max-width: 1279px) { #producto .ixa { min-height: 780px; } }
  @media (max-width: 1023px) { #producto .ixa { min-height: 0; } #producto .ixa__mapgrid { height: auto; } #producto .ixa__map { height: 300px; } }

  /* Phones and tablets (the user's call, 2026-11-10): sections take their content's height
     with even spacing between them, instead of the kit's exact one-or-two screens, which
     left big empty grounds (and spilled where content ran longer). Desktop is unchanged. */
  @media (max-width: 1023px) {
    main > :is(section, .section):not(.hero, .section--hero), footer.closing {
      height: auto !important; min-height: 0 !important; display: block !important;
      padding-top: 80px !important; padding-bottom: 80px !important;
    }
    main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap {
      height: auto !important; min-height: 0 !important; flex: none !important;
    }
    main > :is(section, .section):is(.g2, .g2m) > :is(.wrap, .container), footer.closing:is(.g2, .g2m) > .wrap {
      display: flex !important; flex-direction: column; grid-template-rows: none !important; row-gap: var(--s-8) !important;
    }
    main > :is(section, .section) > .wrap > .fill, .group > .fill, main > :is(section, .section) .fill { flex: none !important; }
    main > :is(section, .section) .frame.fill, main > :is(section, .section) > .wrap > .frame.fill { min-height: 320px; }
    main > :is(.hero, .section--hero) { height: auto !important; min-height: 100svh; display: flex; flex-direction: column; }
    main > :is(.hero, .section--hero) > .wrap { flex: 1 0 auto; height: auto !important; }
    footer.footer--statement { padding-top: 80px !important; }
    footer.footer--statement .cta-type, footer.closing .closing__cta { padding-bottom: var(--s-7) !important; margin-bottom: var(--s-7) !important; }
  }
  @media (max-width: 639px) {
    main > :is(section, .section):not(.hero, .section--hero), footer.closing { padding-top: 56px !important; padding-bottom: 56px !important; }
    footer.footer--statement { padding-top: 56px !important; }
  }
  @media (max-width: 639px) {
    :is(#promesa, #implementacion) .panel { --p-h: 210px !important; height: 210px; }
    #producto .ixa__combo { height: 150px; }
  }
