/* ============================================
   SKYLANCH — Premium Interactive Layer v2
   Vercel / Linear / Framer level
   ============================================ */

/* ═══════════════════════════════════════════
   1. GLOBAL POINTER GLOW (halo cursor)
   ═══════════════════════════════════════════ */
.pointer-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
}

.pointer-glow.active { opacity: 1; }

.pointer-glow--dark {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════
   2. SCROLL PROGRESS BAR (thicker, glowing)
   ═══════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #2563EB, #60a5fa, #93c5fd);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8), 0 0 40px rgba(37, 99, 235, 0.4);
    z-index: 2000;
    transition: width 0.15s ease-out;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   3. ANIMATED GRID BACKGROUND (Stripe-style)
   ═══════════════════════════════════════════ */
.bg-grid {
    position: relative;
    isolation: isolate;
}

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.bg-grid--dark::before {
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
}

/* ═══════════════════════════════════════════
   4. AURORA / MESH GRADIENT BLOBS
   ═══════════════════════════════════════════ */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
    animation: aurora-drift 20s ease-in-out infinite;
}

.aurora-blob--1 {
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2563EB 0%, transparent 70%);
    animation-delay: 0s;
}

.aurora-blob--2 {
    top: 30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    animation-delay: -7s;
    animation-duration: 25s;
}

.aurora-blob--3 {
    bottom: -20%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes aurora-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -80px) scale(1.1); }
    66% { transform: translate(-60px, 60px) scale(0.9); }
}

/* ═══════════════════════════════════════════
   5. SPOTLIGHT CARDS (much more visible)
   ═══════════════════════════════════════════ */
.spotlight {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-clip: padding-box;
}

.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--spotlight-x, -100%) var(--spotlight-y, -100%),
        rgba(37, 99, 235, 0.28),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.spotlight:hover::before { opacity: 1; }

.spotlight::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        400px circle at var(--spotlight-x, -100%) var(--spotlight-y, -100%),
        rgba(37, 99, 235, 1),
        rgba(37, 99, 235, 0) 45%
    );
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.spotlight:hover::after { opacity: 1; }

.spotlight > * {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════
   6. 3D TILT
   ═══════════════════════════════════════════ */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* ═══════════════════════════════════════════
   7. MAGNETIC BUTTONS
   ═══════════════════════════════════════════ */
.magnetic {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.magnetic-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   8. MARQUEE PREMIUM (bigger, gradient text)
   ═══════════════════════════════════════════ */
.marquee-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background:
        radial-gradient(ellipse at top, rgba(37, 99, 235, 0.04), transparent 70%),
        var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.marquee-section-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.marquee-section-label::before,
.marquee-section-label::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-text-light));
}

