
:root {
    --primary: #2B5CE6;
    --primary-dark: #1A3FA3;
    --primary-light: #5B8AF5;
    --accent: #00D4AA;
    --accent-dark: #00A888;

    --dark-bg: #0B1222;
    --dark-surface: #131F33;
    --dark-card: #1A2A42;
    --dark-border: rgba(255, 255, 255, 0.08);

    --light-bg: #F5F7FF;
    --white: #FFFFFF;
    --border: #E2E8F0;

    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-on-dark: #E2E8F0;
    --text-on-dark-muted: #8899B4;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container: 1160px;
    --gap: clamp(24px, 4vw, 48px);
    --section: clamp(72px, 10vw, 112px);
}

/* =========================================
   reset y base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: var(--section) 0; }

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    text-wrap: balance;
    margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    text-wrap: balance;
    line-height: 1.7;
}

.section-sub.light { color: var(--text-on-dark-muted); }

/* =========================================
   botones
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(43, 92, 230, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-accent {
    background: var(--accent);
    color: #0B1222;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.35);
}

.btn-lg { padding: 17px 36px; font-size: 16px; }


/* =========================================
   navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 18, 34, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--dark-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--white);
}


/* =========================================
   hero
   ========================================= */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    pointer-events: none;
}

.hero {
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(43, 92, 230, 0.18) 0%, transparent 70%),
        linear-gradient(rgba(43, 92, 230, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 92, 230, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.10);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    text-wrap: balance;
    margin-bottom: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-on-dark-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-wrap: balance;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-on-dark-muted);
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }


/* =========================================
   pilares
   ========================================= */
.pilares { background: var(--light-bg); }

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.pilar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.pilar-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pilar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(43, 92, 230, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.pilar-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.pilar-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* =========================================
   módulos
   ========================================= */
.modulos { background: var(--white); }

.modulos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.modulos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.modulo-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.modulo-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.modulo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.modulo-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.modulo-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modulo-card.featured {
    background: var(--dark-bg);
    border-color: transparent;
    grid-column: span 2;
}

.modulo-card.featured .modulo-icon {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
}

.modulo-card.featured h3 { color: var(--white); font-size: 17px; }
.modulo-card.featured p { color: var(--text-on-dark-muted); font-size: 14px; }


/* =========================================
   estadísticas
   ========================================= */
.stats { background: var(--dark-surface); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 16px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid var(--dark-border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-on-dark-muted);
    line-height: 1.5;
}


/* =========================================
   para quién es
   ========================================= */
.para-quien { background: var(--light-bg); }

.para-quien-header { margin-bottom: 56px; }

.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.target-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

.target-card:hover { box-shadow: var(--shadow-md); }

.target-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
}

.target-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.target-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* =========================================
   tecnología
   ========================================= */
.tecnologia { background: var(--dark-bg); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.tech-group h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--text-on-dark);
    font-weight: 500;
}


/* =========================================
   cta final
   ========================================= */
.cta-final {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1A3A8F 50%, #00A888 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-final .container { position: relative; }

.cta-final .section-title { color: var(--white); margin-bottom: 20px; }

.cta-final p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}


/* =========================================
   pie de página
   ========================================= */
