:root {
  --night: #061126;
  --deep: #0a1b38;
  --panel: #102448;
  --blue: #335cff;
  --cyan: #38ddd4;
  --purple: #8d62f6;
  --steel: #4b6f8f;
  --petrol: #167b75;
  --charcoal: #273448;
  --electric-cyan: #00e5ff;
  --magenta: #ff3d9a;
  --lime: #a3f000;
  --ink: #11192a;
  --muted: #647087;
  --line: #dce3ee;
  --cloud: #f4f7fb;
  --white: #ffffff;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 70px rgba(7, 20, 44, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: var(--deep); background: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; color: white; border-bottom: 1px solid rgba(0,229,255,.16); background: linear-gradient(100deg, rgba(6,17,38,.9), rgba(10,27,56,.86) 72%, rgba(22,123,117,.13)); backdrop-filter: blur(18px); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: linear-gradient(100deg, rgba(6,17,38,.985), rgba(10,27,56,.975) 78%, rgba(22,123,117,.12)); box-shadow: 0 10px 35px rgba(0,0,0,.18); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; color: white; line-height: 1; }
.brand-logo { width: 184px; height: auto; }
.footer-brand { display: block; }
.footer-brand .brand-logo { width: 226px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); color: rgba(255,255,255,.76); font-size: .87rem; font-weight: 650; }
.site-nav a { position: relative; white-space: nowrap; transition: color .2s ease; }
.site-nav > a:not(.nav-cta)::after, .nav-parent::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: linear-gradient(90deg, var(--electric-cyan), var(--cyan)); box-shadow: 0 0 10px rgba(0,229,255,.26); transition: right .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: white; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after, .site-nav > a[aria-current="page"]::after, .nav-parent:hover::after, .nav-parent:focus-visible::after, .nav-parent[aria-current="page"]::after, .nav-parent.is-active::after { right: 0; }
.nav-cta { padding: 10px 18px; color: white !important; border: 1px solid rgba(0,229,255,.38); border-radius: 999px; box-shadow: inset 0 0 18px rgba(0,229,255,.025); }
.nav-group { position: relative; display: flex; align-items: center; gap: 5px; padding: 28px 0; }
.nav-parent { position: relative; }
.nav-parent.is-active { color: white; }
.submenu-button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: rgba(255,255,255,.68); background: transparent; border: 0; cursor: pointer; }
.submenu-button span { display: block; font-size: .78rem; transition: transform .2s ease; }
.submenu { position: absolute; top: calc(100% - 8px); left: -22px; min-width: 260px; padding: 10px; visibility: hidden; opacity: 0; transform: translateY(-7px); color: var(--ink); background: linear-gradient(180deg, rgba(75,111,143,.07), white 46%); border: 1px solid rgba(75,111,143,.22); border-radius: 11px; box-shadow: 0 22px 55px rgba(4,13,32,.22); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.submenu a { display: block; padding: 12px 13px; color: var(--ink); border-radius: 7px; font-size: .86rem; line-height: 1.3; white-space: normal; }
.submenu a span { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; font-weight: 500; }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { color: var(--blue); background: rgba(75,111,143,.09); }
.nav-group:hover .submenu, .nav-group:focus-within .submenu, .nav-group.submenu-open .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-group:hover .submenu-button span, .nav-group:focus-within .submenu-button span, .nav-group.submenu-open .submenu-button span { transform: rotate(180deg); }
.menu-button { display: none; width: 44px; height: 44px; padding: 12px 8px; background: none; border: 0; }
.menu-button span { display: block; height: 2px; margin: 7px 0; background: white; transition: transform .2s ease; }

.hero, .page-hero { position: relative; overflow: hidden; color: white; background: var(--night); }
.hero { min-height: 810px; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .46; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 78% 26%, rgba(255,61,154,.065), transparent 28%), radial-gradient(circle at 70% 82%, rgba(0,229,255,.055), transparent 32%), linear-gradient(90deg, #061126 0%, rgba(6,17,38,.97) 34%, rgba(6,17,38,.56) 66%, rgba(6,17,38,.2) 100%), linear-gradient(0deg, rgba(6,17,38,.86), transparent 45%); }
.grid-field { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 78%); }
.hero-content { position: relative; z-index: 2; padding: 150px 0 92px; }
.eyebrow, .kicker { margin: 0 0 20px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #aaf1ec; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--electric-cyan); box-shadow: 0 0 10px rgba(0,229,255,.38); }
.hero h1, .page-hero h1 { margin: 0; font-weight: 720; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { max-width: 860px; font-size: clamp(3.15rem, 6.4vw, 6.1rem); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.85rem, 5.8vw, 5.4rem); }
.gradient-text { color: transparent; background: linear-gradient(90deg, #fff 0%, #89f2ed 42%, #9daaff 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy, .page-hero .lead { max-width: 710px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 25px; border: 0; border-radius: 6px; font: inherit; font-weight: 760; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--deep); background: var(--cyan); box-shadow: inset 0 1px rgba(0,229,255,.55), 0 12px 36px rgba(0,229,255,.12); }
.button-primary:hover { background: #78e9e3; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.62); }
.button-outline { color: var(--blue); border: 1px solid rgba(51,92,255,.32); background: transparent; }
.button-outline:hover { border-color: var(--blue); }
.button-whatsapp { color: white; background: #138a62; box-shadow: 0 12px 36px rgba(19,138,98,.2); }
.button-whatsapp:hover { background: #0f7553; }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: .58; transform: none; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cta-actions .button { min-width: 205px; }
.hero-proof { max-width: 820px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.17); }
.hero-proof div { padding: 20px 24px 0 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .95rem; }
.hero-proof span { margin-top: 3px; color: rgba(255,255,255,.45); font-size: .77rem; }

.page-hero { padding: 176px 0 96px; }
.page-hero--software, .page-hero--ia, .page-hero--manufactura { background-position: center, center; background-size: cover; background-repeat: no-repeat; }
.page-hero--software { background-image: linear-gradient(90deg, rgba(6,17,38,.98) 0%, rgba(6,17,38,.90) 42%, rgba(6,17,38,.49) 100%), url('assets/software.jpg'); }
.page-hero--ia { background-image: linear-gradient(90deg, rgba(6,17,38,.98) 0%, rgba(6,17,38,.88) 42%, rgba(6,17,38,.46) 100%), url('assets/ia-software.png'); }
.page-hero--manufactura { background-image: linear-gradient(90deg, rgba(6,17,38,.98) 0%, rgba(6,17,38,.90) 42%, rgba(6,17,38,.49) 100%), url('assets/manufactura.jpg'); }
.page-hero::before { content: ""; position: absolute; width: 560px; height: 560px; top: -270px; right: -130px; border: 1px solid rgba(0,229,255,.16); border-radius: 50%; box-shadow: 0 0 0 88px rgba(75,111,143,.055), 0 0 0 176px rgba(255,61,154,.022), 0 0 0 264px rgba(163,240,0,.012); }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom right, black, transparent 66%); }
.page-hero .shell { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: rgba(255,255,255,.48); font-size: .78rem; }
.breadcrumb a:hover { color: white; }
.breadcrumb span:last-child { color: #aaf1ec; }

.section { padding: 108px 0; }
.section-sm { padding: 78px 0; }
.section-cloud { background: radial-gradient(circle at 8% 14%, rgba(0,229,255,.025), transparent 23%), radial-gradient(circle at 94% 82%, rgba(255,61,154,.022), transparent 20%), var(--cloud); }
.section-night { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 10% 100%, rgba(0,229,255,.1), transparent 31%), radial-gradient(circle at 94% 0%, rgba(255,61,154,.075), transparent 27%), linear-gradient(120deg, var(--deep), #111741 60%, #28174e); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 100px); align-items: end; margin-bottom: 56px; }
.section-intro.single { grid-template-columns: minmax(0, 780px); }
.section-intro h2, .split-copy h2, .statement h2, .contact-panel h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.section-intro > p, .split-copy > p, .statement > p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.section-intro > div > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); }
.kicker-light { color: #8eeee8; }
.intro-large { max-width: 820px; font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important; line-height: 1.55; }
.link-arrow { display: inline-flex; align-items: center; gap: 11px; margin-top: 25px; color: var(--blue); font-weight: 760; }
.link-arrow::after { content: "↗"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translate(2px, -2px); }

.feature-grid, .capability-grid, .reason-grid, .use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .capability-card, .reason-card, .use-card { position: relative; min-height: 255px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, white 74%, rgba(75,111,143,.035)); box-shadow: 0 10px 35px rgba(7,20,44,.045); }
.feature-card .index, .capability-card .index, .reason-card .index { display: block; margin-bottom: 45px; color: var(--blue); font-size: .7rem; font-weight: 850; letter-spacing: .16em; }
.feature-card h3, .capability-card h3, .reason-card h3, .use-card h3 { margin: 0 0 12px; font-size: 1.23rem; line-height: 1.25; letter-spacing: -.018em; }
.feature-card p, .capability-card p, .reason-card p, .use-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-card::after, .capability-card::after, .reason-card::after { content: ""; position: absolute; width: 46px; height: 2px; left: 30px; top: 65px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.feature-card:nth-child(3n + 2) .index, .capability-card:nth-child(3n + 2) .index, .reason-card:nth-child(3n + 2) .index { color: var(--petrol); }
.feature-card:nth-child(3n + 2)::after, .capability-card:nth-child(3n + 2)::after, .reason-card:nth-child(3n + 2)::after { background: linear-gradient(90deg, var(--petrol), var(--cyan)); }
.feature-card:nth-child(3n + 3) .index, .capability-card:nth-child(3n + 3) .index, .reason-card:nth-child(3n + 3) .index { color: var(--steel); }
.feature-card:nth-child(3n + 3)::after, .capability-card:nth-child(3n + 3)::after, .reason-card:nth-child(3n + 3)::after { background: linear-gradient(90deg, var(--steel), var(--magenta)); opacity: .72; }

.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.split-copy { position: sticky; top: 120px; }
.split-copy > p { margin-top: 25px; }
.signal-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.signal-list article { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.signal-list .number { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.signal-list h3 { margin: 0 0 8px; font-size: 1.12rem; }
.signal-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.process.six { grid-template-columns: repeat(6, 1fr); }
.process li { position: relative; padding: 35px 27px 20px 0; border-top: 2px solid #d4ddea; }
.process li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border: 2px solid var(--cloud); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.process li:last-child::before { background: var(--lime); box-shadow: 0 0 0 2px var(--lime), 0 0 14px rgba(163,240,0,.18); }
.process .number { display: block; margin-bottom: 30px; color: var(--blue); font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.process strong { display: block; font-size: 1.08rem; }
.process p { margin: 9px 0 0; color: var(--muted); font-size: .84rem; }

.statement { padding: 64px; color: white; background: linear-gradient(125deg, var(--deep), #191b50 64%, #3a1b63); border-radius: 18px; box-shadow: var(--shadow); }
.statement .kicker { color: var(--cyan); }
.statement > p { max-width: 720px; margin-top: 24px; color: rgba(255,255,255,.65); }
.statement-actions { margin-top: 30px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pill-list li { padding: 9px 14px; color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .83rem; }

.clients-section { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 88% 16%, rgba(0,229,255,.1), transparent 27%), radial-gradient(circle at 8% 92%, rgba(255,61,154,.07), transparent 24%), linear-gradient(120deg, var(--night), var(--deep) 58%, #17173e); }
.clients-section::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom right, black, transparent 78%); }
.clients-section .shell { position: relative; z-index: 1; }
.clients-intro { align-items: center; }
.clients-intro .kicker { color: #8ef5f0; }
.clients-intro h2 { color: white; }
.clients-intro > p { color: rgba(255,255,255,.58); }
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.client-logo { position: relative; flex: 0 1 calc((100% - 72px) / 5); min-width: 0; height: 112px; display: grid; place-items: center; overflow: hidden; background: white; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; box-shadow: 0 16px 34px rgba(2,8,23,.18); transition: transform .2s ease, box-shadow .2s ease; }
.client-logo::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--electric-cyan); opacity: .55; }
.client-logo:nth-child(5n + 2)::before { background: var(--blue); }
.client-logo:nth-child(5n + 3)::before { background: var(--magenta); opacity: .4; }
.client-logo:nth-child(5n + 4)::before { background: var(--cyan); }
.client-logo:nth-child(5n + 5)::before { background: var(--lime); opacity: .34; }
.client-logo img { width: min(230px, 92%); height: 90px; padding: 5px 8px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .88; transition: opacity .2s ease, transform .2s ease; }
.client-logo:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(2,8,23,.26); }
.client-logo:hover img { opacity: 1; transform: scale(1.02); }

.manufacturing-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; margin: 0; padding: 0; list-style: none; }
.manufacturing-list li { position: relative; padding: 17px 0 17px 24px; color: rgba(255,255,255,.68); border-bottom: 1px solid rgba(255,255,255,.13); }
.manufacturing-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.quote-line { margin: 48px 0 0; padding-top: 30px; color: white; border-top: 1px solid rgba(255,255,255,.16); font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.035em; }
.quote-line span { color: var(--cyan); }

.ai-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0; color: var(--deep); font-weight: 760; }
.ai-cycle span:not(.arrow) { padding: 10px 14px; background: linear-gradient(135deg, #eaf0ff, rgba(75,111,143,.08)); border: 1px solid rgba(75,111,143,.08); border-radius: 6px; }
.ai-cycle span:nth-child(4n + 3):not(.arrow) { background: linear-gradient(135deg, rgba(22,123,117,.09), rgba(56,221,212,.09)); border-color: rgba(22,123,117,.12); }
.ai-cycle .arrow { color: var(--blue); }
.emphasis-lines { margin-top: 34px; padding-left: 24px; border-left: 3px solid var(--cyan); }
.emphasis-lines p { margin: 7px 0; color: var(--deep); font-weight: 800; font-size: 1.12rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.metric { padding: 22px; color: var(--deep); background: white; border: 1px solid var(--line); border-radius: 10px; font-weight: 740; text-align: center; }

.methodology-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(420px,1.05fr); gap: clamp(45px, 7vw, 90px); align-items: center; }
.methodology-copy h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.methodology-copy > p { margin: 22px 0 0; color: var(--muted); }
.methodology-figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--deep); box-shadow: var(--shadow); }
.methodology-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.methodology-figure figcaption { padding: 15px 18px; color: rgba(255,255,255,.62); background: var(--deep); font-size: .76rem; }
.methodology-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 30px; }
.methodology-points span { padding: 13px 15px; color: var(--deep); background: var(--cloud); border-left: 2px solid var(--cyan); font-size: .85rem; font-weight: 700; }
.methodology-points span:nth-child(even) { border-left-color: var(--petrol); background: rgba(22,123,117,.06); }
.evidence-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.evidence-card { padding: 40px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.evidence-card strong { display: block; margin-bottom: 15px; color: var(--blue); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.06em; }
.evidence-card h3 { margin: 0 0 12px; font-size: 1.3rem; }
.evidence-card p { margin: 0; color: var(--muted); }
.source-link { display: inline-flex; margin-top: 20px; color: var(--blue); font-size: .8rem; font-weight: 750; }

.dual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.talent-card { min-height: 370px; padding: 40px; border-radius: 14px; }
.talent-card:first-child { color: white; background: linear-gradient(145deg, var(--deep), var(--charcoal)); }
.talent-card:last-child { color: white; background: radial-gradient(circle at 100% 0%, rgba(22,123,117,.3), transparent 35%), linear-gradient(135deg, #213fae, #43357c); }
.talent-card .kicker { color: var(--cyan); }
.talent-card h3 { max-width: 420px; margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.035em; }
.talent-card p { color: rgba(255,255,255,.65); }
.talent-card ul { columns: 2; margin: 28px 0 0; padding: 0; list-style: none; }
.talent-card li { margin-bottom: 9px; color: rgba(255,255,255,.82); font-size: .9rem; }
.talent-card .link-arrow { color: var(--cyan); }

.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.triad article { min-height: 300px; padding: 38px; background: white; box-shadow: inset 0 2px var(--blue); }
.triad article:nth-child(2) { box-shadow: inset 0 2px var(--petrol); }
.triad article:nth-child(3) { box-shadow: inset 0 2px var(--steel); }
.triad .number { display: block; margin-bottom: 70px; color: var(--blue); font-size: .72rem; font-weight: 850; }
.triad h3 { margin: 0 0 12px; font-size: 1.5rem; }
.triad p { margin: 0; color: var(--muted); }

.architecture { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.3fr); gap: 50px; padding: 52px; color: white; border-radius: 16px; background: radial-gradient(circle at 100% 0%, rgba(22,123,117,.23), transparent 34%), radial-gradient(circle at 0% 100%, rgba(75,111,143,.2), transparent 30%), var(--deep); }
.architecture h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; }
.architecture p { color: rgba(255,255,255,.6); }
.architecture-links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.architecture-links span { padding: 10px 14px; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; font-size: .87rem; }
.architecture-links span:nth-child(3n + 2) { border-color: rgba(0,229,255,.25); }
.architecture-links span:nth-child(3n + 3) { border-color: rgba(163,240,0,.18); }

.contact-panel { position: relative; overflow: hidden; padding: 88px 0; color: white; background: linear-gradient(112deg, var(--blue), #3152d7 62%, #394596); box-shadow: inset 0 1px rgba(163,240,0,.12); }
.contact-panel::before, .contact-panel::after { content: ""; position: absolute; border-radius: 50%; }
.contact-panel::before { width: 540px; height: 540px; left: -260px; top: -250px; background: radial-gradient(circle, rgba(0,229,255,.34), transparent 68%); }
.contact-panel::after { width: 620px; height: 620px; right: -300px; bottom: -400px; background: radial-gradient(circle, rgba(255,61,154,.18), rgba(45,20,87,.62) 35%, transparent 68%); }
.contact-panel .shell { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.contact-panel .kicker { color: #abf5f0; }
.contact-panel p:not(.kicker) { max-width: 660px; margin: 24px auto 34px; color: rgba(255,255,255,.74); }
.button-light { color: var(--blue); background: white; }

.contact-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr); gap: 70px; align-items: start; }
.contact-copy h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.contact-copy > p { margin: 25px 0 0; color: var(--muted); }
.contact-options { display: grid; gap: 12px; margin-top: 34px; }
.contact-options span { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 9px; font-weight: 730; }
.contact-card { padding: 40px; color: white; background: radial-gradient(circle at 100% 0%, rgba(22,123,117,.2), transparent 38%), var(--deep); border-radius: 14px; box-shadow: var(--shadow); }
.contact-card p { color: rgba(255,255,255,.6); }
.contact-card .email { display: inline-block; margin: 24px 0 8px; color: var(--cyan); font-size: 1.18rem; font-weight: 760; }
.contact-choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.contact-choice { padding: 34px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, white 78%, rgba(75,111,143,.045)); box-shadow: 0 12px 40px rgba(7,20,44,.06); }
.contact-choice:nth-child(2) { background: linear-gradient(145deg, white 78%, rgba(22,123,117,.05)); }
.contact-choice h2 { margin: 0 0 10px; font-size: 1.55rem; line-height: 1.2; }
.contact-choice p { margin: 0 0 25px; color: var(--muted); }
.contact-choice small { display: block; margin-top: 13px; color: var(--muted); }
.contact-form-wrap { padding: 46px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--deep); font-size: .84rem; font-weight: 760; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fbfcfe; border: 1px solid #cfd8e6; border-radius: 7px; font: inherit; font-size: .95rem; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(51,92,255,.14); border-color: var(--blue); }
.form-note, .form-status { margin: 0; color: var(--muted); font-size: .8rem; }
.form-status { min-height: 1.4em; color: var(--blue); font-weight: 700; }

.site-footer { padding: 58px 0 28px; color: rgba(255,255,255,.56); background: linear-gradient(105deg, #050d1d, #0a1729 72%, rgba(39,52,72,.98)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 42px; }
.footer-brand p { max-width: 330px; margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: .86rem; }
.footer-col strong { display: block; margin-bottom: 15px; color: white; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 8px 0; font-size: .84rem; transition: color .2s ease; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: .73rem; }

@media (max-width: 1040px) {
  .site-nav { gap: 17px; font-size: .8rem; }
  .nav-group { padding: 28px 0; }
  .process, .process.six { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .feature-grid, .capability-grid, .reason-grid, .use-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { flex-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 690px); }
  .nav-wrap { min-height: 72px; }
  .brand-line { display: none; }
  .menu-button { display: block; position: relative; z-index: 2; cursor: pointer; }
  .site-nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 72px); padding: 12px 22px 24px; overflow-y: auto; background: rgba(6,17,38,.985); border-bottom: 1px solid rgba(255,255,255,.13); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: .95rem; }
  .site-nav a::after { display: none; }
  .nav-group { display: grid; grid-template-columns: 1fr 44px; gap: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-parent { padding: 13px 0 !important; }
  .submenu-button { width: 44px; height: 44px; color: white; }
  .submenu { position: static; grid-column: 1 / -1; display: none; min-width: 0; padding: 2px 0 10px 14px; visibility: visible; opacity: 1; transform: none; color: white; background: transparent; border: 0; border-left: 1px solid rgba(56,221,212,.38); border-radius: 0; box-shadow: none; }
  .nav-group:hover .submenu:not(.open), .nav-group:focus-within .submenu:not(.open) { display: none; }
  .submenu.open { display: block !important; }
  .submenu a { padding: 10px 12px; color: rgba(255,255,255,.74); }
  .submenu a span { color: rgba(255,255,255,.4); }
  .submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { color: white; background: rgba(255,255,255,.06); }
  .nav-cta { margin-top: 7px; padding: 12px 18px !important; text-align: center; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { min-height: 780px; }
  .hero-image { object-position: 64% center; opacity: .35; }
  .hero-shade { background: linear-gradient(90deg, #061126 0%, rgba(6,17,38,.93) 72%, rgba(6,17,38,.48)); }
  .section { padding: 82px 0; }
  .section-sm { padding: 62px 0; }
  .section-intro, .split, .architecture, .contact-layout, .methodology-grid { grid-template-columns: 1fr; gap: 35px; }
  .split-copy { position: static; }
  .dual-grid { grid-template-columns: 1fr; }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .triad { grid-template-columns: 1fr; }
  .triad .number { margin-bottom: 35px; }
  .statement { padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 580px) {
  .brand-logo { width: 164px; }
  .footer-brand .brand-logo { width: 210px; }
  .hero-content { padding-top: 126px; }
  .hero h1 { font-size: clamp(2.72rem, 14vw, 4.25rem); }
  .page-hero { padding: 138px 0 75px; }
  .page-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .button { width: 100%; }
  .cta-actions { align-items: stretch; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px 22px; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 46px; }
  .hero-proof div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .feature-grid, .capability-grid, .reason-grid, .use-grid { grid-template-columns: 1fr; }
  .client-grid { gap: 12px; }
  .client-logo { flex-basis: calc((100% - 12px) / 2); height: 102px; }
  .client-logo img { height: 82px; padding: 7px 10px; }
  .feature-card, .capability-card, .reason-card, .use-card { min-height: auto; }
  .process, .process.six { grid-template-columns: 1fr; row-gap: 0; }
  .manufacturing-list { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .talent-card { padding: 32px 26px; }
  .talent-card ul { columns: 1; }
  .architecture { padding: 38px 26px; }
  .evidence-grid, .methodology-points { grid-template-columns: 1fr; }
  .evidence-card { padding: 30px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* Contacto flotante */
body.nx-lead-open { overflow: hidden; }
.nx-lead[hidden] { display: none; }
.nx-lead { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; color: #edf6ff; }
.nx-lead-backdrop { position: absolute; inset: 0; background: rgba(3,12,29,.76); backdrop-filter: blur(7px); }
.nx-lead-dialog { position: relative; width: min(710px, 100%); max-height: min(920px, calc(100dvh - 36px)); overflow: hidden; border: 1px solid #46627b; border-radius: 22px; background: #101e30; box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.nx-lead-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; border-bottom: 1px solid #344a61; }
.nx-lead-head img { width: 127px; height: 34px; object-fit: contain; object-position: left center; }
.nx-lead-head button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 9px; color: #d9e6f2; background: #1a3045; font-size: 29px; cursor: pointer; }
.nx-lead-scroll { max-height: calc(min(920px, 100dvh - 36px) - 73px); overflow-y: auto; overscroll-behavior: contain; padding: 25px 34px 26px; }
.nx-lead h2 { margin: 0; color: white; font-size: clamp(1.45rem, 3vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.nx-lead-intro { margin: 7px 0 22px; color: #a9bdd2; font-size: .9rem; }
.nx-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-lead label, .nx-lead legend { color: #e1edf7; font-size: .88rem; font-weight: 650; }
.nx-lead label span, .nx-lead legend span { color: #8be8ee; }
.nx-lead input:not([type="radio"]):not([type="checkbox"]), .nx-lead select, .nx-lead textarea { display: block; width: 100%; min-height: 44px; margin-top: 7px; padding: 10px 12px; border: 1px solid #40546c; border-radius: 9px; color: #eef6ff; background: #182a3e; font: inherit; font-size: .92rem; outline-offset: 2px; }
.nx-lead input::placeholder, .nx-lead textarea::placeholder { color: #a5b8c8; opacity: 1; }
.nx-lead input:focus-visible, .nx-lead select:focus-visible, .nx-lead textarea:focus-visible, .nx-lead button:focus-visible, .nx-lead a:focus-visible, .nx-lead-launcher:focus-visible { outline: 2px solid #74dce8; outline-offset: 2px; }
.nx-lead-interest { min-width: 0; margin: 20px 0 17px; padding: 0; border: 0; }
.nx-lead-interest legend { margin-bottom: 10px; }
.nx-lead-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.nx-lead-choices label { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 9px 12px; border: 1px solid #40546c; border-radius: 9px; background: #182a3e; font-weight: 500; cursor: pointer; }
.nx-lead-choices label:has(input:checked) { border-color: #65d3e4; background: #19334b; }
.nx-lead-choices input, .nx-lead-consent input { width: 17px; height: 17px; flex: none; margin: 0; accent-color: #57cae1; }
.nx-lead-choices span { color: #e1edf7 !important; }
.nx-lead-interest select { display: none; }
.nx-lead-comment { display: block; }
.nx-lead textarea { min-height: 76px; resize: vertical; }
.nx-lead-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; font-size: .81rem !important; font-weight: 400 !important; }
.nx-lead-consent input { margin-top: 2px; }
.nx-lead-consent span { color: #c8d9e8 !important; }
.nx-lead-consent a { color: #7de1ec; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.nx-lead-send { display: block; width: 100%; margin-top: 18px; padding: 12px 20px; border: 0; border-radius: 9px; color: white; background: linear-gradient(105deg,#328dc6,#4e70e4 70%,#755bd5); font: inherit; font-weight: 750; cursor: pointer; }
.nx-lead-send:disabled { opacity: .7; cursor: wait; }
.nx-lead-small { margin: 10px 0 0; color: #a1b6c8; font-size: .75rem; text-align: center; }
.nx-lead-status { min-height: 1.4em; margin: 8px 0 0; color: #9be7ee; font-size: .83rem; text-align: center; }
.nx-lead [hidden] { display: none !important; }
.nx-lead-phone { display: flex; align-items: center; min-height: 44px; margin-top: 7px; border: 1px solid #40546c; border-radius: 9px; background: #182a3e; overflow: hidden; }
.nx-lead-grid label .nx-lead-phone > span { padding: 0 12px; color: #edf6ff; font-weight: 700; border-right: 1px solid #40546c; }
.nx-lead input[name="phone"] { min-width: 0; min-height: 42px; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.nx-lead-success { padding: 35px 4px 40px; text-align: center; }
.nx-lead-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; color: #092d39; background: #82e6d9; font-size: 2.2rem; font-weight: 800; }
.nx-lead-success p { max-width: 340px; margin: 14px auto 26px; color: #c6d8e8; line-height: 1.55; }
.nx-lead-success button { min-width: 185px; padding: 12px 24px; border: 0; border-radius: 9px; color: white; background: #426cda; font: inherit; font-weight: 700; cursor: pointer; }
.nx-lead-launcher { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 9px; padding: 13px 19px; border: 1px solid #87e9ef; border-radius: 999px; color: #fff; background: linear-gradient(110deg,#132b51,#375adb 73%,#6550bd); box-shadow: 0 12px 34px rgba(6,17,38,.34); font: inherit; font-size: .91rem; font-weight: 700; cursor: pointer; }
.nx-lead-launcher span { color: #8ceaf0; font-size: 1.2rem; }
.nx-lead-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Se conserva el canal para activarlo cuando exista un número corporativo. */
a[data-whatsapp], a[href="#whatsapp"] { display: none !important; }
@media (max-width: 680px) {
  .nx-lead { padding: 0; align-items: end; }
  .nx-lead-dialog { width: 100%; max-height: 100dvh; border-radius: 18px 18px 0 0; }
  .nx-lead-scroll { max-height: calc(100dvh - 68px); padding: 20px 22px max(18px, env(safe-area-inset-bottom)); }
  .nx-lead-head { padding: 12px 20px; }
  .nx-lead-grid { grid-template-columns: 1fr; gap: 11px; }
  .nx-lead-choices { display: none; }
  .nx-lead-interest select { display: block; }
  .nx-lead-interest { margin: 14px 0 13px; }
  .nx-lead-launcher { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); padding: 11px 15px; }
}

/* Panel del CTA anclado abajo a la derecha, como el chat anterior. */
@media (min-width: 681px) {
  .nx-lead { place-items: end; padding: 0 24px 24px 0; }
  .nx-lead-backdrop { background: rgba(3,12,29,.27); backdrop-filter: none; }
  .nx-lead-dialog { width: min(470px, calc(100vw - 40px)); max-height: min(760px, calc(100dvh - 48px)); border-radius: 20px; box-shadow: 0 20px 70px rgba(3,12,29,.42); }
  .nx-lead-scroll { max-height: calc(min(760px, 100dvh - 48px) - 73px); padding: 20px 23px 22px; }
  .nx-lead-grid { gap: 12px; }
  .nx-lead-grid label { min-width: 0; }
  .nx-lead-choices { gap: 8px; }
  .nx-lead-choices label { padding: 8px; font-size: .78rem; }
}
