/* Estilos personalizados DSS - Experiencia Interactiva y Diseño Premium */

:root {
    --primary-color: #B31A1E;
    --dark-bg: #1a1e29;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: rgba(0, 0, 0, 0.15);
    
    /* Colores de Dimensiones */
    --color-personas: #B31A1E;
    --color-procesos: #A0A0A0;
    --color-decisiones: #343a40;
}

/* Nube de Síntomas D3.js */
#bubble-cloud-container {
    background-color: var(--dark-bg);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
    min-height: 650px;
}

.symptom-node {
    cursor: grab;
    transition: filter 0.2s ease, stroke-width 0.2s ease;
}

.symptom-node:active {
    cursor: grabbing;
}

.symptom-node:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px var(--primary-color));
}

.symptom-node circle {
    stroke-dasharray: 4;
    animation: rotate-border 20s linear infinite;
}

@keyframes rotate-border {
    to {
        stroke-dashoffset: 20;
    }
}

.symptom-text {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 10px;
    font-weight: bold;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.center-bucket-circle {
    fill: rgba(179, 26, 30, 0.1);
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-dasharray: 8 4;
    transition: fill 0.3s ease;
}

.center-bucket-circle.drag-hover {
    fill: rgba(179, 26, 30, 0.3);
    stroke-width: 4;
}

.center-bucket-text {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: bold;
    fill: #ffffff;
    pointer-events: none;
    text-anchor: middle;
}

/* Glassmorphism para Contenedores */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Barras de Progreso Personalizadas para Diagnóstico */
.progress-dimension {
    height: 12px;
    border-radius: 6px;
    background-color: rgba(0,0,0,0.1);
    overflow: hidden;
}

.progress-bar-personas {
    background-color: var(--color-personas);
}

.progress-bar-procesos {
    background-color: var(--color-procesos);
}

.progress-bar-decisiones {
    background-color: var(--color-decisiones);
    border: 1px solid #ffffff;
}

/* Decoraciones y transiciones generales */
.text-personas { color: var(--color-personas); }
.text-procesos { color: var(--color-procesos); }
.text-decisiones { color: #ffffff; text-shadow: 0px 0px 4px #000; }

.badge-personas { background-color: var(--color-personas); }
.badge-procesos { background-color: var(--color-procesos); }
.badge-decisiones { background-color: var(--color-decisiones); border: 1px solid #ffffff; }

.border-personas { border-color: var(--color-personas) !important; }
.border-procesos { border-color: var(--color-procesos) !important; }
.border-decisiones { border-color: #ffffff !important; }

.divider-light {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Animaciones del Formulario y Carga */
.loading-spinner-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 30, 41, 0.85);
    z-index: 10;
    border-radius: 16px;
    
    /* Configurar Flexbox en CSS puro para centrado */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Botones de filtro de dimensión */
.btn-filter-dim {
    background-color: rgba(26, 30, 41, 0.6) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px !important;
    padding: 0.35rem 1.1rem !important;
    font-size: 0.825rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-dim:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

.btn-filter-dim.active {
    background-color: #1f2430 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.btn-filter-dim.active.border-personas { border-color: var(--color-personas) !important; }
.btn-filter-dim.active.border-procesos { border-color: var(--color-procesos) !important; }
.btn-filter-dim.active.border-decisiones { border-color: #ffffff !important; }

.filter-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.bg-personas { background-color: var(--color-personas); }
.bg-procesos { background-color: var(--color-procesos); }
.bg-decisiones { background-color: #ffffff; }

.btn-filter-dim:not(.active) .filter-dot {
    background-color: #555555 !important;
}

/* Estilos para la sección interactiva en dispositivos móviles */
@media (max-width: 768px) {
    #bubble-cloud-container {
        min-height: 400px;
    }
}

/* --- INTEGRACIÓN PREMIUM DE TOM SELECT (MODO OSCURO Y CORRECCIÓN DE Z-INDEX) --- */
.ts-dropdown {
    z-index: 1060 !important;
    background: #1a1e29 !important; /* Mismo fondo oscuro de la aplicacion */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px);
}

.ts-dropdown .option {
    padding: 10px 15px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.ts-dropdown .option:hover, .ts-dropdown .active {
    background: var(--color-personas, #B31A1E) !important; /* Rojo corporativo de DSS al seleccionar/activar */
    color: #ffffff !important;
}

.ts-control {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ts-control input {
    color: #ffffff !important;
}

.ts-control:focus, .ts-wrapper.focus .ts-control {
    border-color: var(--color-personas, #B31A1E) !important;
    box-shadow: 0 0 0 0.25rem rgba(179, 26, 30, 0.25) !important;
}

.ts-wrapper {
    position: relative;
    z-index: 20 !important; /* Eleva el stacking context por encima de alertas y divs hermanos */
}

/* Estilos de badges dentro de los dropdowns */
.ts-dropdown .optgroup-header {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-weight: bold;
}

/* ==========================================================================
   SECCIÓN: NOSOTROS (UNA MIRADA INTEGRAL) - DIAGRAMA SISTÉMICO
   ========================================================================== */
#about {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 80px;
}

#about h2, #about h3, #about h4 {
    color: #1a1e29 !important;
    font-family: 'Merriweather Sans', sans-serif;
}

#about p {
    color: #495057 !important;
}

/* Jerarquías de texto exactas */
.section-title-custom {
    font-size: 34px !important;
    font-weight: 700 !important;
}

.section-subtitle-custom {
    font-size: 18px !important;
    margin-top: 12px !important;
}

.section-intro-custom {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 780px !important;
    margin-top: 35px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Contenedor del diagrama de Venn */
.integral-diagram {
    position: relative;
    width: 720px;
    height: 540px;
    margin: 45px auto 0;
}

/* Círculos individuales */
.venn-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.circle-personas {
    background: rgba(198, 31, 41, 0.88) !important;
    color: #ffffff !important;
    left: 85px;
    top: 45px;
    padding: 60px 50px 60px 35px;
}

.circle-procesos {
    background: rgba(185, 185, 185, 0.90) !important;
    color: #1f252b !important;
    right: 85px;
    top: 45px;
    padding: 60px 35px 60px 50px;
}

.circle-decisiones {
    background: rgba(44, 50, 56, 0.92) !important;
    color: #ffffff !important;
    left: 225px;
    top: 235px;
    padding: 125px 45px 35px;
}

/* Contenido dentro del círculo */
.circle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.circle-icon {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.circle-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
    color: inherit !important;
}

.circle-desc {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin-bottom: 0;
    color: inherit !important;
}

#about .venn-circle.circle-personas h4,
#about .venn-circle.circle-personas p,
#about .venn-circle.circle-personas i,
#about .venn-circle.circle-personas .circle-desc,
#about .venn-circle.circle-decisiones h4,
#about .venn-circle.circle-decisiones p,
#about .venn-circle.circle-decisiones i,
#about .venn-circle.circle-decisiones .circle-desc {
    color: #ffffff !important;
}

#about .venn-circle.circle-personas .circle-desc {
    color: rgba(255, 255, 255, 0.95) !important;
}

#about .venn-circle.circle-decisiones .circle-desc {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Intersección Central */
.venn-intersection {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    position: absolute;
    left: 297px;
    top: 205px;
    z-index: 10;
    background: #1a1e29;
    border: 2px solid #B31A1E;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.intersection-content {
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    padding: 12px;
}

/* Conector vertical corto entre el sistema de esferas y la franja de resultados */
.results-connector-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 505px;
    width: 2px;
    height: 32px;
    background: #c61f29;
    z-index: 2;
}

/* Franja de Resultados Organizacionales (Independiente) */
.results-section {
    margin-top: 45px;
    text-align: center;
}

.results-band-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 14px;
    color: #1a1e29 !important;
}

.results-chips {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.result-chip {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-top: 2px solid #c61f29;
    border-radius: 5px;
    color: #343a40;
    padding: 10px 16px;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    min-width: 125px;
    text-align: center;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Estilos de la versión móvil responsiva */
.mobile-dimension-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-align: center;
}

.border-personas-left { border-top: 4px solid #B31A1E; }
.border-procesos-left { border-top: 4px solid #A0A0A0; }
.border-decisiones-left { border-top: 4px solid #343a40; }

.text-personas { color: #B31A1E; }
.text-procesos { color: #808080; }
.text-decisiones { color: #343a40; }

.mobile-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.mobile-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 0.4rem;
}

.mobile-card-desc {
    font-size: 14px !important;
    color: #6c757d;
}

.mobile-connector {
    font-size: 1.4rem;
    color: #adb5bd;
    font-weight: bold;
    margin: 0.2rem 0;
}

.mobile-connector-arrow {
    font-size: 1.6rem;
    color: #B31A1E;
    font-weight: bold;
    margin: 0.2rem 0;
}

.mobile-intersection-core {
    background: #1a1e29;
    color: #ffffff;
    border: 2px solid #B31A1E;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.mobile-results-bar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.mobile-result-chip {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-top: 2.5px solid #B31A1E;
    color: #343a40;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block;
    text-align: center;
}

/* Efectos de aparición secuencial con Intersection Observer */
.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos de transición */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.9s; }
.delay-5 { transition-delay: 1.2s; }

/* ==========================================================================
   SECCIÓN: CAPACIDADES - MICROANIMACIONES E INTERACTIVO
   ========================================================================== */
.capability-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.capability-icon-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.capability-badge-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-weight: bold;
}

/* Microanimaciones SVG */
/* 1. Personas: alineación de puntos */
.svg-ani-personas .point {
    fill: #B31A1E;
    animation: personas-drift 4s ease-in-out infinite alternate;
}
.svg-ani-personas .point:nth-child(2) { animation-delay: 0.5s; }
.svg-ani-personas .point:nth-child(3) { animation-delay: 1s; }
.svg-ani-personas .point:nth-child(4) { animation-delay: 1.5s; }
.svg-ani-personas .point:nth-child(5) { animation-delay: 2s; }

@keyframes personas-drift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(var(--drift-x, 15px), var(--drift-y, -10px));
    }
}

/* 2. Procesos: simplificación de flujo */
.svg-ani-procesos .complex-path {
    stroke: #A0A0A0;
    stroke-dasharray: 200;
    stroke-dashoffset: 0;
    animation: flow-simplify 6s ease-in-out infinite alternate;
}

.svg-ani-procesos .simple-path {
    stroke: #B31A1E;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: flow-resolve 6s ease-in-out infinite alternate;
}

@keyframes flow-simplify {
    0%, 30% { stroke-dashoffset: 0; opacity: 1; }
    70%, 100% { stroke-dashoffset: 200; opacity: 0; }
}
@keyframes flow-resolve {
    0%, 30% { stroke-dashoffset: 200; opacity: 0; }
    70%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

/* 3. Decisiones: convergencia de datos */
.svg-ani-decisiones .data-node {
    fill: #343a40;
    animation: data-converge 5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}
.svg-ani-decisiones .data-node:nth-child(2) { animation-delay: 0.4s; }
.svg-ani-decisiones .data-node:nth-child(3) { animation-delay: 0.8s; }
.svg-ani-decisiones .data-node:nth-child(4) { animation-delay: 1.2s; }
.svg-ani-decisiones .data-node:nth-child(5) { animation-delay: 1.6s; }

@keyframes data-converge {
    0% {
        transform: translate(var(--orig-x, -30px), var(--orig-y, -30px));
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85%, 100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* Subsección: Un mismo síntoma puede requerir varias capacidades */
.symptom-combo-card {
    background: #1a1e29;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.symptom-combo-card:hover {
    transform: scale(1.02);
    border-color: rgba(179, 26, 30, 0.4);
}

.badge-dim-personas {
    background-color: #B31A1E !important;
    color: #ffffff !important;
}

.badge-dim-procesos {
    background-color: #A0A0A0 !important;
    color: #1a1e29 !important;
}

.badge-dim-decisiones {
    background-color: #343a40 !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

/* Resaltado interactivo por hover */
.symptom-combo-card.dimmed {
    opacity: 0.35;
    transform: scale(0.98);
}

.symptom-combo-card.highlighted {
    opacity: 1;
    transform: scale(1.03);
    border-color: #B31A1E;
    box-shadow: 0 10px 30px rgba(179, 26, 30, 0.15);
}

/* ==========================================================================
   SECCIÓN: EQUIPO (TARJETAS PREMIUM E INTERACTIVAS)
   ========================================================================== */
#team {
    background-color: #1a1e29 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card {
    position: relative;
    background: #242936;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-card:hover,
.team-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(179, 26, 30, 0.4);
}

.team-image-container {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.team-img-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3240 0%, #151821 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 5rem;
    transition: transform 0.5s ease;
    border-bottom: 4px solid #B31A1E;
}

.team-card:hover .team-img-fallback,
.team-card:focus-within .team-img-fallback {
    transform: scale(1.05);
}

.team-img-fallback .member-initials {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -2px;
}

.team-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 12, 17, 0.95) 0%, rgba(10, 12, 17, 0.8) 50%, rgba(10, 12, 17, 0) 100%);
    z-index: 2;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.team-info-overlay h4 {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.team-info-overlay .role {
    font-size: 0.9rem;
    color: #B31A1E;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-info-overlay .specialty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

.team-bio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 30, 41, 0.98) 0%, rgba(10, 12, 17, 0.98) 100%);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .team-bio-overlay,
.team-card:focus-within .team-bio-overlay,
.team-card:active .team-bio-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.team-bio-overlay p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.linkedin-btn {
    align-self: flex-start;
    color: #ffffff;
    background-color: #0077b5;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.linkedin-btn:hover {
    background-color: #005987;
    color: #ffffff;
    transform: scale(1.05);
}

.team-footer-quote {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
}

/* ==========================================================================
   DISEÑO RESPONSIVO DE LOS DIAGRAMAS
   ========================================================================== */
@media (max-width: 991px) {
    .systemic-diagram-svg {
        display: none; /* Ocultar lineas SVG complejas en moviles */
    }
    
    .systemic-diagram-nodes {
        gap: 2rem;
    }
    
    .systemic-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .center-core {
        order: -1; /* Poner el nucleo arriba o en medio de forma logica */
        width: 120px;
        height: 120px;
        font-size: 0.85rem;
    }
    
    .systemic-node {
        width: 100%;
        max-width: 320px;
    }
    
    .node-resultados {
        max-width: 320px;
    }
}


