/* Common Engine — commonengine.io
   Base: el diseño que entregó Juan el 28-nov-2026 (negro + naranja, Plus Jakarta Sans + JetBrains Mono).
   Cambios de la auditoría: fuentes alojadas aquí (sin terceros), sin estilos en línea (CSP estricta), contraste AA,
   foco visible, menú móvil, versión para celular, movimiento reducido, fondo de Industrias sin imagen externa. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  --black: #05080b;
  --surface: #0b1117;
  --surface-elevated: #111922;
  --ink: #0f161d;
  --paper: #f4f5f6;
  --orange: #ff6a00;
  --orange-hover: #ff8128;
  --orange-ink: #b84a00;      /* naranja para texto sobre fondo claro (contraste 5,2:1) */
  --on-orange: #05080b;       /* texto sobre naranja (7:1; el blanco daba 2,9:1) */
  --muted: #9aa5b1;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(15, 22, 29, 0.12);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --bar: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
section[id], footer[id] { scroll-margin-top: var(--bar); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.capabilities :focus-visible { outline-color: var(--orange-ink); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--on-orange);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}
.skip:focus { top: 12px; }

/* Cuadrícula técnica de fondo */
.tech-grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- Encabezado y navegación ---------- */
.topbar {
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4.5%;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled, .nav-open .topbar {
  background: rgba(5, 8, 11, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  border: 5.5px solid var(--orange);
  border-right-color: transparent;
  border-radius: 8px 0 0 8px;
  transform: skew(-8deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 5.5px;
  background: var(--orange);
  right: -5.5px;
  top: 7.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
  color: #e4e8ec;
}
.nav > a, .nav-drop-btn {
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}
.nav > a:hover, .nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--orange); opacity: 1; }
.nav .nav-active { border-bottom-color: var(--orange); opacity: 1; }
.caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-drop.open .caret { transform: rotate(225deg) translateY(-2px); }

.nav-drop { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 300px;
  background: rgba(11, 17, 23, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
}
.nav-drop.open .dropdown-menu { display: flex; }
@media (hover: hover) and (min-width: 1081px) {
  .nav-drop:hover .dropdown-menu, .nav-drop:focus-within .dropdown-menu { display: flex; }
  .nav-drop:hover .nav-drop-btn { color: var(--orange); opacity: 1; }
}
.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #d0d6db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: rgba(255, 106, 0, 0.12); color: #fff; }
.dropdown-menu .code { font-family: var(--font-mono); font-size: 11px; color: var(--orange); white-space: nowrap; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang:hover { border-color: var(--orange); color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--on-orange);
  border: 0;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

.menu {
  display: none;
  width: 44px;
  height: 40px;
  background: none;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.menu span, .menu::before, .menu::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.menu::before { top: 12px; }
.menu span { top: 18px; }
.menu::after { top: 24px; }
.nav-open .menu::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu span { opacity: 0; }
.nav-open .menu::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  min-height: 740px;
  height: 100vh;
  height: 100svh;
  max-height: 920px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 45%, #112638 0%, #071018 42%, #030608 80%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #05080b 0%, rgba(5, 8, 11, 0.94) 30%, rgba(5, 8, 11, 0.22) 54%, rgba(5, 8, 11, 0) 78%),
    linear-gradient(0deg, #05080b 0%, transparent 24%);
  pointer-events: none;
}
#space { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.hero-content { position: relative; z-index: 3; padding: 40px 4.5% 60px; max-width: 840px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d0d6db;
  margin-bottom: 24px;
}
.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d0d6db;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}
.eyebrow::before { content: ""; height: 2px; width: 42px; background: var(--orange); flex-shrink: 0; }
.eyebrow.dark { color: #36414c; }

h1 {
  font-size: clamp(38px, 5.1vw, 74px);
  line-height: 1.03;
  letter-spacing: -2.4px;
  margin: 18px 0 22px;
  font-weight: 800;
  text-transform: uppercase;
}
h1 span {
  color: var(--orange);
  background: linear-gradient(90deg, #ff6a00, #ff9a44);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: 18px; line-height: 1.6; color: #bcc5ce; max-width: 560px; margin: 0 0 34px; }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  padding: 16px 26px;
  border: 0;
  border-radius: 4px;
  color: var(--on-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.25);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.primary:hover { transform: translateY(-2px); background: var(--orange-hover); box-shadow: 0 12px 30px rgba(255, 106, 0, 0.4); }
.primary .arrow, .secondary-btn .arrow { transition: transform 0.2s; }
.primary:hover .arrow, .secondary-btn:hover .arrow { transform: translateX(4px); }

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.secondary-btn:hover { border-color: var(--orange); background: rgba(255, 106, 0, 0.08); }
.secondary-btn.dark { border-color: #c9cfd6; background: #fff; color: var(--ink); }
.secondary-btn.dark:hover { border-color: var(--orange-ink); background: #fff7f0; }

.hero-bottom {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 4.5%;
  right: 4.5%;
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  border-right: 1px solid var(--line);
  min-height: 40px;
}
.metric:first-child { padding-left: 0; }
.metric:last-of-type { border: 0; }
.metric strong { font-family: var(--font-mono); font-size: 28px; color: #fff; font-weight: 700; }
.metric span { font-size: 11px; letter-spacing: 1.4px; line-height: 1.4; color: var(--muted); text-transform: uppercase; max-width: 130px; }
.scroll {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.scroll b { font-size: 18px; color: var(--orange); }

/* ---------- Secciones ---------- */
.section-pad { padding: 96px 4.5%; }
.container { max-width: 1440px; margin: auto; }

.section-header { max-width: 720px; margin-bottom: 48px; }
.section-header h2, .cap-intro h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 16px 0;
}
.section-header p { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* 01 Capacidades (fondo claro) */
.capabilities { background: var(--paper); color: var(--ink); }
.cap-wrap { display: grid; grid-template-columns: 0.9fr 2.4fr; gap: 48px; align-items: start; }
.cap-intro { position: sticky; top: 110px; }
.cap-intro p { font-size: 16px; line-height: 1.65; color: #4a5562; margin: 0 0 28px; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cap-card {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(12, 22, 30, 0.03);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(12, 22, 30, 0.08); border-color: var(--orange); }
.cap-top { display: flex; justify-content: space-between; align-items: center; }
.cap-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #55616e;
  background: #f1f3f5;
  padding: 4px 8px;
  border-radius: 4px;
}
.cap-icon { width: 26px; height: 26px; color: var(--orange); }
.cap-card h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; font-weight: 800; color: var(--ink); }
.cap-card p { font-size: 14px; line-height: 1.55; color: #4a5562; margin: 0; }
.cap-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #eef0f2;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-ink);
}
.arrow { display: inline-block; transition: transform 0.2s; }
.cap-card:hover .arrow { transform: translateX(4px); }

/* 02 Soluciones (pestañas) */
.solutions { background: var(--black); border-top: 1px solid var(--line); }
.sol-layout { display: grid; grid-template-columns: 1fr 1.45fr; gap: 32px; align-items: stretch; }
.sol-tabs { display: flex; flex-direction: column; gap: 12px; }
.sol-tab {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.sol-tab:hover { border-color: rgba(255, 106, 0, 0.5); }
.sol-tab.active { background: var(--surface-elevated); border-color: var(--orange); box-shadow: inset 3px 0 0 var(--orange); }
.sol-tab-meta { font-family: var(--font-mono); font-size: 12px; color: var(--orange); margin-bottom: 6px; display: block; }
.sol-tab-title { display: block; margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.sol-tab-text { display: block; margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.sol-panels { display: grid; gap: 16px; }
.sol-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sol-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.08);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.sol-panel h3 { font-size: 28px; margin: 0 0 14px; letter-spacing: -0.8px; }
.sol-panel > div > p { font-size: 15px; line-height: 1.65; color: #c4cbd1; margin: 0 0 26px; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.spec-item { background: rgba(5, 8, 11, 0.65); border: 1px solid var(--line); padding: 14px 16px; border-radius: 6px; }
.spec-item strong { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--orange); margin-bottom: 4px; text-transform: uppercase; }
.spec-item span { font-size: 13.5px; color: #e4e8ec; line-height: 1.45; display: block; }

/* 03 Industrias (antes llevaba una foto de Unsplash: la política de seguridad del sitio la bloqueaba) */
.industries {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(255, 106, 0, 0.1) 0%, transparent 46%),
    radial-gradient(ellipse at 10% 100%, rgba(17, 38, 56, 0.9) 0%, transparent 55%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #05080b;
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
  border-top: 1px solid var(--line);
}
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; }
.ind-card {
  background: rgba(11, 17, 23, 0.85);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.ind-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.ind-num { font-family: var(--font-mono); font-size: 12px; color: var(--orange); margin-bottom: 18px; display: block; }
.ind-card h3 { font-size: 18px; margin: 0 0 10px; }
.ind-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* 04 Innovación */
.innovation { background: var(--surface); border-top: 1px solid var(--line); }
.rnd-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.rnd-grid .section-header { margin-bottom: 0; }
.rnd-note { margin: 22px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.6; }
.rnd-cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rnd-item {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.rnd-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.12);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.rnd-item h3 { margin: 0 0 6px; font-size: 16px; }
.rnd-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* 05 Nosotros */
.about { background: var(--black); border-top: 1px solid var(--line); }
.about-box {
  background: linear-gradient(135deg, #0e161f 0%, #070b10 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.about-box h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin: 14px 0 18px; letter-spacing: -1.2px; }
.about-box p { font-size: 15.5px; line-height: 1.65; color: #c4cbd1; margin: 0 0 24px; }
.principles { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.principles li { font-size: 14.5px; line-height: 1.55; color: #c4cbd1; padding-left: 18px; position: relative; }
.principles li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--orange); }
.principles strong { color: #fff; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0; }
.stat-box { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); padding: 22px; border-radius: 8px; display: flex; flex-direction: column-reverse; }
.stat-box dd { margin: 0 0 6px; font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.stat-box dt { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.method { margin-top: 64px; }
.method-title { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.8px; margin: 14px 0 28px; max-width: 720px; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.method-step { border-top: 2px solid var(--line); padding: 20px 4px 0 0; }
.method-step:hover { border-top-color: var(--orange); }
.method-step .ind-num { margin-bottom: 10px; }
.method-step h4 { margin: 0 0 8px; font-size: 16px; }
.method-step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Contacto */
.contact {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 106, 0, 0.16) 0%, transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -1.6px; margin: 18px auto; max-width: 820px; }
.contact p { font-size: 16.5px; line-height: 1.6; color: #c4cbd1; margin: 0 auto 30px; max-width: 600px; }
.contact .actions { justify-content: center; }
.contact-mail { display: block; margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.contact-mail a { color: #fff; border-bottom: 1px solid var(--orange); padding-bottom: 1px; }
.contact-mail a:hover { color: var(--orange); }

/* Pie de página */
footer { background: #030608; border-top: 1px solid var(--line); padding: 56px 4.5% 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 320px; }
.foot-col h2 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #d0d6db; font-weight: 700; }
.foot-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot-col a, .foot-col li { font-size: 14px; color: var(--muted); }
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.foot-bottom a:hover { color: var(--orange); }

/* Página de error */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 4.5% 60px; }
.notfound .brand { margin-bottom: 44px; }
.notfound h1 { font-size: clamp(34px, 5vw, 64px); }
.notfound .lead { margin-bottom: 28px; }

/* Entrada suave al desplazar (solo con JavaScript y sin "movimiento reducido") */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Ventanas del menú: claras, con franja negra del enlace principal y franja naranja (Juan, 28-nov) ---------- */
:root {
  --mist: #eaf2fb;           /* azul muy claro */
  --gris: #f2f3f5;           /* gris muy claro */
  --ink-soft: #4a5562;
  --edge: #d9dfe6;
  --edge-blue: #cfdcea;
  --gut: 4.5vw;
}
.dropdown-menu {
  background: #f7f9fb;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid var(--edge);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 0 0 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.dd-head {
  display: block;
  background: var(--black);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 3px solid var(--orange);
  margin-bottom: 6px;
}
.dropdown-menu a { color: var(--ink); margin: 0 8px; border-left: 3px solid transparent; border-radius: 4px; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: #e1ebf7; color: var(--ink); border-left-color: var(--orange); }
.dropdown-menu .code { color: var(--orange-ink); }

/* portada: enlaces nuevos */
.ind-card > a { display: block; margin: -28px -24px; padding: 28px 24px; }
.rnd-actions { margin-top: 26px; }
.sol-panel .actions { gap: 14px; }

/* ---------- Ventanas (páginas interiores): fondos gris y azul casi blancos, franjas negras y naranjas ---------- */
.win { background: var(--gris); color: var(--ink); }
.win .topbar { background: rgba(5, 8, 11, 0.97); border-bottom-color: var(--line); }
.win-head { padding-top: var(--bar); background: var(--mist); border-bottom: 1px solid var(--edge-blue); }
.band {
  margin: 0;
  padding: 0 var(--gut);
  min-height: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.band a { color: #c3ccd5; padding: 6px 0; }
.band a:hover { color: var(--orange); }
.band .sep { color: #5c6875; }
.band-code { margin-left: auto; color: var(--orange); }
.win-intro { padding: 64px var(--gut) 72px; }
.win-intro h1 {
  color: var(--ink);
  text-transform: none;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  margin: 0 0 20px;
  max-width: 940px;
}
.win-intro .lead { color: var(--ink-soft); max-width: 760px; font-size: 18.5px; margin-bottom: 30px; }
.win .topbar { color: #fff; }
.nav-contact { display: none !important; }
.win .contact h2 { margin-top: 0; }
.win :focus-visible { outline-color: var(--orange-ink); }
.win .topbar :focus-visible, .win .band :focus-visible { outline-color: var(--orange); }

.win-sec { padding: 72px var(--gut); }
.win-sec.gris { background: var(--gris); }
.win-sec.azul { background: var(--mist); border-top: 1px solid var(--edge-blue); border-bottom: 1px solid var(--edge-blue); }
.win-sec > .container > h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(23px, 2.3vw, 32px);
  letter-spacing: -0.8px;
  margin: 0 0 30px;
  color: var(--ink);
}
.win-sec > .container > h2::before { content: ""; width: 42px; height: 3px; background: var(--orange); flex-shrink: 0; }

.win-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.win-card { background: #fff; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(12, 22, 30, 0.04); }
.win-card h3 { background: var(--black); color: #fff; margin: 0; padding: 14px 20px; font-size: 16px; line-height: 1.35; border-bottom: 3px solid var(--orange); }
.win-card p { margin: 0; padding: 18px 20px 22px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.62; }

.win-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 900px; }
.win-list li {
  background: #fff;
  border: 1px solid var(--edge-blue);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 15px 18px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}

.win-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.win-steps li { border-top: 3px solid var(--black); padding-top: 18px; }
.win-steps .n { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--orange-ink); margin-bottom: 10px; }
.win-steps h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--ink); }
.win-steps p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

.win-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.win-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--black);
  color: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 17px 18px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.win-links a:hover { background: #18212b; transform: translateX(3px); }
.win-links .code { font-family: var(--font-mono); font-size: 12px; color: var(--orange); white-space: nowrap; }

.win-mail { background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--orange); border-radius: 8px; padding: 34px 32px; max-width: 760px; box-shadow: 0 10px 30px rgba(12, 22, 30, 0.05); }
.win-mail p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.win-mail-addr { display: inline-block; font-family: var(--font-mono); font-size: clamp(16px, 2.2vw, 22px); font-weight: 700; color: var(--ink); border-bottom: 3px solid var(--orange); padding-bottom: 3px; margin-bottom: 26px; overflow-wrap: anywhere; }
.win-mail-addr:hover { color: var(--orange-ink); }

/* ---------- 04 Caso de negocio: gráficas, diagrama y calculadora ---------- */
.case { background: var(--black); border-top: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
}
.ring { width: 128px; height: 128px; margin-bottom: 18px; }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.ring-alt { stroke: rgba(255, 106, 0, 0.38); }
.ring-val { stroke: var(--orange); }
.ring text { fill: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 19px; }
.stat-card h3 { font-size: 16px; line-height: 1.35; margin: 0 0 8px; }
.stat-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; flex: 1; }
.src { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--orange); }
.src:hover { text-decoration: underline; }
.case-note { margin: 22px 0 0; max-width: 900px; font-size: 13px; line-height: 1.6; color: var(--muted); }

.flow-wrap { margin-top: 72px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.flow li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 0;
  padding: 22px 20px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow li:first-child { border-left: 1px solid var(--line); border-radius: 8px 0 0 8px; padding-left: 22px; }
.flow li:last-child { border-radius: 0 8px 8px 0; }
.flow li::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.flow li:last-child::after { display: none; }
.flow-n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--orange); }
.flow strong { font-size: 16px; }
.flow li > span:last-child { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.est { margin-top: 72px; display: grid; grid-template-columns: 1.15fr 0.85fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.est-in { padding: 40px 36px; background: var(--surface); }
.est-in h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.8px; margin: 0 0 10px; }
.est-in p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 6px; }
.est-in label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: #e4e8ec; margin: 22px 0 8px; }
.est-in output { font-family: var(--font-mono); font-weight: 700; color: var(--orange); white-space: nowrap; }
.est-in input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.est-out { padding: 40px 36px; background: linear-gradient(160deg, #1a130c 0%, #0b0d10 70%); border-left: 3px solid var(--orange); display: flex; flex-direction: column; }
.est-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 0; }
.est-big { font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; margin: 4px 0 22px; }
.est-money { color: var(--orange); }
.est-bars { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.est-bars svg { display: block; width: 100%; height: 10px; }
.b-today { fill: rgba(255, 255, 255, 0.28); }
.b-after { fill: var(--orange); }
.est-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0 0 22px; }

/* ---------- Tema claro (Juan, 28-nov): solo la pantalla inicial es oscura. Todo lo demás va sobre grises y azules
   casi blancos, con cuadros y botones marcados por sombras difuminadas en vez de bordes duros. ---------- */
:root {
  --frost: #f7f9fc;           /* blanco azulado */
  --steel: #eef2f7;           /* gris azulado */
  --pie: #e8edf3;
  --orange-deep: #d95600;     /* naranja para cifras grandes sobre claro (3,9:1) */
  --pelo: rgba(16, 36, 62, 0.09);
  --sombra: 0 1px 2px rgba(16, 36, 62, 0.05), 0 6px 22px rgba(16, 36, 62, 0.07);
  --sombra-alta: 0 2px 6px rgba(16, 36, 62, 0.07), 0 18px 44px rgba(16, 36, 62, 0.13);
  --sombra-btn: 0 1px 2px rgba(16, 36, 62, 0.08), 0 6px 18px rgba(16, 36, 62, 0.1);
}
.capabilities, .solutions, .industries, .case, .innovation, .about, .contact, footer {
  --line: rgba(16, 36, 62, 0.11);
  --muted: #5a6673;
  color: var(--ink);
}
.capabilities :focus-visible, .solutions :focus-visible, .industries :focus-visible, .case :focus-visible,
.innovation :focus-visible, .about :focus-visible, .contact :focus-visible, footer :focus-visible { outline-color: var(--orange-ink); }
.capabilities .eyebrow, .solutions .eyebrow, .industries .eyebrow, .case .eyebrow,
.innovation .eyebrow, .about .eyebrow, .contact .eyebrow { color: #3d4956; }

/* botones sobre claro */
.capabilities .secondary-btn, .solutions .secondary-btn, .industries .secondary-btn, .case .secondary-btn,
.innovation .secondary-btn, .about .secondary-btn, .contact .secondary-btn, .secondary-btn.dark {
  background: #fff;
  color: var(--ink);
  border-color: var(--pelo);
  box-shadow: var(--sombra-btn);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.capabilities .secondary-btn:hover, .solutions .secondary-btn:hover, .industries .secondary-btn:hover, .case .secondary-btn:hover,
.innovation .secondary-btn:hover, .about .secondary-btn:hover, .contact .secondary-btn:hover, .secondary-btn.dark:hover {
  background: #fff;
  border-color: rgba(255, 106, 0, 0.55);
  box-shadow: var(--sombra-alta);
  transform: translateY(-2px);
}
.capabilities .primary, .solutions .primary, .case .primary, .about .primary, .contact .primary, .win .primary {
  box-shadow: 0 1px 2px rgba(184, 74, 0, 0.25), 0 10px 26px rgba(255, 106, 0, 0.26);
}
.solutions.tech-grid-bg, .case.tech-grid-bg {
  background-image:
    linear-gradient(to right, rgba(16, 36, 62, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 36, 62, 0.035) 1px, transparent 1px);
}

/* 01 Capacidades: gris casi blanco; la franja naranja marca el paso desde la pantalla inicial */
.capabilities { background-color: var(--gris); border-top: 3px solid var(--orange); }
.cap-card { border-color: var(--pelo); box-shadow: var(--sombra); }
.cap-card:hover { box-shadow: var(--sombra-alta); border-color: rgba(255, 106, 0, 0.55); }
.cap-code { background: var(--steel); }

/* 02 Soluciones: azul casi blanco */
.solutions { background-color: var(--mist); border-top: 1px solid var(--edge-blue); }
.sol-tab { background: rgba(255, 255, 255, 0.72); border-color: var(--pelo); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 36, 62, 0.04); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.sol-tab:hover { background: #fff; border-color: rgba(255, 106, 0, 0.45); box-shadow: var(--sombra); }
.sol-tab.active { background: #fff; border-color: rgba(255, 106, 0, 0.6); box-shadow: inset 3px 0 0 var(--orange), var(--sombra-alta); }
.sol-tab-meta { color: var(--orange-ink); }
.sol-panel { background: #fff; border-color: var(--pelo); box-shadow: var(--sombra-alta); }
.sol-badge { color: var(--orange-ink); border-color: rgba(255, 106, 0, 0.35); background: rgba(255, 106, 0, 0.07); }
.sol-panel > div > p { color: var(--ink-soft); }
.spec-item { background: var(--frost); border-color: var(--pelo); }
.spec-item strong { color: var(--orange-ink); }
.spec-item span { color: #26313c; }

/* 03 Industrias: blanco azulado con la cuadrícula técnica muy tenue */
.industries {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(255, 106, 0, 0.07) 0%, transparent 46%),
    radial-gradient(ellipse at 8% 100%, rgba(120, 165, 215, 0.2) 0%, transparent 55%),
    linear-gradient(to right, rgba(16, 36, 62, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 36, 62, 0.035) 1px, transparent 1px),
    var(--frost);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
  border-top: 1px solid var(--edge);
}
.ind-card { background: #fff; border-color: var(--pelo); box-shadow: var(--sombra); transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.ind-card:hover { border-color: rgba(255, 106, 0, 0.55); box-shadow: var(--sombra-alta); }
.ind-num { color: var(--orange-ink); }

/* 04 Caso de negocio: gris azulado */
.case { background-color: var(--steel); border-top: 1px solid var(--edge); }
.stat-card { background: #fff; border-color: var(--pelo); border-top-color: var(--orange); box-shadow: var(--sombra); }
.ring-bg { stroke: rgba(16, 36, 62, 0.09); }
.ring-alt { stroke: rgba(255, 106, 0, 0.34); }
.ring text { fill: var(--ink); }
.src { color: var(--orange-ink); }
.flow { border-radius: 8px; box-shadow: var(--sombra); }
.flow li, .flow li::after { background: #fff; }
.flow-n { color: var(--orange-ink); }
.est { border-color: var(--pelo); box-shadow: var(--sombra-alta); }
.est-in { background: #fff; }
.est-in label { color: #26313c; }
.est-in output { color: var(--orange-ink); }
.est-out { background: linear-gradient(160deg, #fff5eb 0%, #f3f7fc 70%); }
.est-money { color: var(--orange-deep); }
.b-today { fill: rgba(16, 36, 62, 0.24); }
.est-in input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; }
.est-in input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #dbe3ec; }
.est-in input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: var(--sombra-btn); }
.est-in input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #dbe3ec; }
.est-in input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.est-in input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: var(--sombra-btn); }

/* 05 Innovación: gris casi blanco */
.innovation { background: var(--gris); border-top: 1px solid var(--edge); }
.rnd-item { background: #fff; border-color: var(--pelo); box-shadow: var(--sombra); }
.rnd-tag { color: var(--orange-ink); background: rgba(255, 106, 0, 0.1); }

/* 06 Nosotros: azul casi blanco */
.about { background: var(--mist); border-top: 1px solid var(--edge-blue); }
.about-box { background: linear-gradient(135deg, #fff 0%, var(--frost) 100%); border-color: var(--pelo); box-shadow: var(--sombra-alta); }
.about-box p, .principles li { color: var(--ink-soft); }
.principles strong { color: var(--ink); }
.stat-box { background: var(--frost); border-color: var(--pelo); box-shadow: 0 1px 2px rgba(16, 36, 62, 0.04); }
.stat-box dd { color: var(--orange-deep); }
.method-step { border-top-color: rgba(16, 36, 62, 0.16); }

/* Contacto y pie */
.contact {
  background:
    radial-gradient(ellipse at 50% 125%, rgba(255, 106, 0, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--frost) 0%, #e4edf8 100%);
  border-top: 1px solid var(--edge-blue);
}
.contact p { color: var(--ink-soft); }
.contact-mail a { color: var(--ink); }
.contact-mail a:hover { color: var(--orange-ink); }
footer { background: var(--pie); border-top: 1px solid var(--edge-blue); }
.foot-col h2 { color: #26313c; }
.foot-col a:hover, .foot-bottom a:hover { color: var(--orange-ink); }

/* Páginas interiores: los cuadros dejan la cabecera negra; quedan blancos con sombra difuminada */
.win-card { border-color: var(--pelo); border-top: 3px solid var(--orange); box-shadow: var(--sombra); transition: box-shadow 0.25s, transform 0.25s; }
.win-card:hover { box-shadow: var(--sombra-alta); transform: translateY(-3px); }
.win-card h3 { background: none; color: var(--ink); border-bottom: 0; padding: 22px 22px 0; font-size: 17px; }
.win-card p { padding: 10px 22px 24px; }
.win-list li { border-color: var(--pelo); border-left-color: var(--orange); box-shadow: var(--sombra); }
.win-steps li { border-top: 2px solid rgba(16, 36, 62, 0.18); }
.win-links a { background: #fff; color: var(--ink); border: 1px solid var(--pelo); border-left: 4px solid var(--orange); box-shadow: var(--sombra); transition: box-shadow 0.2s, transform 0.2s; }
.win-links a:hover { background: #fff; box-shadow: var(--sombra-alta); transform: translateX(3px); }
.win-links .code { color: var(--orange-ink); }
.win-mail { border-color: var(--pelo); border-top-color: var(--orange); box-shadow: var(--sombra-alta); }

/* ---------- Tabletas y celulares ---------- */
@media (max-width: 1080px) {
  .menu { display: inline-block; }
  /* absoluto respecto de la barra: el desenfoque de la barra vuelve "contenedor" a la barra y un fixed quedaba sin alto */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--bar));
    height: calc(100dvh - var(--bar));
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    gap: 8px;
    padding: 18px 4.5% 40px;
    background: var(--gris);
    color: var(--ink);
    overflow-y: auto;
    font-size: 16px;
  }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  /* menú del celular: enlaces principales = franjas negras con borde naranja; subenlaces sobre azul muy claro */
  .nav > a, .nav-drop-btn {
    padding: 16px 18px;
    background: var(--black);
    color: #fff;
    border: 0;
    border-left: 4px solid var(--orange);
    border-radius: 4px;
    width: 100%;
    justify-content: space-between;
    opacity: 1;
  }
  .nav .nav-active { color: var(--orange); }
  .nav-drop { width: 100%; }
  .nav > .nav-contact { display: inline-flex !important; background: var(--orange); color: var(--on-orange); border-left-color: var(--black); font-weight: 800; }
  .dropdown-menu {
    position: static;
    min-width: 0;
    background: var(--mist);
    border: 1px solid var(--edge-blue);
    border-top: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: none;
    padding: 6px 0 8px;
  }
  .dd-head { display: none; }
  .dropdown-menu a { font-size: 15px; padding: 12px; }
  .cap-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cap-intro { position: static; }
  .sol-layout { grid-template-columns: 1fr; }
  .rnd-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-box { grid-template-columns: 1fr; padding: 44px 36px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:first-child { border: 1px solid var(--line); border-top: 0; border-radius: 0; padding: 20px 22px 26px; }
  .flow li:first-child { border-top: 1px solid var(--line); border-radius: 8px 8px 0 0; }
  .flow li:last-child { border-radius: 0 0 8px 8px; }
  .flow li::after { right: auto; left: 32px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .est { grid-template-columns: 1fr; }
  .est-out { border-left: 0; border-top: 3px solid var(--orange); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --bar: 66px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 26px; height: 26px; border-width: 4.5px; }
  .brand-mark::after { width: 10px; height: 4.5px; right: -4.5px; top: 6px; }
  .nav-cta { display: none; }
  .hero { height: auto; min-height: 100vh; min-height: 100svh; max-height: none; padding-top: var(--bar); justify-content: space-between; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 8, 11, 0.55) 0%, rgba(5, 8, 11, 0.8) 55%, #05080b 100%);
  }
  .hero-content { padding: 48px 6% 32px; }
  h1 { letter-spacing: -1.2px; }
  .lead { font-size: 16.5px; }
  .actions { gap: 12px; }
  .actions .primary, .actions .secondary-btn { width: 100%; justify-content: center; }
  .hero-bottom { position: relative; bottom: auto; left: auto; right: auto; margin: 0 6% 24px; flex-wrap: wrap; align-items: flex-start; gap: 16px 0; }
  .metric { padding: 0 12px; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .metric strong { font-size: 22px; }
  .metric span { font-size: 11px; letter-spacing: 0.8px; }
  .scroll { display: none; }
  :root { --gut: 6vw; }
  .section-pad { padding: 64px 6%; }
  .win-intro { padding: 40px var(--gut) 48px; }
  .win-intro .lead { font-size: 17px; }
  .win-sec { padding: 52px var(--gut); }
  .band { font-size: 11px; letter-spacing: 1.2px; padding-top: 8px; padding-bottom: 8px; }
  .win-mail { padding: 26px 20px; }
  .ind-card > a { margin: -28px -24px; }
  footer { padding: 44px 6% 24px; }
  .section-header { margin-bottom: 32px; }
  .stat-grid { grid-template-columns: 1fr; }
  .flow-wrap, .est { margin-top: 48px; }
  .est-in, .est-out { padding: 28px 22px; }
  .cap-grid, .ind-grid, .spec-list, .method-grid { grid-template-columns: 1fr; }
  .sol-panel { padding: 26px 22px; }
  .sol-panel h3 { font-size: 23px; }
  .sol-tab { padding: 16px 18px; }
  .sol-tab-text { display: none; }
  .about-box { padding: 32px 22px; }
  .about-stats { gap: 12px; }
  .stat-box { padding: 16px; }
  .stat-box dd { font-size: 19px; }
  .rnd-item { flex-direction: column; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, #space, .hero-bottom, .menu { display: none; }
  body, .hero, .capabilities, .solutions, .industries, .case, .innovation, .about, .contact, footer { background: #fff; color: #000; }
  .hero { height: auto; min-height: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