.footer {
    background: #060D1A;
    padding: 64px 0 40px;
    border-top: 1px solid var(--dark-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-col ul a {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p { font-size: 13px; color: var(--text-on-dark-muted); }

.footer-bottom a { color: var(--accent); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent-dark); }


/* =========================================
   responsive
   ========================================= */
@media (max-width: 1024px) {
    .modulos-grid { grid-template-columns: repeat(3, 1fr); }
    .modulo-card.featured { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-mobile-toggle { display: block; }

    .pilares-grid { grid-template-columns: 1fr; }
    .modulos-grid { grid-template-columns: repeat(2, 1fr); }
    .modulo-card.featured { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .target-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .modulos-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .modulos-grid { grid-template-columns: 1fr; }
    .modulo-card.featured { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 140px 0 80px; }
    .tech-grid { grid-template-columns: 1fr; }
}


/* =========================================
   animaciones contextuales
   ========================================= */

/* --- keyframes --- */
@keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes layersFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
@keyframes gearSpin {
    to { transform: rotate(360deg); }
}
@keyframes shieldGlow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(43,92,230,0)); }
    50%       { filter: drop-shadow(0 0 8px rgba(43,92,230,.65)); }
}
@keyframes gpsPing {
    0%   { transform: scale(.8);  opacity: .85; }
    100% { transform: scale(2.8); opacity: 0; }
}
@keyframes docScan {
    0%   { top: 16%; opacity: 0; }
    8%   { opacity: .75; }
    92%  { opacity: .75; }
    100% { top: 84%; opacity: 0; }
}
@keyframes signalRing {
    from { transform: translate(-50%,-50%) scale(.15); opacity: .55; }
    to   { transform: translate(-50%,-50%) scale(3.8); opacity: 0; }
}
@keyframes orbDrift {
    0%, 100% { transform: translate(0,0)    scale(1); }
    33%       { transform: translate(40px,-55px) scale(1.12); }
    66%       { transform: translate(-28px,28px) scale(.92); }
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(0,212,170,.5), 0 0 0 0   rgba(0,212,170,.3); }
    50%       { box-shadow: 0 6px 24px rgba(0,212,170,.1), 0 0 0 14px rgba(0,212,170,0); }
}
@keyframes underlineSweep {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes inventoryPop {
    0%  { transform: scaleY(0); transform-origin: bottom; }
    60% { transform: scaleY(1.05); }
    100%{ transform: scaleY(1); transform-origin: bottom; }
}
@keyframes routeDash {
    to { stroke-dashoffset: -32; }
}


/* --- hero: entrada en cascada --- */
.hero-badge   { opacity: 0; animation: fadeUpIn .75s cubic-bezier(.22,.68,0,1.2) .15s forwards; }
.hero-title   { opacity: 0; animation: fadeUpIn .8s  cubic-bezier(.22,.68,0,1.2) .35s forwards; }
.hero-sub     { opacity: 0; animation: fadeUpIn .7s  ease .55s forwards; }
.hero-actions { opacity: 0; animation: fadeUpIn .7s  ease .70s forwards; }
.trust-item   { opacity: 0; animation: fadeUpIn .5s  ease forwards; }
.trust-item:nth-child(1) { animation-delay: .90s; }
.trust-item:nth-child(2) { animation-delay: 1.05s; }
.trust-item:nth-child(3) { animation-delay: 1.20s; }
.trust-item:nth-child(4) { animation-delay: 1.35s; }
.nav-logo-dot { animation: pulse 2.8s ease-in-out infinite; }


/* --- base de revelación al scroll --- */
.reveal, .reveal-left, .reveal-right { opacity: 0; }
.reveal.in       { opacity: 1; animation: revealUp    .65s cubic-bezier(.25,.8,.25,1) both; }
.reveal-left.in  { opacity: 1; animation: revealLeft  .65s cubic-bezier(.25,.8,.25,1) both; }
.reveal-right.in { opacity: 1; animation: revealRight .65s cubic-bezier(.25,.8,.25,1) both; }


/* --- delays escalonados --- */
.pilares-grid .pilar-card:nth-child(1).in { animation-delay: .00s; }
.pilares-grid .pilar-card:nth-child(2).in { animation-delay: .10s; }
.pilares-grid .pilar-card:nth-child(3).in { animation-delay: .20s; }
.pilares-grid .pilar-card:nth-child(4).in { animation-delay: .30s; }

.modulos-grid .modulo-card:nth-child(1).in  { animation-delay: .00s; }
.modulos-grid .modulo-card:nth-child(2).in  { animation-delay: .06s; }
.modulos-grid .modulo-card:nth-child(3).in  { animation-delay: .12s; }
.modulos-grid .modulo-card:nth-child(4).in  { animation-delay: .18s; }
.modulos-grid .modulo-card:nth-child(5).in  { animation-delay: .24s; }
.modulos-grid .modulo-card:nth-child(6).in  { animation-delay: .30s; }
.modulos-grid .modulo-card:nth-child(7).in  { animation-delay: .36s; }
.modulos-grid .modulo-card:nth-child(8).in  { animation-delay: .42s; }
.modulos-grid .modulo-card:nth-child(9).in  { animation-delay: .48s; }
.modulos-grid .modulo-card:nth-child(10).in { animation-delay: .54s; }
.modulos-grid .modulo-card:nth-child(11).in { animation-delay: .60s; }
.modulos-grid .modulo-card:nth-child(12).in { animation-delay: .66s; }

.stats-grid .stat-item:nth-child(1).in { animation-delay: .00s; }
.stats-grid .stat-item:nth-child(2).in { animation-delay: .10s; }
.stats-grid .stat-item:nth-child(3).in { animation-delay: .20s; }
.stats-grid .stat-item:nth-child(4).in { animation-delay: .30s; }
.stats-grid .stat-item:nth-child(5).in { animation-delay: .40s; }

.target-grid .target-card:nth-child(1).in { animation-delay: .00s; }
.target-grid .target-card:nth-child(2).in { animation-delay: .12s; }
.target-grid .target-card:nth-child(3).in { animation-delay: .22s; }
.target-grid .target-card:nth-child(4).in { animation-delay: .34s; }

.tech-grid .tech-group:nth-child(1).in { animation-delay: .00s; }
.tech-grid .tech-group:nth-child(2).in { animation-delay: .12s; }
.tech-grid .tech-group:nth-child(3).in { animation-delay: .24s; }


/* --- animaciones contextuales del ícono de pilar --- */
.pilar-card:nth-child(1) .pilar-icon svg { animation: layersFloat 2.8s ease-in-out infinite; }
.pilar-card:nth-child(2) .pilar-icon svg { animation: gearSpin 9s linear infinite; transform-origin: center; }
.pilar-card:nth-child(3) .pilar-icon svg { animation: shieldGlow 2.5s ease-in-out infinite; }
.pilar-card:nth-child(4) .pilar-icon svg { animation: layersFloat 3.2s ease-in-out infinite 0.5s; }


/* --- ícono de módulo --- */
.modulo-icon { position: relative; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.modulo-card:hover          .modulo-icon { transform: scale(1.12) rotate(-6deg); }
.modulo-card.featured:hover .modulo-icon { transform: scale(1.12) rotate( 6deg); }


/* anillo de ping gps en vivo */
.gps-ping {
    position: absolute; inset: -3px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    pointer-events: none;
    animation: gpsPing 2.2s ease-out infinite;
}
.gps-ping.delay { animation-delay: 1.1s; }


/* línea de escaneo del documento de orden (recortada en el ícono) */
.orders-card .modulo-icon { overflow: hidden; }
.doc-scan {
    position: absolute; left: 6%; width: 88%; height: 1.5px; top: 16%;
    background: linear-gradient(90deg, transparent, rgba(0,212,170,.85), transparent);
    pointer-events: none;
    animation: docScan 2.8s ease-in-out infinite;
}


/* pop de barra de inventario */
.inv-bar {
    position: absolute; bottom: 6px; border-radius: 2px;
    background: rgba(0,212,170,.55); pointer-events: none;
    width: 4px;
    animation: inventoryPop .5s ease both;
}


/* --- anillos de señal en fondo de estadísticas --- */
.stats { position: relative; overflow: hidden; }
.signal-tower {
    position: absolute; pointer-events: none;
    width: 0; height: 0;
}
.signal-tower::before,
.signal-tower::after,
.signal-tower span {
    content: '';
    display: block;
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(0,212,170,.13);
    top: 0; left: 0;
    animation: signalRing 4.5s ease-out infinite;
}
.signal-tower::after  { animation-delay: 1.5s; }
.signal-tower span    { display: block; animation-delay: 3s; }


/* --- barrido del subrayado del título de sección --- */
.section-label { position: relative; }
.section-label::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    height: 1.5px; width: 0;
    background: var(--accent);
}
.section-label.in::after { animation: underlineSweep .7s ease .25s forwards; }


/* --- efecto máquina de escribir en tags tecnológicos --- */
.tech-tag {
    opacity: 0;
    transform: translateY(8px) scale(.95);
    transition: opacity .35s ease, transform .35s ease,
                background .22s, color .22s, border-color .22s;
}
.tech-tags.tags-in .tech-tag                { opacity: 1; transform: none; }
.tech-tags.tags-in .tech-tag:nth-child(1)   { transition-delay: .00s; }
.tech-tags.tags-in .tech-tag:nth-child(2)   { transition-delay: .08s; }
.tech-tags.tags-in .tech-tag:nth-child(3)   { transition-delay: .16s; }
.tech-tags.tags-in .tech-tag:nth-child(4)   { transition-delay: .24s; }
.tech-tags.tags-in .tech-tag:nth-child(5)   { transition-delay: .32s; }
.tech-tags.tags-in .tech-tag:hover          { transition-delay: 0s; }
.tech-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


/* --- números objetivo se iluminan y permanecen --- */
.target-num { transition: color .6s ease .45s; }
.target-card.in .target-num,
.target-card.revealed .target-num { color: var(--primary-light); }


/* --- orbes flotantes del cta --- */
.cta-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none; filter: blur(80px);
    animation: orbDrift var(--dur,14s) ease-in-out infinite;
    animation-delay: var(--delay,0s);
}
.cta-final .btn-accent { animation: btnPulse 2.8s ease-in-out infinite; }


/* --- movimiento reducido --- */
@media (prefers-reduced-motion: reduce) {
    .hero-badge, .hero-title, .hero-sub, .hero-actions, .trust-item {
        opacity: 1 !important; animation: none !important;
    }
    .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important; animation: none !important;
    }
    .pilar-card .pilar-icon svg, .gps-ping, .doc-scan,
    .signal-tower::before, .signal-tower::after, .signal-tower span,
    .cta-orb, .cta-final .btn-accent, .nav-logo-dot { animation: none !important; }
    .tech-tag { opacity: 1 !important; transform: none !important; }
    .section-label::after { animation: none !important; width: 100% !important; }
    .target-num { transition: none !important; }
}
