:root {
  color-scheme: dark;
  --bg: #070b10;
  --bg-soft: #0b1118;
  --surface: #101820;
  --surface-2: #131e28;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f3f7fa;
  --muted: #91a0ac;
  --orange: #ff512f;
  --orange-2: #ff7a2f;
  --cyan: #27d3ff;
  --green: #47e6a6;
  --shell: min(1180px, calc(100% - 48px));
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 85%); z-index: -1; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 6px; z-index: 100; transition: top .2s; }
.skip-link:focus { top: 16px; }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-space { padding-block: 132px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(7,11,16,.86); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-wrap { width: var(--shell); height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, var(--orange), var(--orange-2)); clip-path: polygon(0 0,100% 0,100% 76%,76% 100%,0 100%); box-shadow: 0 0 30px rgba(255,81,47,.25); }
.brand-mark span { font-size: 20px; font-weight: 800; line-height: 1; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: .06em; }
.brand-by { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-family: var(--font-body); font-size: 12px; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 32px; color: #c7d0d7; font-size: 14px; font-weight: 600; }
.site-nav a { transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .nav-cta { padding: 10px 18px; border: 1px solid rgba(255,81,47,.52); color: #fff; background: rgba(255,81,47,.08); }
.menu-button { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 4px 0; }

.hero { min-height: 860px; padding-top: 164px; padding-bottom: 96px; display: grid; align-items: center; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(39,211,255,.12), transparent 64%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c8d2d8; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 700; }
.eyebrow span { width: 22px; height: 2px; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { margin: 25px 0 28px; font-family: var(--font-display); font-size: clamp(56px, 6.2vw, 88px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.65); }
.hero-lead { max-width: 600px; margin: 0; color: #a7b3bc; font-size: 19px; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 14px 40px rgba(255,81,47,.2); }
.button-primary:hover { background: linear-gradient(135deg, #ff6548, #ff8b44); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.02); color: #d6dde2; }
.button-ghost:hover { border-color: rgba(255,255,255,.3); }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 44px; color: #74828d; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hero-proof i { width: 3px; height: 3px; border-radius: 50%; background: #43515c; }

.console-wrap { position: relative; min-height: 540px; display: grid; place-items: center; }
.console-window { width: 100%; max-width: 640px; position: relative; z-index: 2; background: rgba(13,20,27,.92); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(0,0,0,.48), 0 0 0 1px rgba(39,211,255,.03) inset; transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg); }
.console-topbar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); color: #85939e; font-size: 10px; letter-spacing: .12em; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 6px; height: 6px; border-radius: 50%; background: #3a4650; }
.console-topbar strong { color: #b7c2ca; font-weight: 600; }
.live-state { display: flex; align-items: center; gap: 6px; color: var(--green); }
.live-state span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.console-body { display: grid; grid-template-columns: 58px 1fr; min-height: 388px; }
.console-sidebar { padding: 16px 13px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.console-sidebar > span { width: 20px; height: 5px; background: #29343d; border-radius: 6px; }
.console-sidebar .side-active { background: var(--orange); box-shadow: 0 0 14px rgba(255,81,47,.5); }
.mini-brand { width: 28px; height: 28px; margin-bottom: 8px; display: grid; place-items: center; background: var(--orange); font: 700 15px var(--font-display); }
.console-main { padding: 23px; }
.console-heading { display: flex; justify-content: space-between; align-items: end; }
.console-heading small { display: block; color: var(--orange); font-size: 8px; letter-spacing: .18em; }
.console-heading strong { display: block; margin-top: 3px; font: 600 20px var(--font-display); }
.console-heading time { color: #8c9aa5; font: 500 12px var(--font-display); }
.status-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 20px 0 10px; }
.status-grid article { padding: 13px; border: 1px solid var(--line); background: #0b1218; }
.status-grid small { display: block; color: #64727e; font-size: 7px; letter-spacing: .14em; }
.status-grid b { display: block; font: 600 24px var(--font-display); }
.status-grid span { color: #74838f; font-size: 8px; }
.status-grid .status-ok { color: var(--green); }
.dispatch-card { padding: 15px; border: 1px solid rgba(39,211,255,.15); background: linear-gradient(145deg, rgba(39,211,255,.04), rgba(255,255,255,.018)); }
.dispatch-head { display: flex; justify-content: space-between; color: #9eacb6; font-size: 8px; letter-spacing: .14em; }
.dispatch-head small { color: var(--green); }
.dispatch-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 9px; color: #9aa8b2; }
.dispatch-row b { font-size: 11px; color: #fff; }
.dispatch-row i { color: var(--green); font-style: normal; font-size: 7px; }
.dispatch-card button { width: 100%; height: 34px; margin-top: 14px; border: 0; color: #fff; background: var(--orange); font: 700 8px var(--font-body); letter-spacing: .15em; display: flex; align-items: center; justify-content: center; gap: 16px; }
.floating-chip { position: absolute; z-index: 4; border: 1px solid rgba(255,255,255,.13); background: rgba(10,16,22,.9); backdrop-filter: blur(12px); box-shadow: 0 18px 38px rgba(0,0,0,.35); }
.chip-radio { left: -22px; bottom: 41px; min-width: 150px; padding: 13px 16px; border-left: 2px solid var(--cyan); }
.chip-radio b, .chip-radio span { display: block; }
.chip-radio b { font-size: 9px; letter-spacing: .12em; }
.chip-radio span { color: var(--green); font-size: 8px; }
.chip-event { top: 38px; right: -14px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; font-size: 8px; letter-spacing: .11em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,81,47,.12); }
.signal-orbit { position: absolute; border: 1px solid rgba(39,211,255,.1); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 660px; height: 660px; border-color: rgba(255,81,47,.08); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0a0f15; }
.ticker div { width: max-content; display: flex; align-items: center; gap: 34px; padding: 18px 0; color: #a0adb7; font: 600 12px var(--font-display); letter-spacing: .16em; animation: ticker 28s linear infinite; }
.ticker div::after { content: "SISTEMAS DE DESPACHO   ◆   COMUNICACIONES CRÍTICAS   ◆   INTEGRACIÓN RADIO IP   ◆   CONTROL OPERATIVO"; white-space: pre; }
.ticker i { color: var(--orange); font-style: normal; font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.section-number { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.section-intro h2, .cap-copy h2, .firelink-copy h2, .closing-card h2 { margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
.section-intro p { max-width: 490px; margin: 0; color: #9aa7b1; font-size: 17px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-height: 480px; position: relative; padding: 34px 30px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); display: flex; flex-direction: column; transition: background .25s, transform .25s; }
.product-card:hover { background: rgba(255,255,255,.03); transform: translateY(-5px); }
.product-featured { background: linear-gradient(160deg, rgba(255,81,47,.11), rgba(255,255,255,.01) 55%); }
.card-index { position: absolute; right: 24px; top: 18px; color: #46535d; font: 500 12px var(--font-display); }
.product-icon { width: 52px; height: 52px; margin-bottom: 58px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); }
.icon-dispatch span { position: absolute; left: 12px; height: 2px; background: var(--orange); }
.icon-dispatch span:nth-child(1) { top: 14px; width: 26px; }
.icon-dispatch span:nth-child(2) { top: 24px; width: 18px; }
.icon-dispatch span:nth-child(3) { top: 34px; width: 22px; }
.icon-tone span { position: absolute; border: 1px solid var(--cyan); border-radius: 50%; }
.icon-tone span:nth-child(1) { width: 8px; height: 8px; }
.icon-tone span:nth-child(2) { width: 22px; height: 22px; opacity: .65; }
.icon-tone span:nth-child(3) { width: 36px; height: 36px; opacity: .3; }
.icon-link span { position: absolute; width: 18px; height: 18px; border: 2px solid var(--orange); transform: rotate(45deg); }
.icon-link span:first-child { left: 10px; }
.icon-link span:last-child { right: 10px; border-color: var(--cyan); }
.product-kicker { color: #667580; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.product-card h3 { margin: 7px 0 12px; font: 600 27px var(--font-display); letter-spacing: -.025em; }
.product-card p { margin: 0; color: #93a1ab; font-size: 14px; line-height: 1.65; }
.product-card ul { list-style: none; padding: 22px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.product-card li { color: #b1bcc4; font-size: 12px; padding: 5px 0; }
.product-card li::before { content: "+"; margin-right: 9px; color: var(--orange); }

.capabilities { position: relative; background: #0a1016; border-block: 1px solid var(--line); }
.capabilities::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 55%, rgba(39,211,255,.06), transparent 32%); pointer-events: none; }
.capabilities-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.cap-copy { position: sticky; top: 130px; align-self: start; }
.cap-copy h2 { font-size: clamp(40px, 4.3vw, 60px); }
.cap-copy > p { max-width: 480px; color: #97a5af; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tech-stack span { padding: 8px 11px; border: 1px solid var(--line); color: #8d9aa4; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.cap-list { border-top: 1px solid var(--line); }
.cap-list article { display: grid; grid-template-columns: 66px 1fr; gap: 16px; padding: 31px 10px; border-bottom: 1px solid var(--line); }
.cap-list article > span { color: var(--orange); font: 600 12px var(--font-display); }
.cap-list h3 { margin: 0 0 7px; font: 600 22px var(--font-display); }
.cap-list p { margin: 0; color: #8d9aa4; font-size: 14px; }

.firelink-panel { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 520px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,81,47,.08), transparent 38%), #0c1218; }
.firelink-brand { min-height: 100%; padding: 52px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.fl-symbol { width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(255,81,47,.55); color: var(--orange); font: 700 36px var(--font-display); letter-spacing: -.08em; box-shadow: inset 0 0 40px rgba(255,81,47,.07), 0 0 40px rgba(255,81,47,.06); }
.firelink-brand div span { display: block; color: #596773; font-size: 9px; letter-spacing: .16em; }
.firelink-brand div strong { font: 700 27px var(--font-display); letter-spacing: .08em; }
.firelink-copy { padding: 68px; }
.firelink-copy h2 { font-size: clamp(42px, 4vw, 58px); }
.firelink-copy > p { max-width: 670px; color: #9aa7b1; font-size: 16px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-list span { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #c1cbd2; font-size: 12px; }
.service-list span::before { content: "•"; color: var(--cyan); margin-right: 9px; }

.closing { padding-bottom: 132px; }
.closing-card { position: relative; overflow: hidden; padding: 82px; text-align: center; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,81,47,.11), rgba(39,211,255,.05)); }
.closing-card::before, .closing-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); }
.closing-card::before { left: -95px; top: -95px; }
.closing-card::after { right: -95px; bottom: -95px; }
.closing-card h2 { margin-bottom: 18px; }
.closing-card p { max-width: 600px; margin: 0 auto 30px; color: #9eabb4; }

.site-footer { border-top: 1px solid var(--line); background: #06090d; }
.footer-inner { min-height: 170px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.footer-inner p { color: #71808b; font-size: 12px; text-align: center; }
.footer-inner > div:last-child { display: flex; flex-direction: column; gap: 3px; color: #65737e; font-size: 11px; text-align: right; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .console-wrap { max-width: 760px; width: 100%; margin: 20px auto 0; }
  .hero { padding-top: 150px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; min-height: 390px; }
  .capabilities-grid { gap: 55px; }
  .firelink-panel { grid-template-columns: .55fr 1.45fr; }
  .firelink-brand, .firelink-copy { padding: 42px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 640px); }
  .section-space { padding-block: 90px; }
  .nav-wrap { height: 72px; }
  .brand-by { display: none; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; padding: 22px 16px 28px; background: rgba(7,11,16,.97); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 2px; transform: translateY(-140%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav a { padding: 13px 8px; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 72px; }
  .hero-grid { gap: 54px; }
  .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { gap: 8px; }
  .console-wrap { min-height: 390px; }
  .console-window { transform: none; }
  .console-main { padding: 14px; }
  .console-body { grid-template-columns: 42px 1fr; min-height: 330px; }
  .console-sidebar { padding: 12px 7px; }
  .console-heading strong { font-size: 16px; }
  .status-grid article { padding: 8px; }
  .status-grid b { font-size: 19px; }
  .status-grid span { display: none; }
  .dispatch-row { grid-template-columns: 28px 1fr; }
  .dispatch-row i { display: none; }
  .floating-chip, .signal-orbit { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-intro h2, .cap-copy h2, .firelink-copy h2, .closing-card h2 { font-size: 42px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:last-child { grid-column: auto; min-height: 430px; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 55px; }
  .cap-copy { position: static; }
  .firelink-panel { grid-template-columns: 1fr; }
  .firelink-brand { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .firelink-copy { padding: 40px 28px; }
  .service-list { grid-template-columns: 1fr; }
  .closing-card { padding: 62px 24px; }
  .footer-inner { padding-block: 44px; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-inner p, .footer-inner > div:last-child { text-align: center; margin: 0; }
}

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