/* NexoWarehouse — Landing page. Identidad: azul #0F2D5B, teal #14B8A6, gris pizarra #64748B, fondo #E2E8F0, ámbar #F59E0B. Tipografía Inter. */
:root {
  --navy: #0f2d5b;
  --navy-deep: #0a2145;
  --navy-ink: #081a38;
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --teal-soft: #e3f7f4;
  --slate: #64748b;
  --mist: #e2e8f0;
  --bg-soft: #f4f7fb;
  --amber: #f59e0b;
  --amber-soft: #fff4dc;
  --danger: #b42318;
  --ink: #0f2037;
  --muted: #55657a;
  --line: #e1e8f1;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 45, 91, .08);
  --shadow-lg: 0 20px 48px rgba(15, 45, 91, .16);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--navy); }
p { margin: 0 0 14px; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; background: rgba(255, 255, 255, .12); padding: 2px 6px; border-radius: 6px; }
svg { flex: none; }
.sprite { position: absolute; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 999; }
:focus-visible { outline: 3px solid rgba(20, 184, 166, .55); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 inherit; cursor: pointer; transition: .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(15, 45, 91, .3); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--navy-ink); box-shadow: 0 8px 20px rgba(20, 184, 166, .3); }
.btn-teal:hover { background: #2dd4bf; transform: translateY(-2px); }
.btn-sm { padding: 12px 24px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 22px 0; transition: padding .3s; }
.header.scrolled { padding: 12px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { border-radius: 999px; padding: 4px 6px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { font-weight: 500; font-size: .94rem; padding: 12px 18px; border-radius: 999px; color: #2c405c; transition: background .25s, color .25s; }
.nav a:not(.btn):hover { background: rgba(20, 184, 166, .14); color: var(--navy); }
.nav .btn { margin-left: 6px; }
@media (min-width: 981px) {
  /* Menú en forma de píldora flotante, estilo vidrio. El logo scrollea con la página; solo el menú queda fijo. */
  .header { position: absolute; }
  .nav {
    position: fixed; top: 22px; right: max(20px, calc((100% - 1200px) / 2)); z-index: 100; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .66); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 10px 30px rgba(15, 45, 91, .14), inset 0 1px 0 rgba(255, 255, 255, .6);
    transition: background .3s, top .3s;
  }
  .header.scrolled .nav { background: rgba(255, 255, 255, .9); top: 12px; }
}
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 120px; background: linear-gradient(160deg, #f6f9fd 0%, #eaf1f9 55%, #dff3f1 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 28px; }
.shape-a { width: 360px; height: 230px; right: -60px; top: 14%; background: linear-gradient(135deg, rgba(15, 45, 91, .16), rgba(15, 45, 91, .04)); rotate: -8deg; }
.shape-b { width: 260px; height: 180px; right: 12%; bottom: 8%; background: rgba(20, 184, 166, .18); rotate: 10deg; }
.shape-c { width: 150px; height: 120px; left: 40%; top: 18%; background: rgba(20, 184, 166, .1); rotate: -14deg; }
.dots { position: absolute; right: 4%; top: 16%; width: 160px; height: 120px; background-image: radial-gradient(rgba(15, 45, 91, .35) 2px, transparent 2.5px); background-size: 20px 20px; }
.hero-iso { position: absolute; right: -90px; top: 50%; translate: 0 -50%; width: 560px; opacity: .06; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-content { max-width: 600px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--teal-soft); padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-dark), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.05rem; color: #34475f; }
.hero .hero-lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: grid; gap: 8px; margin-top: 28px; font-size: .93rem; font-weight: 500; color: #34475f; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points svg { color: var(--teal-dark); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; z-index: 1; width: 26px; height: 42px; border: 2px solid var(--navy); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0) } 100% { opacity: 0; transform: translateY(14px) } }

/* Hero: maqueta del panel */
.hero-visual { margin: 0; position: relative; }
.hero-visual figcaption, .show-visual figcaption, .terminal-visual figcaption { text-align: center; font-size: .78rem; color: var(--slate); margin-top: 14px; }
.app-mock { position: relative; display: grid; grid-template-columns: 150px 1fr; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 45, 91, .06); }
.app-side { background: var(--navy); border-radius: 20px 0 0 20px; padding: 18px 12px; color: #c9d6ea; }
.app-brand { padding: 2px 6px 18px; }
.app-brand img { width: 120px; height: auto; }
.app-side ul { display: grid; gap: 4px; font-size: .78rem; font-weight: 500; }
.app-side li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; }
.app-side li.on { background: rgba(20, 184, 166, .22); color: #fff; }
.app-side svg { width: 16px; height: 16px; }
.app-main { padding: 18px 20px 20px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: .92rem; color: var(--navy); }
.chip { font-size: .7rem; font-weight: 600; background: var(--bg-soft); color: var(--slate); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-dark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.kpi small { font-size: .66rem; color: var(--slate); font-weight: 600; line-height: 1.25; }
.kpi strong { font-size: 1.3rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.kpi strong.warn { color: #b45309; }
.kpi .bar { display: block; height: 5px; background: var(--mist); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.kpi .bar b { display: block; height: 100%; background: var(--teal); border-radius: 3px; }
.kpi .bar.warn b { background: var(--amber); }
.w78 { width: 78%; } .w94 { width: 94%; } .w30 { width: 30%; }
.kpi-nodata { background: var(--bg-soft); border-style: dashed; }
.kpi-nodata strong { font-size: 1.05rem; color: var(--slate); }
.kpi-nodata em { font-size: .64rem; color: var(--slate); font-style: normal; }
.app-chart { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .72rem; color: var(--navy); margin-bottom: 6px; }
.chart-head span { font-size: .66rem; color: var(--slate); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 6px; }
.dot-teal { background: var(--teal); } .dot-navy { background: var(--navy); }
.app-chart svg { width: 100%; height: 108px; display: block; }
.float {
  position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 14px 34px rgba(15, 45, 91, .2); font-size: .74rem; line-height: 1.3;
}
.float b { display: block; color: var(--navy); font-size: .78rem; }
.float small { color: var(--slate); font-size: .7rem; }
.float-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.float-ico svg { width: 18px; height: 18px; }
.float-ok { right: -22px; bottom: 54px; animation: bob 5s ease-in-out infinite; }
.float-ok .float-ico { background: var(--teal-soft); color: var(--teal-dark); }
.float-warn { left: -30px; bottom: 34px; animation: bob 6s ease-in-out -2s infinite; }
.float-warn .float-ico { background: var(--amber-soft); color: #b45309; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.07rem; margin: 0; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Pilares */
.pillars { padding: 0; position: relative; z-index: 2; margin-top: -64px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--teal); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 16px; }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Problema */
.problem { background: var(--white); padding-top: 120px; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quotes li {
  position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 24px 64px;
  font-size: 1.04rem; font-weight: 500; color: var(--ink); font-style: italic; transition: .3s;
}
.quotes li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdbe9; }
.q-mark { position: absolute; left: 22px; top: 10px; font-size: 3.4rem; line-height: 1; font-weight: 800; color: var(--teal); font-style: normal; }
.quotes li.solves {
  grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; padding: 28px 32px; font-style: normal; background: var(--navy); color: #dbe6f6; border: 0;
}
.quotes li.solves:hover { transform: none; box-shadow: none; }
.quotes li.solves svg { width: 42px; height: 42px; color: var(--teal); }
.quotes li.solves p { margin: 0; font-size: 1.1rem; }
.quotes li.solves strong { color: #fff; }

/* Cómo funciona */
.flow { background: var(--bg-soft); }
.steps-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; counter-reset: sf; }
.steps-flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 3px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 20px); opacity: .6; }
.steps-flow li { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; align-content: start; }
.sf-ico { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); border: 3px solid var(--teal); margin-bottom: 12px; transition: .3s; position: relative; z-index: 1; }
.sf-ico svg { width: 30px; height: 30px; }
.steps-flow li:hover .sf-ico { background: var(--navy); color: #fff; transform: translateY(-4px); }
.steps-flow b { font-size: 1.05rem; color: var(--navy); }
.steps-flow small { color: var(--muted); font-size: .86rem; line-height: 1.4; max-width: 150px; }
.cross { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 46px; padding: 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); width: fit-content; margin-inline: auto; }
.cross li { font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); padding: 6px 18px; border-radius: 999px; background: var(--teal-soft); }
.rule { margin: 40px auto 0; max-width: 820px; display: flex; gap: 20px; align-items: center; padding: 24px 30px; background: #fff; border-left: 5px solid var(--teal); border-radius: 12px; box-shadow: var(--shadow); }
.rule svg { width: 40px; height: 40px; color: var(--teal-dark); }
.rule p { margin: 0; font-size: 1.1rem; color: var(--ink); }

/* Funcionalidades */
.features { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 38px; }
.chip-btn { font: 600 .9rem/1 inherit; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .2s; }
.chip-btn:hover { border-color: var(--teal); color: var(--navy); }
.chip-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: .3s ease; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 20px; transition: .3s; }
.card:hover .card-icon { background: var(--navy); color: #fff; }
.card-icon svg { width: 30px; height: 30px; }
.card .audience { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 8px; }
.card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 10px; }
.card .lead { color: var(--muted); margin: 0 0 16px; font-size: .96rem; }
.card.reveal.in, .card.reveal { transition: opacity .7s ease, transform .7s ease, box-shadow .3s; }
.checks { margin-bottom: 18px; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 28px; font-size: .93rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--teal-soft); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 7px; height: 4px; border-left: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark); rotate: -45deg; }
.card .closing { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed #cfd9e6; font-size: .92rem; color: var(--ink); font-weight: 500; }
.features-cta { text-align: center; margin-top: 50px; }

/* Showcase */
.showcase { background: var(--bg-soft); }
.show-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.show-row + .show-row { margin-top: 90px; }
.show-row.reverse .show-text { order: 2; }
.show-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.show-text p { color: var(--muted); }
.show-text .checks { margin: 20px 0 26px; }
.show-visual { margin: 0; min-width: 0; }
.viz { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line); }
.viz svg { width: 100%; height: auto; display: block; }
.sel { stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(15, 45, 91, .35)); }
.viz-card { position: absolute; left: 22px; top: 22px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 16px; display: grid; gap: 4px; font-size: .84rem; box-shadow: var(--shadow-lg); }
.viz-card small { color: #9fb4d3; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.viz-card b { font-size: .95rem; }
.tag { justify-self: start; font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-teal { background: var(--teal); color: var(--navy-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 10px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw-empty { background: #e2e8f0; } .sw-ok { background: var(--teal); } .sw-res { background: #3b6fc4; } .sw-block { background: var(--amber); } .sw-off { background: #a3b1c4; }
.svg-note { font: 700 12px Inter, sans-serif; fill: #b45309; letter-spacing: .1em; text-transform: uppercase; }
.svg-dock { font: 700 13px Inter, sans-serif; fill: #fff; }
.svg-num { font: 800 12px Inter, sans-serif; fill: #fff; }
.route-path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .route-path { animation: draw 3.2s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stop { opacity: 0; }
.in .stop { animation: pop .4s ease forwards; }
.in .stop:nth-of-type(1) { animation-delay: .5s; } .in .stop:nth-of-type(2) { animation-delay: .8s; } .in .stop:nth-of-type(3) { animation-delay: 1.2s; } .in .stop:nth-of-type(4) { animation-delay: 1.5s; }
.in .stop:nth-of-type(5) { animation-delay: 1.9s; } .in .stop:nth-of-type(6) { animation-delay: 2.2s; } .in .stop:nth-of-type(7) { animation-delay: 2.6s; } .in .stop:nth-of-type(8) { animation-delay: 2.9s; }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.pdf-sheet { position: absolute; right: -8px; bottom: -42px; width: 160px; background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 16px 38px rgba(15, 45, 91, .24); border: 1px solid var(--line); rotate: 3deg; font-size: .7rem; }
.pdf-head { display: flex; align-items: center; gap: 6px; color: var(--navy); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pdf-head svg { width: 16px; height: 16px; color: var(--teal-dark); }
.pdf-head small { margin-left: auto; font-weight: 700; color: var(--slate); }
.pdf-sheet ul { display: grid; gap: 6px; }
.pdf-sheet li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }
.pdf-sheet .box { width: 11px; height: 11px; border: 1.5px solid var(--navy); border-radius: 3px; }
.qr { display: grid; grid-template-columns: repeat(5, 1fr); width: 52px; gap: 1px; margin: 10px 0 0 auto; }
.qr i { aspect-ratio: 1; background: #fff; }
.qr i.on { background: var(--navy); }

/* Dashboard (maqueta) */
.viz-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--bg-soft); }
.dash-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 16px 18px; }
.dash-card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.15; margin: 6px 0 2px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-top small { font-size: .74rem; font-weight: 700; color: var(--slate); }
.info { width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font: 700 .72rem/20px Inter, sans-serif; text-align: center; cursor: help; font-style: italic; }
.delta { font-size: .76rem; font-weight: 600; color: var(--teal-dark); }
.explain { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed #cfd9e6; display: grid; gap: 6px; font-size: .72rem; }
.explain div { display: grid; grid-template-columns: 62px 1fr; gap: 8px; }
.explain dt { color: var(--slate); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .62rem; padding-top: 1px; }
.explain dd { margin: 0; color: var(--ink); }
.dash-nodata { background: repeating-linear-gradient(135deg, #f8fafc, #f8fafc 10px, #f1f5f9 10px, #f1f5f9 20px); border-style: dashed; }
.dash-nodata strong { color: var(--slate); font-size: 1.5rem; }
.dash-nodata p { font-size: .76rem; color: var(--muted); margin: 6px 0 0; }
.dash-funnel { grid-column: 1 / -1; }
.dash-funnel ul { display: grid; gap: 9px; margin-top: 12px; }
.dash-funnel li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; color: var(--muted); }
.dash-funnel i { display: block; height: 14px; background: var(--mist); border-radius: 7px; overflow: hidden; }
.dash-funnel b { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--teal)); border-radius: 7px; }
.f100 { width: 100%; } .f72 { width: 72%; } .f48 { width: 48%; } .f33 { width: 33%; }

/* Terminal */
.terminal { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.terminal::after { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: rgba(20, 184, 166, .08); }
.terminal-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.terminal .eyebrow { background: rgba(255, 255, 255, .12); color: #7ee8dc; }
.terminal h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 18px; }
.terminal p { color: #c3d3e8; }
.terminal strong { color: #fff; }
.checks-light { margin: 22px 0 28px; }
.checks-light li { color: #dbe6f6; }
.checks-light li::before { background: rgba(20, 184, 166, .22); }
.checks-light li::after { border-color: #5eead4; }
.terminal-visual { margin: 0; position: relative; padding-bottom: 20px; }
.terminal-visual figcaption { color: #8fa6c6; }
.tablet { background: #0b1d3a; border: 7px solid #1c3a69; border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: #fff; }
.tablet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #12305c; font-size: .86rem; }
.tablet-body { display: grid; grid-template-columns: 210px 1fr; min-height: 300px; }
.tsteps { padding: 18px 16px; display: grid; gap: 10px; align-content: start; border-right: 1px solid rgba(255, 255, 255, .08); }
.tsteps li { display: flex; gap: 10px; align-items: center; opacity: .55; }
.tsteps i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #4a6a9b; display: grid; place-items: center; font: 700 .76rem Inter, sans-serif; font-style: normal; flex: none; }
.tsteps b { display: block; font-size: .82rem; line-height: 1.2; }
.tsteps small { color: #9fb4d3; font-size: .7rem; }
.tsteps li.done { opacity: 1; }
.tsteps li.done i { background: var(--teal); border-color: var(--teal); color: var(--navy-ink); }
.tsteps li.now { opacity: 1; }
.tsteps li.now i { border-color: var(--amber); color: var(--amber); }
.tpanel { padding: 20px 24px; display: grid; align-content: start; gap: 8px; }
.tpanel small { color: #9fb4d3; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.tpanel strong { font-size: 2.2rem; font-weight: 800; letter-spacing: .02em; }
.scanbox { display: flex; align-items: center; gap: 12px; border: 2px solid var(--amber); border-radius: 12px; padding: 12px 16px; font: 700 1.3rem ui-monospace, Consolas, monospace; background: rgba(245, 158, 11, .1); }
.scanbox svg { width: 26px; height: 26px; color: var(--amber); }
.banner-err { display: flex; gap: 12px; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .5); border-radius: 12px; padding: 12px 14px; font-size: .8rem; line-height: 1.45; color: #ffe2a8; }
.banner-err svg { width: 22px; height: 22px; color: var(--amber); margin-top: 1px; }
.banner-err p { margin: 0; color: inherit; }
.banner-err b { color: #fff; }
.tbtn { justify-self: start; background: var(--amber); color: #3b2500; font-weight: 700; font-size: .9rem; padding: 12px 28px; border-radius: 12px; margin-top: 4px; }
.handheld { position: absolute; right: -14px; bottom: -18px; width: 136px; background: #fff; color: var(--navy); border: 6px solid #0b1d3a; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); padding: 18px 12px 14px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.handheld b { font-size: .9rem; }
.handheld small { color: var(--slate); font-size: .7rem; }
.hh-ok { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 4px; animation: pulse-ok 2.4s ease-out infinite; }
.hh-ok svg { width: 24px; height: 24px; }
.hh-bar { width: 40px; height: 4px; border-radius: 2px; background: var(--mist); margin-top: 6px; }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .5); } 100% { box-shadow: 0 0 0 16px rgba(20, 184, 166, 0); } }

/* Ecosistema (orbit) */
.modular { background: var(--white); }
.modular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.modular h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin: 14px 0 18px; }
.modular h2 em { font-style: normal; color: var(--teal-dark); }
.modular p { color: var(--muted); }
.modular .tagline { margin-top: 26px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--teal); border-radius: 8px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }
.orbit { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; width: 100%; container-type: inline-size; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; translate: -50% -50%; background: #fff; border-radius: 50%; box-shadow: 0 14px 40px rgba(15, 45, 91, .16); display: grid; place-items: center; z-index: 1; }
.orbit-core img { width: 58%; height: auto; position: relative; }
.orbit-core .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; animation: pulse 3s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.45); opacity: 0; } }
.orbit-item {
  font-family: inherit; cursor: pointer; appearance: none; position: absolute; z-index: 2; width: 17%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #fff; color: var(--navy);
  border: 2px solid #cfe9e5; box-shadow: 0 10px 28px rgba(15, 45, 91, .12); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6cqw; text-align: center; font-size: 2.3cqw; font-weight: 700; line-height: 1.15; padding: 0 1cqw; transition: .25s;
}
.orbit-item svg { width: 5.4cqw; height: 5.4cqw; color: var(--teal-dark); transition: .25s; }
.orbit-item:hover { border-color: var(--teal); }
.orbit-item.active { background: var(--navy); color: #fff; border-color: var(--navy); scale: 1.12; box-shadow: 0 0 0 1.6cqw rgba(20, 184, 166, .2), 0 14px 34px rgba(15, 45, 91, .35); z-index: 3; }
.orbit-item.active svg { color: #5eead4; }
.orbit-item[data-i="0"] { left: 50%; top: 16%; }
.orbit-item[data-i="1"] { left: 74.04%; top: 25.96%; }
.orbit-item[data-i="2"] { left: 84%; top: 50%; }
.orbit-item[data-i="3"] { left: 74.04%; top: 74.04%; }
.orbit-item[data-i="4"] { left: 50%; top: 84%; }
.orbit-item[data-i="5"] { left: 25.96%; top: 74.04%; }
.orbit-item[data-i="6"] { left: 16%; top: 50%; }
.orbit-item[data-i="7"] { left: 25.96%; top: 25.96%; }
.orbit-wrap { display: grid; gap: 28px; min-width: 0; }
.orbit-lines .ring { transform-origin: 500px 500px; animation: spin 90s linear infinite; }
.spoke line { stroke: #8fd5cc; stroke-dasharray: 3 9; transition: stroke .3s; }
.spoke circle { fill: #8fd5cc; transition: fill .3s; }
.spoke.active line { stroke: var(--teal); stroke-width: 5; stroke-dasharray: 9 9; animation: flow .8s linear infinite; }
.spoke.active circle { fill: var(--teal); }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-panel { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px 28px 24px; overflow: hidden; min-height: 300px; border: 1px solid var(--line); }
.orbit-panel.swap > :not(.orbit-progress) { animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.orbit-progress { position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--teal-soft); }
.orbit-progress i { display: block; height: 100%; width: 0; background: var(--teal); }
.orbit-progress.run i { animation: fill var(--dur, 5s) linear forwards; }
.orbit-progress.paused i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.op-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.op-lead { color: var(--muted); margin: 0 0 16px; font-size: .96rem; }
.orbit-panel .checks { margin-bottom: 18px; }
.more { font-weight: 600; color: var(--teal-dark); display: inline-flex; gap: 8px; align-items: center; transition: gap .25s; }
.more:hover { gap: 14px; }

/* Por qué */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; transition: .3s; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.why-ico svg { width: 24px; height: 24px; }
.why-item h3, .sec-item h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Para quién */
.audience { background: var(--white); }
.audience .card { padding: 28px 24px; }
.audience .card h3 { font-size: 1.12rem; }
.audience .card .lead { margin: 0; font-size: .92rem; }
.roles { margin-top: 70px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px 50px; align-items: start; background: var(--bg-soft); border-radius: 24px; padding: 40px; border: 1px solid var(--line); }
.roles-intro h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.roles-intro p { color: var(--muted); margin: 0; }
.roles-tabs { display: none; flex-wrap: wrap; gap: 8px; grid-column: 2; grid-row: 1; }
.js .roles-tabs { display: flex; }
.role-tab { font: 600 .86rem/1 inherit; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #cfd9e6; background: #fff; color: var(--muted); cursor: pointer; transition: .2s; }
.role-tab:hover { border-color: var(--teal); color: var(--navy); }
.role-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.roles-panels { grid-column: 2; display: grid; gap: 12px; }
.role-panel { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 20px 24px; border: 1px solid var(--line); }
.role-panel svg { width: 34px; height: 34px; color: var(--teal-dark); }
.role-panel b { color: var(--navy); font-size: 1.04rem; }
.role-panel p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* Integraciones */
.integrations { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; position: relative; overflow: hidden; }
.integrations::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: rgba(20, 184, 166, .08); }
.integrations-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.integrations .eyebrow { background: rgba(255, 255, 255, .12); color: #7ee8dc; }
.integrations h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 18px; }
.integrations p { color: #c3d3e8; }
.integrations strong { color: #fff; }
.int-diagram { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 30px 24px; }
.int-systems { display: grid; gap: 14px; }
.int-systems li { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--navy); font-weight: 700; padding: 14px 16px; border-radius: 14px; font-size: .95rem; }
.int-systems svg { width: 22px; height: 22px; color: var(--teal-dark); }
.int-links { display: grid; gap: 34px; padding: 0 6px; }
.int-arrow { display: grid; justify-items: center; gap: 6px; font-size: .68rem; font-weight: 700; color: #7ee8dc; text-align: center; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.int-arrow i { position: relative; display: block; width: 100%; height: 3px; background: repeating-linear-gradient(90deg, #5eead4 0 8px, transparent 8px 14px); background-size: 14px 3px; animation: dashmove 1s linear infinite; }
.int-arrow.to-sys i { animation-direction: reverse; }
.int-arrow i::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-top: 3px solid #5eead4; border-right: 3px solid #5eead4; }
.int-arrow.to-hub i::after { right: 0; rotate: 45deg; }
.int-arrow.to-sys i::after { left: 0; rotate: -135deg; }
@keyframes dashmove { to { background-position: 14px 0; } }
.int-hub { display: grid; justify-items: center; gap: 10px; background: linear-gradient(145deg, var(--teal), var(--teal-dark)); border-radius: 22px; padding: 28px 12px; text-align: center; box-shadow: 0 0 0 10px rgba(20, 184, 166, .15); }
.int-hub img { width: 70px; height: auto; }
.int-hub b { font-size: .92rem; color: #fff; }
.events { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.events li { font-size: .78rem; font-weight: 600; color: #dbe6f6; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.events li::before { content: "⚡"; margin-right: 6px; }

/* Seguridad */
.security { background: var(--white); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sec-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.sec-item .why-ico { margin-bottom: 16px; }
.sec-item p { margin: 6px 0 0; color: var(--muted); font-size: .94rem; }
.tech { max-width: 860px; margin: 40px auto 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.tech summary { cursor: pointer; padding: 18px 24px; font-weight: 700; color: var(--navy); list-style: none; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--teal-dark); }
.tech[open] summary::after { content: "–"; }
.tech .checks { padding: 0 24px 22px; margin: 0; }

/* Demo */
.demo { background: linear-gradient(180deg, #ecf8f6 0%, var(--bg-soft) 100%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats li { background: #fff; border-radius: 16px; padding: 24px 20px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stats span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.demo-foot { max-width: 820px; margin: 46px auto 0; text-align: center; }
.demo-foot p { color: var(--muted); margin-bottom: 24px; }

/* FAQ */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin: 6px 0 16px; }
.faq .reveal > p { color: var(--muted); margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #c7e6e2; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; color: var(--teal-dark); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Contacto */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin: 6px 0 18px; }
.contact p { color: var(--muted); }
.next-steps { counter-reset: n; display: grid; gap: 14px; margin: 26px 0; }
.next-steps li { counter-increment: n; position: relative; padding-left: 52px; color: var(--muted); font-size: .96rem; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.next-steps b { display: block; color: var(--navy); }
.contact-badge { margin-top: 30px; display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: .92rem; }
.contact-badge img { width: 64px; }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: .86rem; font-weight: 600; }
input, select, textarea { font: inherit; color: var(--ink); padding: 13px 16px; border: 1px solid #cdd8e5; border-radius: 10px; background: #fbfcfe; transition: .2s; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); background: #fff; }
textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; padding: 0; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; min-height: 1.2em; color: var(--teal-dark); font-weight: 600; }
.form-note.form-ok { color: #067647; }
.form-note.form-bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--danger); font-size: .82rem; }
.field-error:empty { display: none; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--danger); }
.form-error { grid-column: 1 / -1; color: var(--danger); font-size: .9rem; }
.form-error ul { margin: 0; padding: 0; }
.error-page { padding: 160px 0 100px; text-align: center; }
.error-page h1 { font-size: 2.4rem; margin-bottom: 12px; }

/* Footer */
.footer { background: var(--navy-deep); color: #b7c7de; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 60px; }
.footer img.flogo { height: 62px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: .95rem; }
.footer p { font-size: .94rem; }
.footer a:not(.btn) { transition: .2s; }
.footer a:not(.btn):hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--teal-dark); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-content { max-width: 720px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .float-ok { right: -8px; } .float-warn { left: -8px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .show-row, .terminal-grid, .modular-grid, .integrations-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .show-row.reverse .show-text { order: 0; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps-flow::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roles { grid-template-columns: 1fr; }
  .roles-tabs, .roles-panels { grid-column: 1; grid-row: auto; }
  .terminal-visual { max-width: 640px; margin-inline: auto; width: 100%; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; padding: 90px 28px 30px; flex-direction: column; align-items: flex-start; gap: 14px;
    background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-100%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(15, 45, 91, .08); padding: 12px 0; }
  .nav a:not(.btn) { padding: 8px 0; border-radius: 0; font-weight: 600; }
  .nav a:not(.btn):hover { background: none; }
  .nav .btn { margin-left: 0; }
  .hero { padding-top: 120px; }
}
@media (max-width: 720px) {
  section { padding: 70px 0; }
  .hero { min-height: 0; padding-bottom: 110px; }
  .hero-iso, .shape-a, .shape-c, .dots { display: none; }
  .eyebrow { border-radius: 14px; }
  .app-mock { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .pillars { margin-top: -50px; }
  .pillars-grid, .cards, .cards-4, .quotes, .why-grid, .sec-grid { grid-template-columns: 1fr; }
  .quotes li { padding: 22px 20px 22px 56px; }
  .quotes li.solves { padding: 22px; flex-direction: column; align-items: flex-start; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .viz-dash { grid-template-columns: 1fr; }
  .viz { padding: 14px; }
  .viz-card { position: static; margin-top: 10px; }
  .pdf-sheet { position: static; width: auto; rotate: 0deg; margin-top: 12px; }
  .tablet-body { grid-template-columns: 1fr; }
  .tsteps { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .handheld { position: static; margin: 18px auto 0; }
  .int-diagram { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; }
  .int-links { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats strong { font-size: 1.8rem; }
  form { grid-template-columns: 1fr; padding: 26px; }
  .roles { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .orbit-item svg { display: none; }
  .orbit-item { font-size: 2.9cqw; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .route-path { stroke-dashoffset: 0; }
  .stop { opacity: 1; }
}
