/* Home Nexo Labs: HTML, CSS y JavaScript sin dependencias. */
:root {
    --bg-main:#050B12;
    --bg-secondary:#08131D;
    --bg-card:#0B2233;
    --blue-tech:#123D5A;
    --blue-accent:#1F8FB2;
    --accent:#2ED3B7;
    --accent-hover:#34F5D0;
    --text-main:#F4F8FB;
    --text-secondary:#9FB2C3;
    --border-soft:rgba(255,255,255,.08);
    --max-width:1240px;
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
    color-scheme:dark;
}

body {
    font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    background:var(--bg-main);
    color:var(--text-main);
    line-height:1.6;
}

img {
    display:block;
    max-width:100%;
}

a {
    color:inherit;
    text-decoration:none;
}

button {
    font:inherit;
}

a,button {
    -webkit-tap-highlight-color:transparent;
}

:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:5px;
}

[hidden] {
    display:none!important;
}

section {
    scroll-margin-top:100px;
}

::selection {
    background:var(--blue-tech);
    color:var(--text-main);
}

.container,.nav-container {
    width:min(calc(100% - 64px),var(--max-width));
    margin-inline:auto;
}

.section {
    padding:96px 0;
}

h1,h2,h3 {
    line-height:1.15;
}

h2 {
    font-size:clamp(30px,3.5vw,44px);
    letter-spacing:-1.5px;
    font-weight:650;
}

h2 span {
    color:var(--accent);
}

.section-label {
    display:inline-block;
    margin-bottom:18px;
    font-size:11px;
    font-weight:700;
    letter-spacing:2.3px;
    text-transform:uppercase;
    color:var(--accent);
}

.split-heading {
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);
    gap:96px;
    align-items:end;
    margin-bottom:44px;
}

.split-heading p,.about-content p {
    color:var(--text-secondary);
    font-size:15px;
    line-height:1.8;
}

.skip-link {
    position:fixed;
    left:20px;
    top:-100px;
    z-index:2000;
    padding:10px 20px;
    background:var(--accent);
    color:var(--bg-main);
}

.skip-link:focus {
    top:12px;
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    min-height:50px;
    padding:13px 23px;
    border:1px solid transparent;
    border-radius:7px;
    font-size:14px;
    font-weight:700;
    transition:background .2s,border-color .2s,transform .2s;
}

.btn:hover {
    transform:translateY(-2px);
}

.btn-primary {
    background:var(--accent);
    color:var(--bg-main);
}

.btn-primary:hover {
    background:var(--accent-hover);
}

.btn-outline {
    background:rgba(255,255,255,.02);
    border-color:rgba(255,255,255,.18);
}

.btn-outline:hover {
    border-color:var(--accent);
    background:var(--bg-card);
}

.header {
    position:fixed;
    inset:0 0 auto;
    z-index:1000;
    border-bottom:1px solid transparent;
    transition:background .2s,border-color .2s;
}

.header.scrolled,.header.menu-open {
    background:rgba(5,11,18,.94);
    backdrop-filter:blur(16px);
    border-color:var(--border-soft);
}

.nav-container {
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}

/* PNG original en blanco mediante CSS para contraste. Se recortan sus márgenes transparentes. */
.logo {
    display:block;
    width:186px;
    height:65px;
    overflow:hidden;
    flex:0 0 186px;
}

.logo img {
    width:206px;
    max-width:none;
    height:auto;
    margin:-25px 0 0 -10px;
    filter:brightness(0) invert(1);
}

.nav-menu {
    display:flex;
    align-items:center;
    gap:23px;
}

.nav-menu a {
    white-space:nowrap;
    color:#bccbd7;
    font-size:14px;
    font-weight:600;
}

.nav-menu a:hover,.nav-menu a[aria-current] {
    color:var(--accent);
}

.nav-cta {
    min-height:42px;
    padding:10px 16px;
    font-size:12px;
    white-space:nowrap;
}

.menu-toggle {
    display:none;
    border:1px solid var(--border-soft);
    padding:12px;
    border-radius:6px;
    background:transparent;
    cursor:pointer;
}

.menu-toggle span {
    display:block;
    width:21px;
    height:2px;
    margin:4px 0;
    background:var(--text-main);
    transition:transform .2s,opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform:translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity:0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform:translateY(-6px) rotate(-45deg);
}

.hero {
    position:relative;
    padding:160px 0 96px;
    overflow:hidden;
    background:radial-gradient(ellipse at 85% 40%,rgba(18,61,90,.36),transparent 52%),var(--bg-main);
    border-bottom:1px solid var(--border-soft);
}