.marquee-section-label::after {
    background: linear-gradient(90deg, var(--color-text-light), transparent);
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-section:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
    background: linear-gradient(180deg, var(--color-text) 0%, var(--color-text-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.marquee-item:hover {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05);
}

.marquee-item::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.6;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.marquee-item:last-child::after { display: none; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   9. BIG STATS BAND (dramatic numbers)
   ═══════════════════════════════════════════ */
.stats-band {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0;
    background:
        radial-gradient(ellipse at center, #1e293b 0%, #0f172a 100%);
    color: var(--color-white);
    overflow: hidden;
    isolation: isolate;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.stats-band-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    z-index: 2;
}

.stat-block {
    position: relative;
    padding: 1rem;
}

.stat-block + .stat-block::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stat-huge {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw + 1rem, 7rem);
    line-height: 1;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #FFFFFF 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 60px rgba(96, 165, 250, 0.4);
}

.stat-huge--brand {
    font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem);
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(3.5rem, 7vw + 1rem, 7rem);
}

.stat-desc {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

@media (max-width: 900px) {
    .stats-band-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .stat-block + .stat-block::before { display: none; }
}

/* ═══════════════════════════════════════════
   10. BEAMS (light streaks for dark sections)
   ═══════════════════════════════════════════ */
.beams {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.beam {
    position: absolute;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(96, 165, 250, 0) 20%,
        rgba(96, 165, 250, 0.7) 50%,
        rgba(96, 165, 250, 0) 80%,
        transparent 100%);
    width: 1px;
    height: 60vh;
    animation: beam-fall 6s linear infinite;
    opacity: 0.5;
}

.beam:nth-child(1) { left: 15%; animation-delay: 0s; }
.beam:nth-child(2) { left: 35%; animation-delay: -2s; animation-duration: 8s; }
.beam:nth-child(3) { left: 55%; animation-delay: -4s; animation-duration: 7s; }
.beam:nth-child(4) { left: 78%; animation-delay: -1s; animation-duration: 9s; }
.beam:nth-child(5) { left: 92%; animation-delay: -3s; animation-duration: 6s; }

@keyframes beam-fall {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ═══════════════════════════════════════════
   11. GRADIENT BORDER animated
   ═══════════════════════════════════════════ */
.gradient-border {
    position: relative;
    isolation: isolate;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--gb-angle, 0deg),
        transparent 0deg,
        var(--color-primary) 90deg,
        var(--color-primary-light) 180deg,
        var(--color-primary) 270deg,
        transparent 360deg);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradient-spin 4s linear infinite;
    z-index: -1;
}

@property --gb-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes gradient-spin {
    to { --gb-angle: 360deg; }
}

/* ═══════════════════════════════════════════
   12. TEXT SHINE effect (headings)
   ═══════════════════════════════════════════ */
.text-shine {
    background: linear-gradient(
        110deg,
        var(--color-text) 30%,
        var(--color-primary) 50%,
        var(--color-text) 70%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shine 5s linear infinite;
}

@keyframes text-shine {
    to { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   12b. PROBLEMA DARK (Existe un problema)
   ═══════════════════════════════════════════ */
.section-problema-dark {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0;
    background: #0a0f1e;
    color: var(--color-white);
    overflow: hidden;
    isolation: isolate;
}

.problema-dark-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.problema-dark-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(80%) contrast(1.1);
}

.problema-dark-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 15, 30, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
}

.problema-dark-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    text-align: center;
}

.problema-dark-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.problema-dark-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw + 1rem, 6rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-white);
    margin-bottom: 4rem;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.problema-dark-title-accent {
    background: linear-gradient(180deg, #60a5fa 0%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.problema-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-bottom: 4rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.problema-dark-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transition: transform var(--transition-base);
}

.problema-dark-item:hover {
    transform: translateY(-6px);
}

.problema-dark-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(96, 165, 250, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    box-shadow:
        0 12px 32px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    transition: all var(--transition-base);
}

.problema-dark-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.5), transparent);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.problema-dark-item:hover .problema-dark-icon {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0.15) 100%);
    box-shadow:
        0 16px 40px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.problema-dark-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.4;
    max-width: 160px;
}

.problema-dark-kicker {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
    box-shadow:
        0 20px 40px rgba(37, 99, 235, 0.4),
        0 0 0 1px rgba(96, 165, 250, 0.3);
    position: relative;
}

.problema-dark-kicker span {
    font-family: var(--font-body);
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-white);
    text-transform: uppercase;
}

.problema-dark-kicker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -80px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.6));
    transform: translateY(-50%);
}

.problema-dark-kicker::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.6), transparent);
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .problema-dark-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    .problema-dark-kicker::before,
    .problema-dark-kicker::after {
        display: none;
    }
    .problema-dark-icon {
        width: 60px;
        height: 60px;
    }
    .problema-dark-label {
        font-size: 0.75rem;
    }
}

/* ═══════════════════════════════════════════
   12c. ECOSISTEMA CONECTADO (flow diagram)
   ═══════════════════════════════════════════ */
