/*
Theme Name: Belatec Future
Theme URI: https://belatec.pe/
Author: Belatec
Description: Tema corporativo futurista para consultoría TI, ERP, IA y soluciones cloud.
Version: 1.0.0
Text Domain: belatec-future
*/

:root {
  --ink: #f4f7fb;
  --ink-soft: #edf3f9;
  --panel: rgba(255, 255, 255, .84);
  --panel-solid: #ffffff;
  --line: rgba(35, 67, 108, .13);
  --line-strong: rgba(226, 128, 13, .34);
  --text: #0a3159;
  --muted: #586a7d;
  --cyan: #e5840b;
  --blue: #0b477b;
  --violet: #426b91;
  --green: #e98c13;
  --radius: 24px;
  --radius-sm: 15px;
  --shadow: 0 24px 64px rgba(36, 61, 96, .14);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(244, 153, 33, .13), transparent 31%),
    radial-gradient(circle at 92% 16%, rgba(13, 72, 122, .1), transparent 29%),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(75, 112, 158, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 158, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-tight { padding: 66px 0; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 12px 18px; border-radius: 10px; color: var(--ink); background: var(--cyan);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(35, 67, 108, .12);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 800; letter-spacing: .19em; }
.brand--logo { flex: 0 0 auto; letter-spacing: 0; }
.brand-logo--header { display: block; width: 190px; height: 48px; overflow: hidden; }
.brand-logo--header img { width: 190px; max-width: none; height: auto; mix-blend-mode: multiply; }
.footer-logo { display: block; width: min(360px, 100%); }
.footer-logo img { width: 100%; height: auto; mix-blend-mode: multiply; }
.brand-mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet));
  box-shadow: 0 0 32px rgba(86, 182, 255, .35);
}
.brand-mark::before {
  content: "B"; position: absolute; inset: 2px; display: grid; place-items: center;
  border-radius: 10px; color: #16304d; background: #f8fbff; font-size: 1rem; letter-spacing: 0;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #3f5067; font-size: .91rem; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus { color: var(--cyan); }
.header-cta { padding: 10px 17px; border: 1px solid var(--line-strong); border-radius: 999px; color: #985300 !important; background: rgba(238, 144, 23, .1); }
.mobile-menu { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  color: #9a5906; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.gradient-text { color: transparent; background: linear-gradient(90deg, #ec8c0d, #f3a52d 34%, #174f80 70%, #062f5b); -webkit-background-clip: text; background-clip: text; }
.hero { min-height: 880px; padding: 160px 0 90px; display: flex; align-items: center; }
.hero::after {
  content: ""; position: absolute; right: -13%; top: 6%; width: 680px; height: 680px;
  border-radius: 50%; background: radial-gradient(circle, rgba(77, 121, 255, .16), transparent 67%); filter: blur(20px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.hero h1 { margin: 0; max-width: 770px; font-size: clamp(3.05rem, 6vw, 6.6rem); line-height: .98; letter-spacing: -.06em; }
.hero-copy > p { max-width: 690px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border-radius: 13px; font-weight: 800; font-size: .92rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #082e53; background: linear-gradient(110deg, #f5a227, #ffc463); box-shadow: 0 16px 38px rgba(225, 131, 16, .22); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.78); color: var(--text); }
.button-secondary:hover { border-color: var(--line-strong); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; color: #53647a; font-size: .82rem; font-weight: 650; }
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-visual--native { min-height: 620px; }
.hero-ecosystem {
  position: relative;
  width: min(100%, 570px);
  aspect-ratio: 1;
  isolation: isolate;
}
.hero-ecosystem::before {
  content: "";
  position: absolute;
  inset: 13%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 79, .2), rgba(91, 170, 222, .11) 42%, transparent 70%);
  filter: blur(18px);
}
.ecosystem-orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ecosystem-orbit--outer {
  width: 73%;
  aspect-ratio: 1;
  border: 1px solid rgba(26, 102, 163, .22);
  box-shadow: 0 0 0 30px rgba(255,255,255,.16), 0 0 0 31px rgba(229,132,11,.1);
}
.ecosystem-orbit--outer::before,
.ecosystem-orbit--outer::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 3px solid #f8fbff;
  border-radius: 50%;
  background: #e98c13;
  box-shadow: 0 0 16px rgba(229,132,11,.55);
}
.ecosystem-orbit--outer::before { left: 13%; top: 12%; }
.ecosystem-orbit--outer::after { right: 8%; bottom: 20%; background: #1b75b8; box-shadow: 0 0 16px rgba(27,117,184,.45); }
.ecosystem-orbit--inner {
  width: 49%;
  aspect-ratio: 1;
  border: 1px dashed rgba(20, 86, 142, .25);
  animation: ecosystemOrbitSpin 28s linear infinite;
}
.ecosystem-connections {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ecosystem-connections__lines { fill: none; stroke: url(#ecosystem-line); stroke-width: .28; stroke-dasharray: 1.2 1.7; animation: ecosystemFlow 7s linear infinite; }
.ecosystem-connections__points { fill: #f2a02d; stroke: rgba(255,255,255,.94); stroke-width: .65; }
.ecosystem-connections__points circle { transform-box: fill-box; transform-origin: center; animation: ecosystemPulse 3.6s ease-in-out infinite; }
.ecosystem-connections__points circle:nth-child(2n) { animation-delay: -1.8s; }
.ecosystem-connections__points circle:nth-child(3n) { animation-delay: -.9s; }
.ecosystem-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  padding: 20px;
  border: 5px solid rgba(255,255,255,.64);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 34% 28%, #ffc35d, #ed941c 34%, #246a9d 69%, #073663 100%);
  box-shadow: 0 24px 48px rgba(20,72,114,.25), 0 0 54px rgba(238,151,29,.18);
  animation: ecosystemCoreGlow 5.5s ease-in-out infinite;
}
.ecosystem-core__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #113d66;
  background: rgba(255,255,255,.88);
  font-size: 1.25rem;
  font-weight: 950;
}
.ecosystem-core strong { font-size: .88rem; letter-spacing: .16em; }
.ecosystem-core small { max-width: 132px; margin-top: 2px; padding: 4px 7px; border-radius: 999px; background: rgba(4,42,78,.2); font-size: .57rem; font-weight: 750; line-height: 1.35; opacity: .96; }
.ecosystem-core small b { color: #ffd289; }
.ecosystem-node {
  position: absolute;
  width: 148px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(32, 80, 125, .16);
  border-radius: 16px;
  color: #163b60;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(42,69,101,.11);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}
.ecosystem-node::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(229,132,11,.55), rgba(11,71,123,.42), transparent);
}
.ecosystem-node__icon {
  flex: 0 0 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229,132,11,.24);
  border-radius: 10px;
  color: #c56e02;
  background: rgba(255,245,228,.86);
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.ecosystem-node > span:last-child { min-width: 0; }
.ecosystem-node strong { display: block; font-size: .73rem; line-height: 1.16; letter-spacing: -.01em; }
.ecosystem-node small { display: block; margin-top: 4px; color: #617287; font-size: .6rem; line-height: 1.28; }
.ecosystem-node--ai { left: 50%; top: 6%; }
.ecosystem-node--cloud { left: 80%; top: 20%; }
.ecosystem-node--erp { left: 88%; top: 50%; }
.ecosystem-node--observe { left: 80%; top: 80%; }
.ecosystem-node--automation { left: 50%; top: 94%; }
.ecosystem-node--api { left: 20%; top: 80%; }
.ecosystem-node--data { left: 12%; top: 50%; }
.ecosystem-node--zero { left: 20%; top: 20%; }
.orbit-shell {
  position: relative; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(129, 169, 255, .21);
  background: radial-gradient(circle at 50% 50%, rgba(33, 54, 122, .42), rgba(8, 12, 31, .62) 48%, transparent 70%);
  box-shadow: inset 0 0 80px rgba(78, 122, 255, .08), 0 0 80px rgba(38, 98, 255, .08);
}
.orbit-shell::before, .orbit-shell::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(125, 231, 255, .18); border-radius: 50%; animation: orbitSpin 24s linear infinite; }
.orbit-shell::after { inset: 25%; border-style: dashed; animation-direction: reverse; animation-duration: 17s; }
.orbit-core {
  position: absolute; inset: 34%; z-index: 2; display: grid; place-items: center; border-radius: 50%;
  color: white; font-weight: 900; letter-spacing: .14em; font-size: .8rem;
  background: radial-gradient(circle at 35% 30%, #8feaff, #5a6eff 55%, #5b2fae);
  box-shadow: 0 0 70px rgba(95, 160, 255, .42);
}
.orbit-node { position: absolute; z-index: 3; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; color: #dff8ff; background: rgba(9, 15, 37, .85); box-shadow: var(--shadow); font-size: .77rem; font-weight: 750; backdrop-filter: blur(10px); }
.node-1 { top: 5%; left: 38%; }
.node-2 { right: -5%; top: 35%; }
.node-3 { right: 6%; bottom: 12%; }
.node-4 { left: -5%; bottom: 24%; }
.node-5 { left: 4%; top: 20%; }
.signal-card {
  position: absolute; z-index: 4; right: -26px; bottom: 8px; width: 230px; padding: 18px;
  border: 1px solid var(--line); border-radius: 17px; background: rgba(9, 14, 34, .92); box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.signal-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; font-weight: 800; }
.signal-card strong { display: block; margin: 6px 0 12px; font-size: .95rem; }
.signal-bar { display: flex; align-items: end; gap: 5px; height: 38px; }
.signal-bar i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, var(--blue), var(--cyan)); opacity: .8; animation: signal 2.6s ease-in-out infinite; }
.signal-bar i:nth-child(1) { height: 36%; }.signal-bar i:nth-child(2) { height: 62%; }.signal-bar i:nth-child(3) { height: 48%; }.signal-bar i:nth-child(4) { height: 88%; }.signal-bar i:nth-child(5) { height: 72%; }.signal-bar i:nth-child(6) { height: 100%; }

.tech-rail { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); overflow: hidden; }
.tech-list { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-width: max-content; padding: 21px 0; color: #aeb8d2; font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tech-list span { display: inline-flex; align-items: center; gap: 12px; }
.tech-list span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.section-head h2, .feature-copy h2, .cta-panel h2 { margin: 0; font-size: clamp(2.25rem, 4.8vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; }
.section-head > p { margin: 0 0 7px; color: var(--muted); font-size: 1.05rem; }
.section-visual {
  position: relative; min-height: 320px; margin: 0 0 42px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 28px; background: #070c1d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.04);
}
.section-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 9, 24, .84) 100%);
}
.section-visual img, .section-visual svg {
  display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover;
  filter: saturate(.94) contrast(1.03); transition: transform .65s ease, filter .65s ease;
}
.section-visual:hover img, .section-visual:hover svg { transform: scale(1.018); filter: saturate(1.06) contrast(1.04); }
.section-visual figcaption {
  position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 22px;
  color: #e9f6ff; font-size: .78rem; font-weight: 750; letter-spacing: .045em;
}
.section-visual--wide { aspect-ratio: 16 / 7; }
.section-visual--full { grid-column: 1 / -1; aspect-ratio: 16 / 6.4; margin: 16px 0 0; }
.section-visual--panoramic img, .section-visual--panoramic svg { object-position: center; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 315px; padding: 28px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18, 27, 58, .78), rgba(8, 12, 29, .88));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .18), transparent 70%); }
.service-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(145deg, rgba(22, 34, 73, .9), rgba(8, 12, 29, .9)); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--cyan); background: rgba(69, 154, 255, .08); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.service-card h3 { margin: 28px 0 12px; font-size: 1.24rem; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.service-card ul { margin: 18px 0 0; padding: 0; list-style: none; color: #c9d2e7; font-size: .82rem; }
.service-card li { margin-top: 7px; }
.service-card li::before { content: "→"; margin-right: 8px; color: var(--cyan); }

.feature-section { overflow: hidden; }
.feature-section::before { content: ""; position: absolute; inset: 12% -20% auto 45%; height: 500px; background: radial-gradient(circle, rgba(75, 81, 255, .16), transparent 65%); pointer-events: none; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.feature-copy > p { max-width: 620px; margin: 26px 0; color: var(--muted); font-size: 1.06rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.pill { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #c8d3ec; background: rgba(255,255,255,.025); font-size: .78rem; font-weight: 720; }
.ai-stack { position: relative; min-height: 510px; }
.stack-panel { position: absolute; left: 8%; right: 2%; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(10, 15, 38, .88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.stack-panel:nth-child(1) { top: 0; transform: rotate(2deg); opacity: .56; }
.stack-panel:nth-child(2) { top: 70px; left: 3%; right: 7%; transform: rotate(-2deg); opacity: .76; }
.stack-panel:nth-child(3) { top: 145px; left: 0; right: 3%; }
.stack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.stack-top strong { font-size: .94rem; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #bafbe2; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.agent-flow { display: grid; gap: 10px; }
.flow-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(151,176,255,.1); border-radius: 13px; background: rgba(255,255,255,.025); }
.flow-index { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--cyan); background: rgba(94, 199, 255, .09); font-size: .72rem; font-weight: 900; }
.flow-row strong { display: block; font-size: .82rem; }.flow-row small { display: block; color: var(--muted); font-size: .68rem; }.flow-tag { color: #b7c1db; font-size: .66rem; font-weight: 750; }

.erp-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: stretch; }
.erp-main, .cloud-main { padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(150deg, rgba(19, 28, 59, .78), rgba(8, 12, 30, .88)); }
.erp-main h2, .cloud-main h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.erp-main > p, .cloud-main > p { color: var(--muted); }
.erp-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module-card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.module-card span { color: var(--cyan); font-size: .69rem; font-weight: 900; letter-spacing: .14em; }
.module-card h3 { margin: 10px 0 8px; font-size: 1rem; }.module-card p { margin: 0; color: var(--muted); font-size: .82rem; }

.cloud-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.cloud-main { min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; }
.cloud-layout--platform { grid-template-columns: 1fr; }
.cloud-main--platform { min-height: 0; gap: 30px; }
.cloud-map { position: relative; height: 220px; margin-top: 35px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: radial-gradient(circle at center, rgba(65, 117, 255, .12), transparent 60%); }
.cloud-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(138, 207, 255, .62) 1px, transparent 1px); background-size: 20px 20px; opacity: .2; }
.cloud-node { position: absolute; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #0d1430; font-size: .68rem; font-weight: 850; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.cloud-node:nth-child(1) { top: 22%; left: 9%; }.cloud-node:nth-child(2) { top: 54%; left: 39%; }.cloud-node:nth-child(3) { top: 18%; right: 10%; }.cloud-node:nth-child(4) { bottom: 10%; right: 12%; }
.cloud-platform-visual { margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #fff; box-shadow: 0 18px 42px rgba(30, 62, 99, .1); }
.cloud-platform-visual img { display: block; width: 100%; height: auto; }
.cloud-side { display: grid; gap: 18px; }
.cloud-side--platform { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cloud-card { padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13, 19, 43, .76); }
.cloud-card strong { display: block; margin-bottom: 7px; }.cloud-card p { margin: 0; color: var(--muted); font-size: .84rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.principle { min-height: 210px; padding: 30px; background: rgba(255,255,255,.018); }
.principle + .principle { border-left: 1px solid var(--line); }
.principle strong { display: block; margin-bottom: 14px; font-size: 1.12rem; }.principle p { margin: 0; color: var(--muted); font-size: .88rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: process; }
.process-step { counter-increment: process; min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.018); }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 65px; color: var(--cyan); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.process-step h3 { margin: 0 0 10px; font-size: 1.15rem; }.process-step p { margin: 0; color: var(--muted); font-size: .85rem; }

.cta-panel { position: relative; padding: 70px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 34px; background: linear-gradient(130deg, rgba(19, 47, 91, .84), rgba(43, 25, 93, .78)); box-shadow: var(--shadow); }
.cta-panel::before { content: ""; position: absolute; width: 500px; height: 500px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(97, 228, 255, .25), transparent 66%); }
.cta-panel h2 { max-width: 820px; position: relative; }.cta-panel p { position: relative; max-width: 720px; margin: 22px 0 30px; color: #cbd7ef; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }

.site-footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: #040611; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-brand p { max-width: 420px; color: var(--muted); font-size: .88rem; }.footer-title { margin: 0 0 18px; color: #dce4f8; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-links { display: grid; gap: 10px; color: var(--muted); font-size: .86rem; }.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line); color: #78839f; font-size: .76rem; }

/* Asistente comercial de WhatsApp */
body.whatsapp-agent-open { overflow: hidden; }
.whatsapp-agent { position: fixed; z-index: 99990; right: 24px; bottom: 24px; }
.whatsapp-agent__launcher {
  min-height: 58px; display: inline-flex; align-items: center; gap: 11px; padding: 0 19px;
  border: 1px solid rgba(160,255,218,.42); border-radius: 999px; color: #04120d; background: linear-gradient(135deg, #63f5bd, #30d982);
  box-shadow: 0 18px 50px rgba(22,203,125,.32); cursor: pointer; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-agent__launcher:hover { transform: translateY(-3px); box-shadow: 0 23px 56px rgba(22,203,125,.42); }
.whatsapp-agent__launcher:focus-visible, .whatsapp-agent__close:focus-visible, .whatsapp-agent__submit:focus-visible { outline: 3px solid #8feaff; outline-offset: 3px; }
.whatsapp-agent__launcher svg, .whatsapp-agent__submit svg { width: 25px; height: 25px; fill: currentColor; }
.whatsapp-agent__pulse { position: absolute; width: 10px; height: 10px; top: 1px; right: 8px; border-radius: 50%; background: #a4ffda; box-shadow: 0 0 0 0 rgba(99,245,189,.7); animation: whatsappPulse 2s infinite; }
.whatsapp-agent__backdrop { position: fixed; z-index: -1; inset: 0; background: rgba(1,4,14,.68); backdrop-filter: blur(5px); }
.whatsapp-agent__dialog {
  position: absolute; right: 0; bottom: 74px; width: min(440px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 110px)); overflow: auto;
  border: 1px solid rgba(120,184,255,.28); border-radius: 26px; color: #f5f8ff; background: linear-gradient(155deg, rgba(12,21,48,.99), rgba(5,9,25,.995));
  box-shadow: 0 30px 90px rgba(0,0,0,.58); scrollbar-width: thin; scrollbar-color: rgba(96,206,255,.45) transparent;
}
.whatsapp-agent__header { position: relative; padding: 27px 55px 21px 26px; border-bottom: 1px solid rgba(136,166,231,.14); background: radial-gradient(circle at 20% 0, rgba(45,216,142,.17), transparent 54%); }
.whatsapp-agent__header h2 { margin: 9px 0 8px; font-size: 1.55rem; letter-spacing: -.03em; }
.whatsapp-agent__header p { margin: 0; color: #b6c4de; font-size: .88rem; line-height: 1.55; }
.whatsapp-agent__status { display: inline-flex; align-items: center; gap: 8px; color: #a8f5d3; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.whatsapp-agent__status i { width: 7px; height: 7px; border-radius: 50%; background: #5df0ad; box-shadow: 0 0 12px #5df0ad; }
.whatsapp-agent__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 11px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; font-size: 1.55rem; line-height: 1; }
.whatsapp-agent__form { display: grid; gap: 16px; padding: 23px 26px 26px; }
.whatsapp-agent__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.whatsapp-agent__form label { display: grid; gap: 7px; color: #dbe5f8; font-size: .78rem; font-weight: 720; }
.whatsapp-agent__form label > span[aria-hidden="true"] { display: inline; color: #67f1bd; margin-left: 3px; }
.whatsapp-agent__form input, .whatsapp-agent__form select, .whatsapp-agent__form textarea {
  width: 100%; border: 1px solid rgba(135,166,224,.2); border-radius: 12px; color: #f7faff; background: rgba(255,255,255,.045); padding: 11px 12px; outline: none;
}
.whatsapp-agent__form select { color-scheme: dark; }
.whatsapp-agent__form textarea { resize: vertical; min-height: 92px; }
.whatsapp-agent__form input:focus, .whatsapp-agent__form select:focus, .whatsapp-agent__form textarea:focus { border-color: #60dfff; box-shadow: 0 0 0 3px rgba(96,223,255,.12); }
.whatsapp-agent__form [aria-invalid="true"] { border-color: #ff7f96; box-shadow: 0 0 0 3px rgba(255,87,118,.1); }
.whatsapp-agent__consent { grid-template-columns: 19px 1fr !important; gap: 9px !important; align-items: start; color: #aebbd5 !important; font-weight: 550 !important; line-height: 1.45; }
.whatsapp-agent__consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #43e4a2; }
.whatsapp-agent__error { margin: -4px 0 0; padding: 10px 12px; border: 1px solid rgba(255,93,122,.28); border-radius: 10px; color: #ffd3dc; background: rgba(255,71,105,.08); font-size: .78rem; }
.whatsapp-agent__submit { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; color: #04120d; background: linear-gradient(135deg, #63f5bd, #30d982); cursor: pointer; font-weight: 850; }
.whatsapp-agent__privacy { margin: -5px 0 0; color: #8290ab; font-size: .69rem; line-height: 1.45; text-align: center; }

@keyframes whatsappPulse { 0% { box-shadow: 0 0 0 0 rgba(99,245,189,.65); } 70% { box-shadow: 0 0 0 10px rgba(99,245,189,0); } 100% { box-shadow: 0 0 0 0 rgba(99,245,189,0); } }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes signal { 0%,100% { opacity: .55; } 50% { opacity: 1; filter: brightness(1.25); } }
@keyframes ecosystemOrbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ecosystemFlow { to { stroke-dashoffset: -5.8; } }
@keyframes ecosystemPulse {
  0%, 100% { opacity: .62; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.22); }
}
@keyframes ecosystemCoreGlow {
  0%, 100% { box-shadow: 0 24px 48px rgba(20,72,114,.25), 0 0 46px rgba(238,151,29,.14); }
  50% { box-shadow: 0 27px 54px rgba(20,72,114,.28), 0 0 64px rgba(238,151,29,.24); }
}

@media (min-width: 681px) {
  .whatsapp-agent__launcher { gap: 0; padding-inline: 16px; transition: gap .24s ease, transform .2s ease, box-shadow .2s ease; }
  .whatsapp-agent__launcher > span:last-child { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .28s ease, opacity .2s ease; }
  .whatsapp-agent__launcher:hover, .whatsapp-agent__launcher:focus-visible { gap: 11px; }
  .whatsapp-agent__launcher:hover > span:last-child, .whatsapp-agent__launcher:focus-visible > span:last-child { max-width: 180px; opacity: 1; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 750; }
  .mobile-menu nav { position: absolute; right: 0; top: 50px; width: 245px; padding: 15px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 15px; background: #0a0e21; box-shadow: var(--shadow); }
  .mobile-menu nav a { padding: 8px 10px; color: #c8d1e8; }
  .hero-grid, .feature-grid, .erp-grid, .cloud-layout, .section-head { grid-template-columns: 1fr; }
  .cloud-side--platform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 135px; }.hero-grid { gap: 35px; }.hero-visual { min-height: 510px; }.hero-visual--native { min-height: 620px; }.orbit-shell { width: 460px; }
  .section-head { gap: 20px; }.services-grid { grid-template-columns: 1fr 1fr; }.erp-grid { gap: 18px; }.process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .section-visual, .section-visual img, .section-visual svg { min-height: 230px; }
  .section-visual--wide, .section-visual--full { aspect-ratio: 4 / 3; }
  .section-visual { margin-bottom: 28px; border-radius: 20px; }
  .section-visual--full { margin-top: 8px; }
  .section-visual figcaption { left: 18px; right: 18px; bottom: 16px; font-size: .7rem; }
  .header-inner { min-height: 68px; }.brand { font-size: .92rem; }
  .brand-logo--header { width: 148px; height: 38px; }
  .brand-logo--header img { width: 148px; }
  .hero { min-height: auto; padding: 120px 0 60px; }.hero h1 { font-size: clamp(2.65rem, 14vw, 4.5rem); }
  .hero-copy > p { font-size: 1rem; }.hero-actions .button { width: 100%; }
  .hero-visual { min-height: 390px; }.hero-visual--native { min-height: 0; }.hero-ecosystem { width: min(100%, 430px); }.ecosystem-core { width: 124px; height: 124px; padding: 14px; }.ecosystem-core__mark { width: 28px; height: 28px; font-size: 1rem; }.ecosystem-core strong { font-size: .67rem; }.ecosystem-core small { font-size: .48rem; }.ecosystem-node { width: 27%; min-height: 49px; gap: 5px; padding: 7px; border-radius: 11px; }.ecosystem-node__icon { flex-basis: 24px; height: 24px; border-radius: 8px; font-size: .46rem; }.ecosystem-node strong { font-size: .51rem; }.ecosystem-node small { display: none; }.orbit-shell { width: 340px; }.orbit-node { padding: 7px 9px; font-size: .62rem; }.signal-card { right: 0; width: 190px; }
  .services-grid, .erp-modules, .principles, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .cloud-side--platform { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .erp-main, .cloud-main { padding: 28px; }.cta-panel { padding: 38px 26px; }.cta-actions .button { width: 100%; }
  .footer-bottom { flex-direction: column; }.process-step::before { margin-bottom: 35px; }
  .whatsapp-agent { right: 14px; bottom: 14px; }
  .whatsapp-agent__launcher { width: 58px; padding: 0; justify-content: center; }
  .whatsapp-agent__launcher > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .whatsapp-agent__dialog { position: fixed; left: 14px; right: 14px; bottom: 84px; width: auto; max-height: calc(100vh - 106px); border-radius: 22px; }
  .whatsapp-agent__grid { grid-template-columns: 1fr; }
  .whatsapp-agent__header { padding: 24px 52px 19px 21px; }
  .whatsapp-agent__form { padding: 20px 21px 23px; }
}

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

/* Tema claro corporativo */
.hero::after { background: radial-gradient(circle, rgba(232, 139, 18, .14), transparent 67%); }
.orbit-shell {
  border-color: rgba(18, 76, 126, .22);
  background: radial-gradient(circle at 42% 38%, rgba(255, 226, 181, .92), rgba(226, 238, 248, .9) 55%, transparent 72%);
  box-shadow: inset 0 0 80px rgba(15, 72, 121, .09), 0 30px 80px rgba(14, 52, 89, .1);
}
.orbit-shell::before { border-color: rgba(229, 132, 11, .32); }
.orbit-shell::after { border-color: rgba(11, 71, 123, .24); }
.orbit-core {
  background: radial-gradient(circle at 35% 30%, #ffd17e, #e9901b 38%, #194f7e 70%, #062f5b);
  box-shadow: 0 0 70px rgba(229, 132, 11, .28), 0 18px 42px rgba(6, 47, 91, .2);
}
.orbit-node { color: #24445f; background: rgba(255, 255, 255, .9); }
.signal-card { background: rgba(255, 255, 255, .94); }
.signal-bar i { background: linear-gradient(to top, #0b477b, #f2a02d); }
.tech-rail { background: rgba(255, 255, 255, .54); }
.tech-list { color: #53647a; }
.tech-list span::before { background: #e5840b; box-shadow: 0 0 14px rgba(229, 132, 11, .56); }

.service-card,
.stack-panel,
.erp-main,
.cloud-main,
.cloud-card,
.module-card,
.principle,
.process-step {
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 48px rgba(41, 67, 101, .08);
}
.service-card { background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(244,249,254,.91)); }
.service-card:hover { border-color: var(--line-strong); background: linear-gradient(145deg, #fff, #edf7fc); }
.service-card ul { color: #52647a; }
.service-icon { color: #b86600; background: rgba(229, 132, 11, .1); }
.feature-section::before { background: radial-gradient(circle, rgba(229, 132, 11, .1), transparent 65%); }
.pill { color: #455a72; background: rgba(255, 255, 255, .7); }
.status { color: #985300; }
.flow-row { border-color: rgba(48, 87, 132, .1); background: rgba(238, 246, 253, .8); }
.flow-index { color: #a75b00; background: rgba(229, 132, 11, .11); }
.flow-tag { color: #52647a; }
.cloud-map { background: radial-gradient(circle at center, rgba(229, 132, 11, .11), rgba(228, 239, 248, .72) 62%); }
.cloud-node { color: #203851; background: #ffffff; box-shadow: 0 12px 30px rgba(41, 66, 100, .13); }

.cta-panel {
  border-color: rgba(219, 128, 17, .28);
  background: linear-gradient(130deg, rgba(255, 242, 219, .97), rgba(226, 238, 248, .95));
  box-shadow: 0 28px 70px rgba(49, 76, 110, .13);
}
.cta-panel::before { background: radial-gradient(circle, rgba(232, 139, 18, .2), transparent 66%); }
.cta-panel p { color: #4f6279; }
.site-footer { color: #273a52; border-top-color: var(--line); background: #edf2f6; }
.footer-title { color: #0a3159; }
.footer-bottom { color: #617087; }

.mobile-menu nav { background: #ffffff; }
.mobile-menu nav a { color: #344a63; }

.whatsapp-agent__backdrop { background: rgba(25, 43, 65, .38); }
.whatsapp-agent__dialog {
  border-color: rgba(58, 112, 163, .24);
  color: var(--text);
  background: linear-gradient(155deg, rgba(255,255,255,.995), rgba(242,247,252,.995));
  box-shadow: 0 30px 90px rgba(31, 52, 78, .25);
  scrollbar-color: rgba(42, 132, 174, .38) transparent;
}
.whatsapp-agent__header { border-bottom-color: rgba(51, 88, 128, .12); background: radial-gradient(circle at 20% 0, rgba(45,216,142,.14), transparent 54%); }
.whatsapp-agent__header p { color: #5b6d82; }
.whatsapp-agent__status { color: #087a58; }
.whatsapp-agent__close { color: #31475f; background: rgba(37, 73, 111, .07); }
.whatsapp-agent__form label { color: #34495f; }
.whatsapp-agent__form label > span[aria-hidden="true"] { color: #087a58; }
.whatsapp-agent__form input,
.whatsapp-agent__form select,
.whatsapp-agent__form textarea { border-color: rgba(62, 93, 130, .18); color: #172a40; background: #ffffff; }
.whatsapp-agent__form select { color-scheme: light; }
.whatsapp-agent__form input:focus,
.whatsapp-agent__form select:focus,
.whatsapp-agent__form textarea:focus {
  border-color: rgba(213, 119, 5, .7);
  box-shadow: 0 0 0 3px rgba(229, 132, 11, .12);
}
.whatsapp-agent__consent { color: #5a6b80 !important; }
.whatsapp-agent__error { color: #8e2940; background: rgba(220, 63, 94, .08); }
.whatsapp-agent__privacy { color: #66768b; }