.hero::before {
    content:"";
    position:absolute;
    inset:0;
    background-image:linear-gradient(rgba(159,178,195,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(159,178,195,.035) 1px,transparent 1px);
    background-size:64px 64px;
    mask-image:linear-gradient(90deg,transparent,#000);
    pointer-events:none;
}

.hero-grid {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
    gap:62px;
    align-items:center;
}

.eyebrow {
    color:var(--text-secondary);
    font-size:10px;
    letter-spacing:2.5px;
    text-transform:uppercase;
    margin-bottom:24px;
    display:flex;
    align-items:center;
    gap:10px;
}

.eyebrow::before,.signal-dot {
    content:"";
    width:6px;
    height:6px;
    background:var(--accent);
    border-radius:50%;
    flex:0 0 6px;
    box-shadow:0 0 12px #2ed3b74d;
}

.hero h1 {
    font-size:clamp(40px,4.2vw,60px);
    font-weight:650;
    line-height:1.09;
    letter-spacing:-2.8px;
}

.hero h1 span {
    color:var(--accent);
}

.hero-description {
    color:var(--text-secondary);
    font-size:16px;
    max-width:540px;
    margin-top:25px;
    line-height:1.8;
}

.hero-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}

.hero-features {
    display:flex;
    flex-wrap:wrap;
    gap:12px 22px;
    margin-top:32px;
    color:var(--text-secondary);
    font-size:11px;
}

.hero-feature {
    display:flex;
    align-items:center;
    gap:7px;
}

.feature-icon {
    color:var(--accent);
}

.hero-visual {
    position:relative;
    min-width:0;
    padding:45px 0;
}

.visual-caption {
    position:absolute;
    bottom:12px;
    left:12px;
    color:var(--text-secondary);
    font-size:10px;
    letter-spacing:.5px;
}

.dashboard-window {
    overflow:hidden;
    background:#0a1824;
    border:1px solid #9fb2c330;
    border-radius:14px;
    box-shadow:0 35px 90px #0006,0 0 65px #1f8fb212;
    transform:perspective(1200px) rotateY(-5deg);
}

.dashboard-top {
    height:58px;
    padding:0 20px;
    border-bottom:1px solid var(--border-soft);
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.dashboard-brand {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    font-weight:600;
}

.dashboard-logo {
    display:grid;
    place-items:center;
    width:27px;
    height:27px;
    background:var(--blue-tech);
    border-radius:7px;
    color:var(--accent);
}

.dashboard-user {
    font-size:10px;
    color:var(--text-secondary);
}

.dashboard-body {
    display:flex;
}

.dashboard-sidebar {
    width:47px;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:25px 13px;
    border-right:1px solid var(--border-soft);
    background:var(--bg-secondary);
}

.dashboard-sidebar span {
    height:6px;
    border-radius:3px;
    background:#254052;
}

.dashboard-sidebar .active {
    background:var(--accent);
}

.dashboard-content {
    min-width:0;
    flex:1;
    padding:24px 20px;
}

.dashboard-title {
    display:flex;
    justify-content:space-between;
    align-items:start;
    gap:12px;
}

.dashboard-title small {
    color:var(--text-secondary);
    font-size:8px;
}

.dashboard-heading {
    font-size:17px;
    font-weight:600;
    margin-top:5px;
    line-height:1.3;
}

.status-pill {
    display:inline-block;
    padding:4px 9px;
    border:1px solid #2ed3b726;
    background:#2ed3b712;
    color:var(--accent);
    border-radius:20px;
    font-size:9px;
    white-space:nowrap;
}

.dashboard-stats {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-top:25px;
}

.dashboard-stat {
    padding:12px 10px;
    background:var(--bg-card);
    border:1px solid var(--border-soft);
    border-radius:8px;
}

.dashboard-stat small {
    display:block;
    color:var(--text-secondary);
    font-size:8px;
}

.dashboard-stat strong {
    display:block;
    font-size:23px;
    margin:4px 0;
    font-weight:600;
}

.dashboard-stat span {
    color:var(--accent);
    font-size:9px;
}

.dashboard-chart {
    margin-top:13px;
    padding:17px;
    background:var(--bg-card);
    border:1px solid var(--border-soft);
    border-radius:8px;
}

.chart-info {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.chart-info small,.chart-info>span {
    color:var(--text-secondary);
    font-size:9px;
}

.chart-info strong {
    display:block;
    font-size:23px;
    font-weight:600;
}

.bars {
    height:110px;
    display:flex;
    gap:12px;
    align-items:end;
    padding-top:15px;
    border-bottom:1px solid var(--border-soft);
    background:repeating-linear-gradient(to top,transparent 0 26px,#ffffff0a 27px 28px);
}

.bars span {
    flex:1;
    border-radius:4px 4px 0 0;
    background:linear-gradient(to top,var(--blue-tech),var(--blue-accent));
}

.bars span:last-child {
    background:linear-gradient(to top,#137b79,var(--accent));
}

.floating-card {
    position:absolute;
    top:18px;
    right:-12px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:0 20px;
    padding:16px 20px;
    background:#0d2635;
    border:1px solid #2ed3b740;
    border-radius:10px;
    box-shadow:0 12px 30px #0004;
}

.floating-number {
    font-size:29px;
    font-weight:600;
    line-height:1.2;
}

.floating-text {
    grid-column:1;
    color:var(--text-secondary);
    font-size:10px;
}

.floating-arrow {
    grid-column:2;
    grid-row:1 / 3;
    align-self:center;
    color:var(--accent);
    font-size:24px;
}

.services {
    background:var(--bg-secondary);
}

.services-grid {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:18px;
}

.service-card {
    position:relative;
    grid-column:span 2;
    display:flex;
    flex-direction:column;
    padding:30px;
    border:1px solid var(--border-soft);
    border-radius:12px;
    background:linear-gradient(140deg,#0d2130,#0a1925);
    transition:border-color .2s,transform .2s;
}

.service-card:nth-child(4),.service-card:nth-child(5) {
    grid-column:span 3;
}

.service-card:hover,.project-card:hover {
    border-color:#2ed3b759;
    transform:translateY(-4px);
}

.card-index {
    position:absolute;
    top:29px;
    right:25px;
    font-size:10px;
    color:var(--text-secondary);
}

.service-icon {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    margin-bottom:28px;
    border:1px solid #1f8fb233;
    border-radius:9px;
    background:#1f8fb212;
    color:var(--accent);
    font-size:20px;
}

.service-card h3 {
    font-size:18px;
    font-weight:600;
    margin-bottom:12px;
}

.service-card p {
    color:var(--text-secondary);
    font-size:14px;
    margin-bottom:27px;
}

.service-card a {
    margin-top:auto;
    font-size:12px;
    font-weight:600;
    color:var(--accent);
}

.service-card a span {
    margin-left:12px;
}

.automation-section {
    background:var(--bg-main);
}

.automation-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
    align-items:center;
    gap:72px;
}

.automation-grid h2 {
    font-size:clamp(30px,3vw,40px);
}

.automation-grid>div>p {
    margin-top:22px;
    color:var(--text-secondary);
    font-size:14px;
}

.benefits {
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:10px 20px;
    margin-top:24px;
    font-size:11px;
}

.benefits li::before {
    content:"✓";
    margin-right:7px;
    color:var(--accent);
}

.flow-panel {
    padding:26px;
    border:1px solid var(--border-soft);
    border-radius:12px;
    background:radial-gradient(ellipse at 70% 50%,#123d5a4d,transparent),var(--bg-secondary);
}

.flow-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    color:var(--text-secondary);
    font-size:11px;
}

.automation-flow {
    list-style:none;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin:32px 0;
}

.automation-flow li {
    position:relative;
    text-align:center;
    font-size:9px;
}

.automation-flow li>span {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    margin:0 auto 14px;
    border:1px solid #24506a;
    background:var(--bg-card);
    border-radius:9px;
    color:var(--accent);
    font-size:18px;
}

.automation-flow li:not(:last-child)::after {
    content:"→";
    position:absolute;
    top:8px;
    right:-12px;
    color:var(--blue-accent);
}

.automation-flow small {
    display:block;
    margin-top:4px;
    color:var(--text-secondary);
    font-size:8px;
}

.flow-note {
    display:flex;
    align-items:center;
    gap:9px;
    padding-top:18px;
    border-top:1px solid var(--border-soft);
    color:var(--text-secondary);
    font-size:10px;
}

.process-section {
    background:var(--bg-secondary);
    padding:76px 0;
    border-block:1px solid var(--border-soft);
}

.process-section h2 {
    font-size:clamp(30px,3vw,40px);
}

.process-line {
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:32px;
}

.process-line::before {
    content:"";
    position:absolute;
    top:22px;
    left:20px;
    right:20px;
    height:1px;
    background:#254052;
}

.process-item {
    position:relative;
}

.process-number {
    display:grid;
    place-items:center;
    width:45px;
    height:45px;
    margin-bottom:22px;
    border:1px solid #28516a;
    outline:8px solid var(--bg-secondary);
    border-radius:50%;
    background:var(--bg-card);
    color:var(--accent);
    font-size:12px;
}

.process-item h3 {
    font-size:17px;
    margin-bottom:10px;
    font-weight:600;
}

.process-item p {
    color:var(--text-secondary);
    font-size:13px;
}

.projects-section {
    background:var(--bg-main);
}

.projects-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.project-card {
    overflow:hidden;
    border:1px solid var(--border-soft);
    border-radius:12px;
    background:var(--bg-secondary);
    transition:border-color .2s,transform .2s;
}

.project-preview {
    height:208px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:26px;
    border-bottom:1px solid var(--border-soft);
    background:radial-gradient(ellipse at 50% 80%,var(--blue-tech),var(--bg-card));
}

.mini-window {
    display:flex;
    width:90%;
    height:145px;
    overflow:hidden;
    border:1px solid #33556d;
    border-radius:8px;
    background:#0d2130;
    transform:rotate(-4deg);
    box-shadow:0 20px 30px #0003;
}

.mini-sidebar {
    width:22%;
    background:var(--bg-main);
}

.mini-content {
    flex:1;
    padding:19px;
}

.mini-title {
    width:48%;
    height:6px;
    border-radius:3px;
    background:#4d7187;
}

.mini-stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    margin-top:15px;
}

.mini-stats span {
    height:28px;
    background:#183d51;
    border-radius:4px;
}

.mini-chart {
    margin-top:12px;
    height:37px;
    border-radius:4px;
    background:linear-gradient(150deg,#135976,#187c7d);
}

.automation-box {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
}

.automation-box span {
    font-size:10px;
    padding:12px 9px;
    border:1px solid #31536b;
    border-radius:7px;
    background:var(--bg-card);
}

.automation-box span:nth-child(even) {
    border:0;
    padding:0;
    color:var(--accent);
    background:none;
}

.learning-card {
    width:70%;
    padding:14px;
    border:1px solid #33556d;
    border-radius:8px;
    background:#0d2130;
    transform:rotate(4deg);
}

.learning-video {
    height:82px;
    margin-bottom:12px;
    display:grid;
    place-items:center;
    border-radius:5px;
    color:var(--accent);
    background:linear-gradient(130deg,#123d5a,#155d67);
}

.learning-card>span {
    display:block;
    height:5px;
    width:80%;
    margin-top:6px;
    border-radius:3px;
    background:#345366;
}

.learning-card>span:nth-child(3) {
    width:60%;
}

.learning-card>span:nth-child(4) {
    width:40%;
}

.project-content {
    padding:27px;
}

.project-type {
    display:block;
    margin-bottom:12px;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:1.3px;
    font-size:9px;
}

.project-content h3 {
    margin-bottom:13px;
    font-size:20px;
    font-weight:600;
}

.project-content p {
    color:var(--text-secondary);
    font-size:13px;
    min-height:65px;
}

.project-content a {
    display:inline-block;
    margin-top:22px;
    color:var(--accent);
    font-size:12px;
}

.clients-section {
    background:var(--bg-secondary);
    text-align:center;
}

.client-logos {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:32px;
    list-style:none;
    margin-top:32px;
}

.about-section {
    background:var(--bg-secondary);
}

.about-grid {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
    gap:100px;
    align-items:center;
}

.about-content p {
    margin-top:20px;
}

.text-link {
    display:inline-block;
    margin-top:24px;
    font-size:13px;
    color:var(--accent);
}

.about-visual {
    position:relative;
    padding:18px;
}

.about-main-card {
    position:relative;
    min-height:270px;
    padding:33px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid #23485f;
    border-radius:12px;
    background:linear-gradient(140deg,var(--bg-card),#0b1927);
}

.about-small {
    color:var(--accent);
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:2px;
}

.about-main-card strong {
    font-size:36px;
    font-weight:500;
    line-height:1.25;
}

.about-square {
    position:absolute;
    width:90px;
    height:90px;
    border:1px solid #1f8fb24d;
    border-radius:12px;
}

.square-one {
    top:0;
    right:0;
}

.square-two {
    bottom:0;
    left:0;
}

.contact-section {
    padding:80px 0;
    background:var(--bg-main);
}

.contact-card {
    position:relative;
    overflow:hidden;
    padding:60px;
    border:1px solid #224354;
    border-radius:14px;
    background:linear-gradient(110deg,var(--bg-card),#091721);
}

.contact-card>div:first-child {
    position:relative;
    z-index:1;
    max-width:780px;
}

.contact-card h2 {
    font-size:clamp(30px,3.3vw,44px);
}

.contact-card p {
    margin:20px 0 27px;
    color:var(--text-secondary);
}

.contact-decoration {
    position:absolute;
    inset:0;
    pointer-events:none;
}

.contact-circle {
    position:absolute;
    border:1px solid #2ed3b717;
    border-radius:50%;
    right:-110px;
    top:-50px;
    width:440px;
    height:440px;
}

.circle-two {
    width:320px;
    height:320px;
    right:-50px;
    top:10px;
}

.circle-three {
    width:200px;
    height:200px;
    right:10px;
    top:70px;
}

.footer {
    padding:64px 0 28px;
    background:var(--bg-secondary);
    border-top:1px solid var(--border-soft);
}

.footer-grid {
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:52px;
}

.footer-brand img {
    width:190px;
    height:107px;
    object-fit:contain;
    margin:-26px 0 -15px -8px;
    filter:brightness(0) invert(1);
}

.footer-brand p {
    font-size:12px;
    margin-top:10px;
}

.footer-brand>span {
    display:block;
    max-width:240px;
    margin-top:10px;
    color:var(--text-secondary);
    font-size:12px;
}

.footer-social {
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin-top:4px;
}

.footer-social a {
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:8px;
    color:#e1ebf0;
    transition:color .2s ease;
}

.footer-social a:is(:hover,:focus-visible) {
    color:var(--accent);
}

.footer-social a:focus-visible {
    outline:2px solid currentColor;
    outline-offset:-3px;
}

.footer-social svg {
    display:block;
    width:19px;
    height:19px;
}

@media(prefers-reduced-motion:reduce) {
    .footer-social a { transition:none; }
}

.footer-column {
    display:flex;
    flex-direction:column;
    align-items:start;
    gap:10px;
}

.footer-column h3 {
    font-size:13px;
    margin-bottom:10px;
}

.footer-column a,.footer-column>span {
    font-size:12px;
    color:var(--text-secondary);
}

.footer-column a:hover {
    color:var(--accent);
}

.footer-bottom {
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding-top:23px;
    margin-top:50px;
    border-top:1px solid var(--border-soft);
    font-size:11px;
    color:var(--text-secondary);
}

.footer-bottom div {
    display:flex;
    gap:20px;
}

.whatsapp-floating {
    position:fixed;
    bottom:22px;
    right:22px;
    z-index:1100;
    display:grid;
    place-items:center;
    width:55px;
    height:55px;
    background:#25D366;
    color:#052e18;
    border:1px solid #65e897;
    border-radius:50%;
    box-shadow:0 8px 24px #0006;
    transition:transform .2s;
}

.whatsapp-floating:hover {
    transform:translateY(-3px);
}

.whatsapp-floating svg {
    width:31px;
    height:31px;
}

@media(max-width:1150px) {
    .nav-menu {
        display:none;
        position:absolute;
        top:80px;
        left:32px;
        right:32px;
        max-height:calc(100dvh - 110px);
        overflow-y:auto;
        padding:18px;
        background:#08131dfc;
        backdrop-filter:blur(16px);
        border:1px solid #254052;
        border-radius:10px;
        flex-direction:column;
        align-items:stretch;
        gap:0;
    }
    .nav-menu.active {
        display:flex;
    }
    .nav-menu a {
        padding:12px;
        font-size:15px;
    }
    .menu-toggle {
        display:block;
        order:3;
    }
    .nav-cta {
        margin-left:auto;
    }
    .hero-grid {
        gap:35px;
    }
    .hero h1 {
        font-size:46px;
    }
    .floating-card {
        right:0;
    }
    .split-heading {
        gap:48px;
    }
    .automation-grid {
        gap:32px;
    }
    .about-grid {
        gap:48px;
    }
    .footer-grid {
        gap:28px;
    }
}

@media(max-width:900px) {
    .hero {
        padding:135px 0 70px;
    }
    .hero-grid {
        grid-template-columns:1fr;
        gap:30px;
    }
    .hero-content {
        max-width:700px;
    }
    .hero h1 {
        font-size:54px;
    }
    .hero-visual {
        width:100%;
        max-width:600px;
        margin-inline:auto;
    }
    .services-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .service-card,.service-card:nth-child(4),.service-card:nth-child(5) {
        grid-column:auto;
    }
    .automation-grid {
        grid-template-columns:1fr;
        gap:36px;
    }
    .automation-flow li {
        font-size:12px;
    }
    .automation-flow small {
        font-size:10px;
    }
    .projects-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .projects-grid .project-card:last-child {
        grid-column:span 2;
    }
    .about-grid {
        gap:32px;
    }
    .about-main-card {
        padding:24px;
    }
    .about-main-card strong {
        font-size:30px;
    }
    .footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:35px;
    }
}

@media(max-width:600px) {
    .container,.nav-container {
        width:calc(100% - 40px);
    }
    .section {
        padding:64px 0;
    }
    .nav-container {
        height:76px;
    }
    .logo {
        width:154px;
        height:57px;
        flex-basis:154px;
    }
    .logo img {
        width:174px;
        margin:-22px 0 0 -10px;
    }
    .nav-cta {
        display:none;
    }
    .nav-menu {
        left:20px;
        right:20px;
        top:76px;
    }
    .hero {
        padding:119px 0 45px;
    }
    .hero h1 {
        font-size:clamp(34px,10vw,46px);
        line-height:1.12;
        letter-spacing:-1.6px;
    }
    .eyebrow {
        font-size:9px;
        letter-spacing:1.7px;
    }
    .hero-description {
        font-size:15px;
        margin-top:21px;
    }
    .hero-buttons {
        flex-direction:column;
    }
    .hero-buttons .btn {
        width:100%;
    }
    .hero-features {
        gap:9px 16px;
        margin-top:25px;
    }
    .dashboard-window {
        transform:none;
    }
    .dashboard-content {
        padding:18px 12px;
    }
    .dashboard-sidebar {
        width:32px;
        padding:22px 8px;
    }
    .dashboard-title {
        gap:5px;
    }
    .dashboard-title small {
        font-size:7px;
    }
    .dashboard-heading {
        font-size:14px;
    }
    .dashboard-top {
        padding-inline:14px;
    }
    .dashboard-stats {
        gap:5px;
    }
    .dashboard-stat {
        padding:10px 7px;
    }
    .dashboard-stat small {
        font-size:7px;
    }
    .dashboard-stat strong {
        font-size:20px;
    }
    .dashboard-chart {
        padding:12px;
    }
    .bars {
        gap:7px;
        height:90px;
    }
    .floating-card {
        padding:12px 16px;
    }
    .floating-number {
        font-size:24px;
    }
    .split-heading,.about-grid {
        grid-template-columns:1fr;
        gap:23px;
    }
    .split-heading {
        margin-bottom:30px;
    }
    h2 {
        font-size:32px;
        letter-spacing:-1px;
    }
    .services-grid,.projects-grid {
        grid-template-columns:1fr;
    }
    .projects-grid .project-card:last-child {
        grid-column:auto;
    }
    .service-card {
        padding:27px;
    }
    .project-content p {
        min-height:0;
    }
    .automation-flow {
        grid-template-columns:1fr;
        gap:20px;
        margin:28px 0;
    }
    .automation-flow li {
        min-height:42px;
        text-align:left;
        padding-left:60px;
        font-size:13px;
    }
    .automation-flow li>span {
        position:absolute;
        left:0;
        top:0;
    }
    .automation-flow li:not(:last-child)::after {
        content:"↓";
        top:42px;
        left:17px;
        right:auto;
        font-size:11px;
    }
    .automation-flow small {
        font-size:11px;
    }
    .process-line {
        grid-template-columns:1fr;
        gap:27px;
    }
    .process-line::before {
        top:20px;
        bottom:20px;
        left:22px;
        right:auto;
        height:auto;
        width:1px;
    }
    .process-item {
        padding-left:72px;
        min-height:70px;
    }
    .process-number {
        position:absolute;
        top:0;
        left:0;
    }
    .about-visual {
        max-width:420px;
        width:100%;
        margin-inline:auto;
    }
    .contact-section {
        padding:50px 0;
    }
    .contact-card {
        padding:32px 24px;
    }
    .contact-card .btn {
        width:100%;
        padding-inline:12px;
    }
    .footer {
        padding-top:48px;
    }
    .footer-grid {
        gap:35px 22px;
    }
    .footer-brand {
        grid-column:span 2;
    }
    .footer-bottom {
        flex-direction:column;
        padding-right:45px;
    }
    .whatsapp-floating {
        width:52px;
        height:52px;
        right:16px;
        bottom:16px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    *,*::before,*::after {
        transition:none!important;
    }
}

/* Segunda pasada visual: conserva los grids y breakpoints aprobados. */
.hero {
    background: radial-gradient(ellipse at 83% 43%, rgba(31,143,178,.16), transparent 46%), radial-gradient(ellipse at 100% 85%, rgba(18,61,90,.24), transparent 55%), var(--bg-main);
}
.hero-visual { isolation: isolate; }
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 5% -6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(31,143,178,.23), rgba(18,61,90,.09) 48%, transparent 72%);
    pointer-events: none;
}
.dashboard-window {
    background: linear-gradient(145deg, #102535, #091722 68%);
    border-color: rgba(120,191,216,.3);
    box-shadow: 0 38px 75px rgba(0,0,0,.48), 0 12px 32px rgba(0,0,0,.2), 0 0 50px rgba(31,143,178,.09), inset 0 1px 0 rgba(190,234,248,.12);
}
.dashboard-top { background: linear-gradient(100deg, rgba(31,143,178,.08), transparent); }
.dashboard-stat, .dashboard-chart {
    background: linear-gradient(150deg, #102b3d, #0b2030);
    border-color: rgba(119,174,202,.12);
    box-shadow: inset 0 1px 0 rgba(174,213,235,.035), 0 6px 15px rgba(0,0,0,.12);
}
.bars span { box-shadow: inset 0 1px 0 rgba(194,240,249,.22); }
.floating-card {
    background: linear-gradient(135deg, #13384a, #0d2332);
    border-color: rgba(114,209,213,.36);
    box-shadow: 0 17px 34px rgba(0,0,0,.35), inset 0 1px 0 rgba(206,249,255,.13);
}

.services { background: radial-gradient(ellipse at 50% 100%, rgba(18,61,90,.14), transparent 65%), var(--bg-secondary); }
.service-card {
    isolation: isolate;
    background: linear-gradient(145deg, #102536, #0a1925 75%);
    border-color: rgba(147,187,212,.13);
    box-shadow: 0 8px 24px rgba(0,0,0,.1), inset 0 1px 0 rgba(191,227,248,.035);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130,195,218,.24), transparent);
    pointer-events: none;
}
.service-card:nth-child(2) {
    border-color: rgba(75,180,186,.3);
    background: radial-gradient(ellipse at 100% 0, rgba(31,143,178,.13), transparent 65%), linear-gradient(145deg, #102c3d, #0b1d2b);
    box-shadow: 0 12px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(165,235,231,.08);
}
.service-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, rgba(46,211,183,.5), transparent); }
.service-icon {
    color: #75d7d2;
    border-color: rgba(113,182,207,.25);
    background: linear-gradient(145deg, rgba(31,143,178,.16), rgba(18,61,90,.08));
    box-shadow: inset 0 1px 0 rgba(179,230,249,.06);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card:nth-child(2) .service-icon { color: var(--accent); border-color: rgba(46,211,183,.3); }
.service-card h3 { color: #f4f8fb; text-shadow: 0 1px 8px rgba(0,0,0,.15); }
.service-card:hover, .service-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(93,186,193,.4);
    box-shadow: 0 18px 38px rgba(0,0,0,.23), inset 0 1px 0 rgba(165,235,231,.07);
}

.automation-section {
    background: radial-gradient(ellipse at 82% 48%, rgba(31,143,178,.1), transparent 45%), var(--bg-card);
    border-block: 1px solid rgba(132,189,208,.07);
}
.flow-panel {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 65% 30%, rgba(31,143,178,.1), transparent 68%), linear-gradient(145deg, #091b29, #06111c);
    border-color: rgba(107,167,194,.24);
    box-shadow: 0 24px 48px rgba(0,0,0,.2), inset 0 1px 0 rgba(191,227,248,.07);
}
.flow-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background-image: radial-gradient(rgba(120,186,207,.13) .7px, transparent .7px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 80%);
    pointer-events: none;
}
.automation-flow li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: calc(50% + 21px);
    width: calc(100% - 32px);
    height: 1px;
    background: linear-gradient(90deg, #315b72, #417d88);
    box-shadow: 0 1px 4px rgba(31,143,178,.09);
}
.automation-flow li:last-child::before { content: none; }
.automation-flow li > span {
    position: relative;
    z-index: 1;
    background: linear-gradient(140deg, #12394e, #0a2031);
    border-color: #3c697c;
    box-shadow: 0 6px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(179,230,249,.1);
}
.automation-flow li:nth-child(3) > span {
    border-color: rgba(46,211,183,.48);
    background: linear-gradient(140deg, #15434c, #0b2939);
    box-shadow: 0 0 19px rgba(46,211,183,.08), 0 6px 12px rgba(0,0,0,.2);
}
.automation-flow li:not(:last-child)::after {
    top: 15px;
    right: -11px;
    width: 12px;
    background: #0b1e2b;
    line-height: 12px;
    color: #78acb7;
    z-index: 1;
}
.process-section { background: var(--bg-main); border-color: rgba(147,187,212,.1); }
.process-line::before { background: linear-gradient(90deg, #255368, #448292, #255368); }
.process-number {
    outline-color: var(--bg-main);
    background: linear-gradient(145deg, #123b50, #0b2233);
    border-color: #3b7283;
    box-shadow: inset 0 1px 0 rgba(183,235,247,.1);
    color: #8be4d7;
}

.projects-section { background: radial-gradient(ellipse at 12% 90%, rgba(18,61,90,.12), transparent 60%), var(--bg-secondary); }
.project-card {
    display: grid;
    grid-template-rows: minmax(208px, 1fr) minmax(min-content, 1.08fr);
    background: linear-gradient(145deg, #0d2230, #08151f);
    border-color: rgba(147,187,212,.14);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
/* Área de imagen ~48%: sustituir el contenido decorativo por un img real.
   El espacio conserva sus dimensiones, sin JS ni peticiones de imágenes placeholder. */
.project-preview {
    position: relative;
    height: auto;
    min-height: 208px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 60% 20%, rgba(31,143,178,.12), transparent 65%), linear-gradient(145deg, #102b3c, #091926);
    border-bottom-color: rgba(132,189,208,.17);
}
.project-preview > :not(img) { display: none; }
.project-preview::before {
    content: "";
    position: absolute;
    inset: 23px;
    border: 1px solid rgba(134,184,204,.18);
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(154,203,223,.025), transparent 65%), repeating-linear-gradient(135deg, transparent 0 30px, rgba(147,187,212,.025) 31px 32px);
    box-shadow: inset 0 0 35px rgba(0,0,0,.15);
}
.project-preview::after {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
    left: calc(50% - 19px);
    border: 1px solid rgba(159,203,222,.22);
    border-radius: 8px;
    background: linear-gradient(#79a7bb,#79a7bb) center / 14px 1px no-repeat, linear-gradient(#79a7bb,#79a7bb) center / 1px 14px no-repeat, rgba(12,32,47,.6);
    opacity: .65;
}
.automation-preview { background: radial-gradient(ellipse at 50% 80%, rgba(46,211,183,.07), transparent 75%), linear-gradient(145deg, #102c37, #081b26); }
.learning-preview { background: radial-gradient(ellipse at 80% 20%, rgba(82,121,169,.12), transparent 70%), linear-gradient(145deg, #132a40, #0a192b); }
.project-preview > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-preview:has(> img)::before, .project-preview:has(> img)::after { content: none; }

.about-section { background: radial-gradient(ellipse at 82% 50%, rgba(31,143,178,.1), transparent 50%), var(--bg-main); }
.about-square { border-radius: 50%; border-color: rgba(90,163,188,.12); }
.square-one { width: 160px; height: 160px; }
.square-two { width: 120px; height: 120px; }
.about-main-card {
    isolation: isolate;
    overflow: hidden;
    min-height: 340px;
    background: radial-gradient(ellipse at 75% 20%, rgba(31,143,178,.13), transparent 60%), linear-gradient(145deg, #102c3f, #0a1825);
    border-color: rgba(124,183,208,.26);
    box-shadow: 0 25px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(172,223,243,.08);
}
.about-main-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(137,195,213,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(137,195,213,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(145deg, #000, transparent 75%);
}
.brand-geometry { position: absolute; top: 30px; right: 18px; width: 55%; height: 160px; opacity: .8; pointer-events: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,.28)); }
.about-main-card strong { position: relative; font-size: 28px; text-shadow: 0 2px 16px #06111c; }
.about-small { position: relative; }

.contact-section { background: radial-gradient(ellipse at 50% 70%, rgba(18,61,90,.1), transparent 60%), var(--bg-secondary); }
.contact-card {
    isolation: isolate;
    background: radial-gradient(ellipse at 95% 45%, rgba(31,143,178,.17), transparent 50%), radial-gradient(ellipse at 65% 110%, rgba(46,211,183,.06), transparent 55%), linear-gradient(125deg, #102f43, #081925 62%, #07131f);
    border-color: rgba(102,175,194,.27);
    box-shadow: 0 25px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(186,229,247,.1);
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(147,211,220,.15) .7px, transparent .7px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, transparent 50%, #000);
}
.contact-card::after {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112,200,214,.45), transparent);
    pointer-events: none;
}
.contact-circle { border-color: rgba(127,203,215,.14); box-shadow: 0 0 28px rgba(31,143,178,.035); }
.circle-three { background: radial-gradient(circle at 45% 45%, rgba(31,143,178,.08), transparent 70%); }
/* La misma orientación vertical aprobada: adaptar solo la línea decorativa. */
@media (max-width: 600px) {
    .automation-flow li::before { top: 42px; left: 21px; width: 1px; height: 20px; background: linear-gradient(#315b72, #417d88); }
    .automation-flow li > span { position: absolute; }
    .automation-flow li:not(:last-child)::after { top: 45px; left: 16px; right: auto; width: 11px; }
    .process-line::before { background: linear-gradient(#255368, #448292, #255368); }
}

/* NAV + HERO: composición institucional, sin alterar el resto del Home. */
.header .nav-cta {
    min-height: 38px;
    padding: 8px 19px;
    border-radius: 999px;
    border: 1px solid rgba(151,193,213,.27);
    background: linear-gradient(135deg, rgba(76,121,146,.1), rgba(15,36,52,.1));
    color: #d9e7ee;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(211,236,247,.045);
    transition: border-color .2s, background .2s, color .2s;
}
.header .nav-cta:hover {
    transform: none;
    border-color: rgba(132,200,210,.48);
    background: rgba(45,89,111,.18);
    color: #f4f8fb;
}
.hero {
    padding: 170px 0 105px;
    background: radial-gradient(ellipse at 82% 44%, rgba(18,61,90,.1), transparent 55%), var(--bg-main);
}
.hero::before { opacity: .22; }
.hero .hero-grid { gap: 68px; }
.hero .eyebrow { color: #8cabbc; letter-spacing: 2.6px; font-weight: 500; }
.hero .eyebrow::before { content: none; }
.hero h1 span { color: #69d4c3; }
.hero .hero-description { max-width: 495px; margin-top: 32px; color: #91a7b8; font-size: 15px; }
.hero .hero-visual { padding: 0; display: grid; place-items: center; }
.hero .hero-visual::before { content: none; }
.network-sphere { display: block; width: 100%; height: auto; max-width: 570px; overflow: visible; }
@media (max-width: 1150px) {
    .hero .hero-grid { gap: 35px; }
}
@media (max-width: 900px) {
    .hero { padding: 140px 0 65px; }
    .hero .hero-grid { gap: 24px; }
    .hero .hero-visual { max-width: 480px; }
}
@media (max-width: 600px) {
    .hero { padding: 122px 0 44px; }
    .hero .hero-grid { gap: 26px; }
    .hero .eyebrow { letter-spacing: 1.8px; }
    .hero .hero-description { margin-top: 26px; }
    .hero .hero-visual { width: 100%; max-width: 390px; }
}

/* Tierra digital: solo el Hero. El canvas anima la longitud, no gira un disco plano. */
.hero { background: radial-gradient(ellipse at 90% 48%, rgba(31,143,178,.09), transparent 52%), var(--bg-main); }
.hero .hero-visual { position: relative; width: 122%; max-width: none; transform: translateX(24px); }
.hero .network-sphere { width: 100%; max-width: none; }
.network-globe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.globe-ready .network-sphere { opacity: 0; }
.globe-caption { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 500; letter-spacing: 1.6px; color: #83a8ba; }
@media (max-width: 900px) {
    .hero .hero-visual { width: 100%; max-width: 550px; transform: none; }
}
@media (max-width: 600px) {
    .hero .hero-visual { max-width: 390px; }
    .globe-caption { bottom: 0; font-size: 8px; letter-spacing: 1.1px; }
}

/* Composición final del Hero: luces compartidas, órbitas y microdetalles. */
.hero { padding: 116px 0 62px; background: radial-gradient(ellipse at 67% 58%, rgba(18,61,90,.2), transparent 58%), radial-gradient(ellipse at 95% 45%, rgba(31,143,178,.08), transparent 42%), var(--bg-main); }
.hero .hero-grid { gap: 44px; }
.hero .hero-content { position: relative; z-index: 1; }
.hero .hero-visual { width: 130%; transform: translate(28px, 26px); }
.hero-capabilities { margin-top: 24px; font-size: 10px; line-height: 1.8; letter-spacing: .6px; color: #83a5b8; }
.hero .globe-caption { bottom: 11%; left: 10%; right: auto; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(112,180,197,.16); border-radius: 999px; background: rgba(8,19,29,.48); font-size: 9px; letter-spacing: 1px; color: #a0bccb; }
.globe-caption > span { width: 4px; height: 4px; border-radius: 50%; background: #2ED3B7; box-shadow: 0 0 9px rgba(46,211,183,.25); }
@media (max-width: 1150px) { .hero .hero-grid { gap: 26px; } }
@media (max-width: 900px) {
    .hero { padding: 124px 0 42px; }
    .hero .hero-grid { gap: 14px; }
    .hero .hero-visual { width: 100%; max-width: 550px; transform: translate(24px, 10px); }
}
@media (max-width: 600px) {
    .hero { padding: 113px 0 36px; }
    .hero .hero-visual { max-width: 390px; transform: translate(14px, 8px); }
    .hero-capabilities { font-size: 9px; letter-spacing: .2px; margin-top: 20px; }
    .hero .globe-caption { bottom: 6%; left: 5%; font-size: 8px; }
}
/* Desacoplar el tamaño del planeta de la altura del bloque evita espacio muerto arriba. */
@media (min-width: 901px) {
    .hero .hero-visual { height: clamp(430px, 40vw, 560px); }
    .hero .network-sphere, .hero .network-globe { position: absolute; top: 50%; left: 0; width: 100%; height: auto; aspect-ratio: 1; transform: translateY(-50%); }
}

/* Servicios: micrográficos vectoriales propios; el grid 3+2 y los breakpoints se conservan. */
.services .service-icon { margin-bottom: 12px; }
.services .service-icon svg { stroke-width: 1.4; }
.services .service-graphic { width: 100%; height: 120px; margin: 0 0 24px; pointer-events: none; }
.services .service-graphic svg { width: 100%; height: 100%; overflow: visible; }
.services .graphic-panel { fill: #0c2434; stroke: #315a6e; stroke-width: 1; }
.services .graphic-soft { fill: rgba(31,143,178,.12); stroke: rgba(93,161,189,.23); stroke-width: .7; }
.services .graphic-line { stroke: #568399; stroke-width: 1.2; }
.services .graphic-accent { stroke: #6bc9c3; stroke-width: 1.3; }
.services .graphic-connection { stroke: #385f74; stroke-width: 1; }
.services .graphic-dot { fill: #2ED3B7; }
.services .graphic-muted-dot { fill: #416b80; }
.services .graphic-emphasis { fill: #10313e; stroke: rgba(46,211,183,.45); }
.services .graphic-node { fill: #102b3c; stroke: #47768a; stroke-width: 1; }
.services .graphic-label { fill: #94b8c6; font-family: inherit; font-size: 11px; font-weight: 500; text-anchor: middle; stroke: none; }
.services .graphic-signal { stroke: #2ED3B7; stroke-width: 1; stroke-dasharray: 5 22; opacity: .25; transition: opacity .3s; }
.services .graphic-module, .services .graphic-float { transform-box: fill-box; transform-origin: center; transition: transform .35s, filter .35s; }
.services .service-card { transition: transform .25s, border-color .25s, box-shadow .25s; }
.services .service-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: radial-gradient(ellipse at 75% 20%, rgba(46,211,183,.075), transparent 68%);
    opacity: 0; transition: opacity .3s; pointer-events: none;
}
.services .service-card:nth-child(2) { border-color: rgba(46,211,183,.33); background: radial-gradient(ellipse at 90% 0, rgba(46,211,183,.07), transparent 60%), linear-gradient(145deg, #123141, #0b1d2b); }
.services .service-card:nth-child(2) .service-graphic { filter: drop-shadow(0 7px 13px rgba(46,211,183,.025)); }
.services .service-card:focus-within { transform: translateY(-5px); border-color: rgba(46,211,183,.48); box-shadow: 0 20px 40px rgba(0,0,0,.24), inset 0 1px 0 rgba(46,211,183,.08); }
.services .service-card:focus-within::after { opacity: 1; }
.services .service-card:focus-within .graphic-float { transform: translateY(-3px); }
.services .service-card:focus-within .graphic-signal { opacity: .7; animation: service-data-flow 2.8s linear infinite; }
@media (hover: hover) {
    .services .service-card:hover { transform: translateY(-5px); border-color: rgba(46,211,183,.48); box-shadow: 0 20px 40px rgba(0,0,0,.24), inset 0 1px 0 rgba(46,211,183,.08); }
    .services .service-card:hover::after { opacity: 1; }
    .services .service-card:hover .graphic-float { transform: translateY(-3px); }
    .services .service-card:hover .graphic-module { transform: translateY(-1px); }
    .services .service-card:hover .graphic-signal { opacity: .7; animation: service-data-flow 2.8s linear infinite; }
}
@keyframes service-data-flow { to { stroke-dashoffset: -54; } }
@media (min-width: 901px) {
    .services .service-card:nth-child(n+4) {
        display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
        grid-template-rows: auto auto 1fr auto; column-gap: 24px;
    }
    .services .service-card:nth-child(n+4) .service-icon { grid-column: 1; grid-row: 1; margin-bottom: 22px; }
    .services .service-card:nth-child(n+4) h3 { grid-column: 1; grid-row: 2; }
    .services .service-card:nth-child(n+4) p { grid-column: 1; grid-row: 3; }
    .services .service-card:nth-child(n+4) > a { grid-column: 1; grid-row: 4; }
    .services .service-card:nth-child(n+4) .service-graphic { grid-column: 2; grid-row: 1 / -1; height: 180px; align-self: center; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .services .graphic-signal { animation: none !important; }
    .services .graphic-float, .services .graphic-module { transform: none !important; }
}

/* Tarjeta derecha de automatización: recorrido secuencial, sin JS ni dependencias. */
.automation-section .flow-panel {
    border-color: rgba(106,177,200,.3);
    background: radial-gradient(ellipse at 52% 44%, rgba(31,143,178,.11), transparent 65%), linear-gradient(145deg, #0b2233, #06131e);
    box-shadow: 0 24px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(179,225,243,.09);
}
.automation-section .flow-panel::before {
    background-image: linear-gradient(rgba(114,178,199,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(114,178,199,.04) 1px, transparent 1px), radial-gradient(rgba(132,200,213,.15) .7px, transparent .7px);
    background-size: 28px 28px, 28px 28px, 28px 28px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 90%);
}
.automation-section .flow-top > span:first-child { color: #b7ceda; letter-spacing: .4px; }
.automation-section .flow-top .status-pill { display: inline-flex; align-items: center; gap: 6px; border-color: rgba(46,211,183,.23); }
.automation-section .flow-top .status-pill::before { content: ""; width: 4px; height: 4px; background: #2ED3B7; border-radius: 50%; animation: flow-status 9s ease-in-out infinite; }
.automation-section .automation-flow { margin-top: 36px; margin-bottom: 30px; }
.automation-section .automation-flow li { color: #cadde7; }
.automation-section .automation-flow li::before, .automation-section .automation-flow li::after { content: none; }
.automation-section .automation-flow .flow-node {
    width: 48px; height: 48px; margin-bottom: 16px; border-radius: 11px;
    border-color: rgba(102,168,188,.45); background: linear-gradient(145deg, #143649, #0b2233);
    color: #91c9cf; box-shadow: 0 7px 14px rgba(0,0,0,.22), inset 0 1px 0 rgba(191,235,244,.07);
    animation: flow-node-active 9s ease-in-out infinite;
}
.automation-section .flow-node svg { width: 23px; height: 23px; }
.automation-section .automation-flow li:nth-child(2) .flow-node { animation-delay: 1.8s; }
.automation-section .automation-flow li:nth-child(3) .flow-node {
    border-color: rgba(46,211,183,.64); color: #2ED3B7;
    background: radial-gradient(ellipse at 50% 0, rgba(46,211,183,.09), transparent 80%), linear-gradient(145deg, #16434b, #0c2939);
    box-shadow: 0 0 24px rgba(46,211,183,.09), 0 7px 14px rgba(0,0,0,.2), inset 0 1px 0 rgba(154,240,219,.12);
    animation-delay: 3.6s;
}
.automation-section .automation-flow li:nth-child(4) .flow-node { animation-delay: 5.4s; }
.automation-section .automation-flow li:nth-child(5) .flow-node { animation-delay: 7.2s; }
.automation-section .flow-link { position: absolute; top: 24px; left: calc(50% + 24px); width: calc(100% - 38px); height: 1px; background: linear-gradient(90deg, #3b7288, #4a8c95); }
.automation-section .flow-link::before { content: ""; position: absolute; left: -2px; top: -1.5px; width: 3px; height: 3px; border-radius: 50%; background: #609cab; }
.automation-section .flow-link::after { content: ""; position: absolute; right: 2px; top: -2px; width: 4px; height: 4px; border-top: 1px solid #87b3bb; border-right: 1px solid #87b3bb; transform: rotate(45deg); }
.automation-section .flow-packet { position: absolute; left: 0; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: #70e2ce; box-shadow: 0 0 7px rgba(46,211,183,.6); opacity: 0; animation: flow-packet-travel 9s linear infinite; }
.automation-section li:nth-child(2) .flow-packet { animation-delay: 1.8s; }
.automation-section li:nth-child(3) .flow-packet { animation-delay: 3.6s; }
.automation-section li:nth-child(4) .flow-packet { animation-delay: 5.4s; }
.automation-section .flow-note { position: relative; flex-wrap: wrap; gap: 9px; font-size: 10px; color: #b3cbd6; padding-top: 21px; border-color: rgba(97,157,180,.2); }
.automation-section .flow-note::before { content: ""; position: absolute; top: -1px; left: 0; width: 36%; height: 1px; background: linear-gradient(90deg, rgba(46,211,183,.4), transparent); }
.automation-section .flow-progress { display: inline-flex; gap: 4px; margin-left: auto; }
.automation-section .flow-progress i { width: 9px; height: 3px; border-radius: 2px; background: #315a6a; animation: flow-progress-active 9s ease-in-out infinite; }
.automation-section .flow-progress i:nth-child(2) { animation-delay: 1.8s; }
.automation-section .flow-progress i:nth-child(3) { animation-delay: 3.6s; }
.automation-section .flow-progress i:nth-child(4) { animation-delay: 5.4s; }
.automation-section .flow-progress i:nth-child(5) { animation-delay: 7.2s; }
@keyframes flow-packet-travel { 0% { opacity: 0; left: 0; } 3% { opacity: .9; } 18% { opacity: .9; left: calc(100% - 4px); } 20%,100% { opacity: 0; left: calc(100% - 4px); } }
@keyframes flow-node-active { 0%,22%,100% { filter: brightness(1); } 7%,16% { filter: brightness(1.18); } }
@keyframes flow-status { 0%,100% { opacity: .5; box-shadow: 0 0 0 rgba(46,211,183,0); } 50% { opacity: 1; box-shadow: 0 0 7px rgba(46,211,183,.25); } }
@keyframes flow-progress-active { 0%,22%,100% { background: #315a6a; } 7%,16% { background: #2ED3B7; } }
@media (max-width: 600px) {
    .automation-section .automation-flow li { padding-left: 72px; min-height: 48px; }
    .automation-section .flow-link { top: 48px; left: 24px; width: 1px; height: 20px; }
    .automation-section .flow-link::before { left: -1px; top: 0; }
    .automation-section .flow-link::after { top: auto; bottom: 3px; right: -2px; transform: rotate(135deg); }
    .automation-section .flow-packet { left: -1.5px; top: 0; animation-name: flow-packet-vertical; }
}
@keyframes flow-packet-vertical { 0% { opacity: 0; top: 0; } 3% { opacity: .9; } 18% { opacity: .9; top: calc(100% - 4px); } 20%,100% { opacity: 0; top: calc(100% - 4px); } }
@media (prefers-reduced-motion: reduce) {
    .automation-section .flow-node, .automation-section .flow-packet, .automation-section .flow-progress i, .automation-section .flow-top .status-pill::before { animation: none; }
    .automation-section .flow-packet { opacity: .5; }
}

/* Nuestro proceso: recorrido suave de 12 s, sincronizado con los centros reales. */
.process-section .process-line::before {
    left: var(--process-x, 22.5px); top: var(--process-y, 22.5px);
    right: auto; bottom: auto; width: var(--process-distance, calc(75% + 24px)); height: 1px;
    background: linear-gradient(90deg, #254b60, #356476, #254b60);
}
.process-section .process-item { z-index: 1; }
.process-section .process-travel {
    position: absolute; left: var(--process-x, 22.5px); top: var(--process-y, 22.5px);
    width: var(--process-distance, calc(75% + 24px)); height: 1px;
    z-index: 0; pointer-events: none;
}
.process-section .process-progress { position: absolute; inset: 0; transform-origin: left center; background: linear-gradient(90deg, rgba(46,211,183,.2), rgba(46,211,183,.65)); animation: process-progress-horizontal 12s linear infinite paused; }
.process-section .process-packet {
    position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
    background: #7be0cf; box-shadow: 0 0 8px rgba(46,211,183,.55), 0 0 18px rgba(46,211,183,.13);
    transform: translateX(-50%); animation: process-travel-horizontal 12s linear infinite paused;
}
.process-section .process-number {
    animation: process-node-active 12s ease-in-out infinite paused;
    animation-delay: var(--process-arrival, 0s);
}
.process-section .process-running .process-progress,
.process-section .process-running .process-packet,
.process-section .process-running .process-number { animation-play-state: running; }
@keyframes process-travel-horizontal {
    0% { left: 0; opacity: 0; } 2% { opacity: .9; }
    90% { left: 100%; opacity: .9; } 95%,100% { left: 100%; opacity: 0; }
}
@keyframes process-progress-horizontal {
    0% { transform: scaleX(0); opacity: .5; }
    90% { transform: scaleX(1); opacity: .7; }
    97%,100% { transform: scaleX(1); opacity: 0; }
}
@keyframes process-node-active {
    0%,14%,100% { color: #8be4d7; border-color: #3b7283; box-shadow: inset 0 1px 0 rgba(183,235,247,.1); }
    3%,7% { color: #c5f5e9; border-color: rgba(46,211,183,.65); box-shadow: 0 0 17px rgba(46,211,183,.15), inset 0 1px 0 rgba(183,235,247,.15); }
}
@media (max-width: 600px) {
    .process-section .process-line::before, .process-section .process-travel { width: 1px; height: var(--process-distance, 75%); }
    .process-section .process-progress { transform-origin: center top; background: linear-gradient(rgba(46,211,183,.2), rgba(46,211,183,.65)); animation-name: process-progress-vertical; }
    .process-section .process-packet { top: 0; left: -2px; transform: translateY(-50%); animation-name: process-travel-vertical; }
}
@keyframes process-travel-vertical {
    0% { top: 0; opacity: 0; } 2% { opacity: .9; }
    90% { top: 100%; opacity: .9; } 95%,100% { top: 100%; opacity: 0; }
}
@keyframes process-progress-vertical {
    0% { transform: scaleY(0); opacity: .5; }
    90% { transform: scaleY(1); opacity: .7; }
    97%,100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .process-section .process-number, .process-section .process-progress, .process-section .process-packet { animation: none; }
    .process-section .process-progress, .process-section .process-packet { opacity: 0; }
}

/* Casos: capturas completas dentro de un marco oscuro consistente. */
.projects-section .project-preview {
    padding: 19px;
    background: radial-gradient(ellipse at 50% 10%, rgba(31,143,178,.1), transparent 70%), linear-gradient(145deg, #112b3b, #091722);
}
.projects-section .project-preview::before, .projects-section .project-preview::after { content: none; }
.projects-section .project-preview > .case-screen {
    position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0;
    overflow: hidden; border: 1px solid rgba(148,195,211,.24); border-radius: 8px;
    background: #08131D; box-shadow: 0 12px 25px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
}
.projects-section .case-screen::before {
    content: ""; display: block; flex: 0 0 17px; border-bottom: 1px solid rgba(133,185,206,.12);
    background: radial-gradient(circle at 10px 8px, #467c8d 1.5px, transparent 2px), radial-gradient(circle at 18px 8px, #315365 1.5px, transparent 2px), radial-gradient(circle at 26px 8px, #315365 1.5px, transparent 2px), linear-gradient(90deg, #122c3c, #0c202e);
}
.projects-section .case-screen img {
    display: block; width: 100%; height: calc(100% - 17px); min-height: 0;
    object-fit: contain; object-position: center; filter: saturate(.9) brightness(.94);
}
@media (max-width: 600px) { .projects-section .project-preview { padding: 16px; } }

/* Nosotros: identidad de marca, sin cambios en el grid de dos columnas. */
.about-section {
    background: radial-gradient(ellipse at 64% 52%, rgba(18,61,90,.16), transparent 58%), radial-gradient(ellipse at 87% 44%, rgba(31,143,178,.08), transparent 45%), var(--bg-main);
}
.about-section .about-content .about-concepts { margin-top: 23px; color: #83a8b9; font-size: 11px; letter-spacing: .35px; line-height: 1.8; }
.about-section .text-link {
    position: relative; margin-top: 24px; padding-bottom: 7px;
    color: #68d9c6; font-size: 15px; font-weight: 600;
    transition: color .2s;
}
.about-section .text-link > span { display: inline-block; margin-left: 12px; font-weight: 400; transition: transform .25s; }
.about-section .text-link::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(46,211,183,.65), rgba(46,211,183,.16)); transform: scaleX(.2); transform-origin: left center; transition: transform .3s; }
.about-section .text-link:hover, .about-section .text-link:focus-visible { color: #a0e7d9; }
.about-section .text-link:hover::after, .about-section .text-link:focus-visible::after { transform: scaleX(1); }
.about-section .text-link:hover > span { transform: translateX(3px); }
.about-section .about-visual { isolation: isolate; }
.about-section .about-visual::before { content: ""; position: absolute; inset: -16px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 65% 42%, rgba(31,143,178,.16), rgba(18,61,90,.06) 45%, transparent 73%); }
.about-section .about-square { pointer-events: none; border-color: rgba(100,178,197,.15); }
.about-section .square-one { width: 230px; height: 230px; transform: rotate(-20deg) scaleY(.85); }
.about-section .square-two { width: 180px; height: 180px; transform: rotate(30deg) scaleY(.7); }
.about-section .about-main-card {
    min-height: 420px;
    background: radial-gradient(ellipse at 68% 36%, rgba(31,143,178,.17), transparent 55%), radial-gradient(ellipse at 91% 17%, rgba(46,211,183,.045), transparent 45%), linear-gradient(145deg, #102c3f, #081824 78%);
    border-color: rgba(130,192,208,.3);
    box-shadow: 0 26px 55px rgba(0,0,0,.32), inset 0 1px 0 rgba(181,230,243,.1);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.about-section .brand-geometry { top: 72px; right: 16px; width: 76%; height: 190px; opacity: 1; filter: drop-shadow(0 13px 16px rgba(0,0,0,.24)) drop-shadow(0 0 12px rgba(31,143,178,.1)); }
.about-section .brand-connectivity { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.about-section .about-principle { position: absolute; top: 60px; left: 33px; right: 24px; font-size: 10px; letter-spacing: .7px; color: #87a8b9; }
.about-section .about-main-card strong { font-size: 29px; line-height: 1.24; font-weight: 500; }
.about-section .about-result { font-weight: 650; color: #6cd6c5; }
@media (hover: hover) {
    .about-section .about-main-card:hover { transform: translateY(-4px); border-color: rgba(105,204,202,.43); box-shadow: 0 30px 60px rgba(0,0,0,.34), 0 0 36px rgba(31,143,178,.065), inset 0 1px 0 rgba(181,230,243,.12); }
}
@media (min-width: 901px) {
    .about-section .about-visual::after { content: ""; position: absolute; top: 56%; left: -50px; width: 82px; height: 1px; background: linear-gradient(90deg, transparent, rgba(112,178,197,.2), transparent); pointer-events: none; }
}
@media (max-width: 900px) { .about-section .about-principle { left: 24px; font-size: 9px; letter-spacing: .4px; } }
@media (max-width: 600px) { .about-section .about-content .about-concepts { font-size: 10px; } }
@media (max-width: 600px) {
    .about-section .about-visual::before { inset: -16px 0; }
}
/* Contener las órbitas decorativas dentro de la sección, sin ocultar contenido. */
.about-section { overflow: clip; }

/* Logo oficial: imagen original intacta, proporción conservada y contraste para oscuro. */
.about-section .about-brand-logo {
    position: absolute; top: 92px; left: 24px;
    width: calc(100% - 48px); height: 180px;
    object-fit: contain; object-position: center;
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 8px 14px rgba(0,0,0,.14));
}

/* Hablemos: flujo de automatización decorativo y botón WhatsApp refinado. */
.contact-section .contact-card > div:first-child { max-width: 64%; }
.contact-section #whatsappContact {
    min-height: 44px; padding: 10px 20px; gap: 10px; font-weight: 650;
    transition: background .2s, box-shadow .25s, transform .25s;
}
.contact-section #whatsappContact:hover { box-shadow: 0 0 22px rgba(46,211,183,.16), 0 7px 18px rgba(0,0,0,.16); transform: translateY(-1px); }
.contact-section .contact-whatsapp-icon { width: 18px; height: 18px; flex-shrink: 0; }
.contact-section .contact-network {
    position: absolute; right: 35px; top: 50%; width: 32%; max-width: 360px; height: auto;
    transform: translateY(-50%); pointer-events: none;
}
.contact-section .contact-network-lines { stroke: #43798d; stroke-opacity: .6; stroke-width: 1; }
.contact-section .contact-network-block { fill: #0c2535; stroke: #416f83; stroke-opacity: .7; stroke-width: 1; }
.contact-section .contact-network-icons { stroke: #90c2cc; stroke-width: 1.2; }
.contact-section .contact-network-core { fill: #123847; stroke: #2ED3B7; stroke-opacity: .6; stroke-width: 1.3; }
.contact-section .contact-network-core path { fill: none; stroke: #80dccb; }
.contact-section .contact-network-nodes { fill: #2ED3B7; fill-opacity: .7; }
.contact-section .contact-network-labels { fill: #94b6c6; text-anchor: middle; font-family: inherit; font-size: 10px; font-weight: 500; letter-spacing: .25px; }
.contact-section .contact-data { stroke: #76d8ca; stroke-width: 1.3; stroke-dasharray: 3 44; stroke-opacity: .65; animation: contact-data-travel 14s linear infinite; }
.contact-section .contact-circle { opacity: .7; }
@keyframes contact-data-travel { to { stroke-dashoffset: -188; } }
@media (max-width: 900px) {
    .contact-section .contact-card > div:first-child { max-width: none; }
    .contact-section .contact-decoration { position: relative; inset: auto; margin-top: 24px; }
    .contact-section .contact-network { display: block; position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 350px; margin-inline: auto; }
    .contact-section .contact-circle { right: calc(50% - 220px); top: calc(50% - 220px); }
    .contact-section .circle-two { right: calc(50% - 160px); top: calc(50% - 160px); }
    .contact-section .circle-three { right: calc(50% - 100px); top: calc(50% - 100px); }
}
@media (max-width: 600px) {
    .contact-section .contact-network { max-width: 300px; }
    .contact-section #whatsappContact { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .contact-section .contact-data { animation: none; } }

/* Ajustes finales NAV + HERO: hover de marca y microfrases orbitales discretas. */
.header .nav-cta { transition: background .3s, border-color .3s, color .3s, box-shadow .3s; }
.header .nav-cta:hover, .header .nav-cta:focus-visible {
    background: #2ED3B7; color: #050B12; border-color: #2ED3B7;
    box-shadow: 0 0 18px rgba(46,211,183,.12);
}
.hero .network-globe { filter: brightness(1.05); }
.hero .hero-visual.globe-ready::before {
    content: "";
    inset: 0;
    background: radial-gradient(ellipse at 53% 47%, rgba(21,118,151,.18), rgba(21,118,151,.075) 54%, transparent 73%);
}
@media (min-width: 1151px) {
    .hero .hero-visual { transform: translate(5px, 26px); }
}
.hero .globe-caption {
    border-color: rgba(112,180,197,.2); background: rgba(8,19,29,.66);
    box-shadow: 0 0 14px rgba(31,143,178,.045); color: #a9c6d2; pointer-events: none;
}
.hero .globe-phrase-data { top: 33%; bottom: auto; left: 59%; }
.hero .globe-phrase-automation { bottom: 28%; left: 9%; }
.hero .globe-phrase-integration { top: 7%; bottom: auto; left: 21%; }
@media (max-width: 1150px) { .hero .globe-phrase-data { left: 52%; } }
@media (max-width: 600px) {
    .hero .globe-caption { font-size: 7.5px; letter-spacing: .4px; padding: 6px 9px; gap: 6px; }
    .hero .globe-phrase-data { top: 33%; bottom: auto; left: 56%; }
    .hero .globe-phrase-automation { bottom: 28%; left: 6%; }
    .hero .globe-phrase-integration { top: 7%; bottom: auto; left: 17%; }
}
@media (min-width: 601px) and (max-width: 1150px) { .hero .globe-phrase-data { left: 48%; } }

/* Servicios del Home: una sola CTA, con las tarjetas y sus animaciones conservadas. */
.services .services-overview-cta, .projects-section .products-overview-cta {
    justify-self: end; align-self: end; min-height: 52px;
    padding: 11px 28px; border-radius: 999px;
    border: 1px solid rgba(151,193,213,.27);
    background: linear-gradient(135deg, rgba(76,121,146,.1), rgba(15,36,52,.1));
    color: #d9e7ee; font-size: 16px; font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(211,236,247,.045);
    transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.services .services-overview-cta:hover, .services .services-overview-cta:focus-visible,
.projects-section .products-overview-cta:hover, .projects-section .products-overview-cta:focus-visible {
    transform: none; background: #2ED3B7; color: #050B12; border-color: #2ED3B7;
    box-shadow: 0 0 18px rgba(46,211,183,.12);
}
/* Reservar la altura del enlace retirado mantiene las proporciones de las tarjetas. */
.services .service-card > p::after { content: ""; display: block; height: 19.2px; }