.section-ecosistema {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0;
    background:
        radial-gradient(ellipse at center, rgba(37, 99, 235, 0.03) 0%, transparent 60%),
        var(--color-bg-secondary);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.section-ecosistema::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.ecosistema-title {
    letter-spacing: 0.01em;
}

.ecosistema-accent {
    background: linear-gradient(180deg, #60a5fa 0%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.ecosistema-flow {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    margin: 5rem 0 4rem;
    padding: 0 1rem;
}

/* Nodos genericos */
.ecosistema-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* Nodo Cliente */
.ecosistema-node--client .ecosistema-node-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.ecosistema-node--client:hover .ecosistema-node-circle {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.ecosistema-node-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 700;
}

/* Nodo SKYLANCH (hub central) */
.ecosistema-node--brand {
    position: relative;
    isolation: isolate;
}

.ecosistema-node-brand {
    width: clamp(170px, 22vw, 220px);
    height: clamp(170px, 22vw, 220px);
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    box-shadow:
        0 24px 60px rgba(37, 99, 235, 0.25),
        inset 0 0 0 8px rgba(255, 255, 255, 1),
        inset 0 0 0 9px rgba(37, 99, 235, 0.15);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.ecosistema-node-brand:hover {
    transform: scale(1.03);
}

.ecosistema-node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(170px, 22vw, 220px);
    height: clamp(170px, 22vw, 220px);
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    transform: translate(-50%, -50%);
    animation: ecosistema-pulse 2.4s ease-out infinite;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

@keyframes ecosistema-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.ecosistema-brand-mountain {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.ecosistema-brand-name {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 2vw + 0.5rem, 1.75rem);
    letter-spacing: 0.1em;
    color: var(--color-text);
    line-height: 1;
}

.ecosistema-brand-tag {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

/* Flechas */
.ecosistema-arrow {
    width: clamp(50px, 8vw, 100px);
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosistema-arrow svg {
    width: 100%;
    height: 24px;
    overflow: visible;
}

/* Servicios (columna derecha con badges) */
.ecosistema-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-width: 200px;
}

.ecosistema-service {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: default;
}

.ecosistema-service:hover {
    background: rgba(37, 99, 235, 0.06);
    transform: translateX(4px);
}

.ecosistema-service-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.ecosistema-service:hover .ecosistema-service-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.ecosistema-service span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text);
    text-transform: uppercase;
}

/* Kicker inferior "Todo en un solo lugar" */
.ecosistema-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.ecosistema-kicker-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.ecosistema-kicker-line:last-child {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.ecosistema-kicker-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 800;
}

/* Responsive: apilar en vertical */
@media (max-width: 900px) {
    .ecosistema-flow {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        justify-items: center;
    }
    .ecosistema-arrow {
        width: 40px;
        height: 48px;
    }
    .ecosistema-arrow svg {
        width: 40px;
        height: 48px;
        transform: rotate(90deg);
        transform-origin: center;
    }
    .ecosistema-services {
        width: 100%;
        max-width: 320px;
    }
    .ecosistema-node-brand {
        width: 190px;
        height: 190px;
    }
    .ecosistema-node-pulse {
        width: 190px;
        height: 190px;
    }
    .ecosistema-node--client .ecosistema-node-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .ecosistema-kicker {
        gap: 0.75rem;
    }
    .ecosistema-kicker-line {
        width: 30px;
    }
    .ecosistema-kicker-text {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
}

/* ═══════════════════════════════════════════
   13. Reduced motion / mobile fallbacks
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .text-shine,
    .aurora-blob,
    .beam,
    .gradient-border::before {
        animation: none;
    }
    .scroll-progress { transition: none; }
    .pointer-glow { display: none; }
}

@media (max-width: 768px) {
    .tilt { transform: none !important; }
    .magnetic { transform: none !important; }
    .magnetic-inner { transform: none !important; }
    .pointer-glow { display: none; }
    .beams { display: none; }
    .aurora-blob { animation-duration: 30s; }
}
