/* --- HERO CASE STUDY --- */
.dx-hero-case {
    /* Altura completa de la pantalla para dar impacto inicial */
    min-height: 900px; 
}

.dx-bg-absolute {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.dx-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente sutil: más oscuro a la izquierda para el texto y abajo para el texto gigante */
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%), 
                linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.dx-faq-header.aos-init.aos-animate {
    position: sticky;
    top: 150px;
}

.dx-hero-spacing {
    /* Empuja el contenido un poco hacia arriba para que el texto gigante respire */
    padding-bottom: 10vw; 
}

/* El texto gigante de CasaGrande */
.dx-giant-text {
    position: absolute;
    bottom: -1vw;
    left: 49%;
    transform: translateX(-50%);
    font-size: 18vw;
    font-weight: 700;
    color: #fff;
    line-height: .75;
    letter-spacing: -.05em;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
}
/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .dx-giant-text { 
        font-size: 26vw; 
        bottom: -3vw; 
    }
}

@media (max-width: 768px) {
    .dx-hero-case { 
        min-height: 80vh; 
    }
    .dx-hero-spacing {
        padding-bottom: 15vw;
    }
    .dx-giant-text { 
        font-size: 32vw; 
        bottom: -2vw; 
    }
}

@media (max-width: 480px) {
    .dx-giant-text { 
        font-size: 36vw; 
        bottom: -1vw; 
    }
}
.relative{
    position: relative;
}
.overflow-hidden{
    overflow: hidden;
}

/* CSS Específico para este bloque */

/* Aseguramos la proporción de las imágenes del carrusel */
.dx-gallery-item img {
    
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}
.max-95{
    max-width: 95%;
}

/* Estilos para la lista de riesgos (sin viñetas y espaciada) */

.dx-risk-list {
    /* margin-left: 0px; */
    padding-left: 20px;
}

.dx-risk-list li {
    margin-bottom: 10px;
}

.dx-risk-list li:last-child {
    margin-bottom: 0;
}

    /* --- COMPONENTE ARQUITECTURA / DEPARTAMENTOS --- */

/* Hace que la columna izquierda te persiga al bajar */
.dx-sticky-col {
    position: sticky;
    top: 120px; /* Ajusta este valor según la altura de tu menú principal */
    align-self: start; /* Vital para que el sticky funcione dentro de CSS Grid */
}

/* Tarjeta interactiva (Link) */
.dx-dept-card {
    display: block;
    padding: 40px;
    color: #111111;
    text-decoration: none;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
    cursor: pointer;
}

/* Borde superior solo para el primer elemento (como en el diseño) */
.dx-dept-card:first-child {
    border-top: 1px solid #eaeaea;
}

/* Colores de soporte */
.dx-dept-tag {
    color: #666666;
    margin-bottom: 5px; /* Para alinearlo bien con la base del título grande */
}

/* =========================================================
   EFECTO HOVER (Inversión a Negro)
========================================================= */
.dx-dept-card:hover {
    background-color: #111111;
    color: #ffffff;
    padding-left: 50px; /* Pequeño desplazamiento hacia la derecha para feedback táctil */
    border-radius: 20px;
}

/* Cambiamos el color de los textos secundarios al estar en hover */
.dx-dept-card:hover .dx-dept-tag {
    color: rgba(255, 255, 255, 0.7);
}

.dx-dept-card:hover .dx-dept-desc {
    color: rgba(255, 255, 255, 0.9);
}
.block{
    display: block;
}

.item-areas {
    padding-bottom: 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
    .dx-dept-card {
        padding: 30px 20px;
    }
    .dx-dept-card:hover {
        padding-left: 30px; /* Menos desplazamiento en tablet */
    }
}

@media (max-width: 768px) {
    /* En móviles quitamos el sticky porque las columnas se apilan */
    .dx-sticky-col {
        position: relative;
        top: 0;
    }
}

.list-none{
    list-style: none;
    padding: 0px;
}
.img-caso {
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
}
.img-caso img{
    min-height: 550px;
    display: block;
}
.list-none li {
    margin-bottom: 20px;
}

   /* ==========================================================================
   TIMELINE DE ECOSISTEMA (NODOS Y LÍNEAS)
   ========================================================================== */

.dx-timeline-wrap {
    padding-top: 15px; /* Espacio para el nodo superior */
}

/* La línea horizontal que conecta las tarjetas */
.dx-timeline-line {
    position: absolute;
    top: 20px; /* Alineado con el centro del nodo */
    left: 15px; /* Empieza en el primer nodo */
    width: calc(100% - 30px); /* Termina en el último nodo */
    height: 1px;
    background-color: #e5e5e5;
    z-index: 1;
}

/* El punto (Nodo) de cada fase */
.dx-timeline-node {
    position: absolute;
    top: -15px; /* Lo subimos para que quede sobre el texto de FASE */
    left: 0;
    width: 12px;
    height: 12px;
    background-color: #111111;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

/* Al hacer hover en la tarjeta, el nodo crece y cambia al azul vibrante de Disefix */
.dx-eco-card:hover .dx-timeline-node {
    transform: scale(1.5);
    background-color: #1a1aff; /* O el color exacto de tu CTA azul */
}

/* Ocultar la línea en móviles porque las tarjetas se apilan hacia abajo */
@media (max-width: 768px) {
    .dx-timeline-line {
        display: none;
    }
    .dx-timeline-node {
        /* En móvil podemos dejar el nodo o quitarlo, dejarlo le da estilo bullet */
        top: 2px;
    }
    .dx-timeline-wrap {
        padding-top: 0;
    }
}

   /* ==========================================================================
   COMPONENTE CTA FINAL (SPLIT BLUE) - CSS GRID 12 COLUMNAS
   ========================================================================== */

/* Contenedor principal convertido a Grid */
.dx-cta-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* Lado izquierdo (Imagen) - Ocupa 6 de las 12 columnas */
.dx-cta-img-box {
    grid-column: span 6;
    min-height: 50vh; /* Para asegurar que no colapse */
}

/* Lado derecho (Azul) - Ocupa 6 de las 12 columnas */
.dx-cta-blue-bg {
    grid-column: span 6;
}

/* Botón Blanco */
.dx-btn-cta-final {
    display: inline-block;
    background-color: #ffffff;
    color: #111111; 
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s cubic-bezier(0.17, 0.67, 0.83, 0.67), box-shadow 0.3s ease;
    will-change: transform;
}

.dx-btn-cta-final:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Utilidades de posicionamiento */
.h-100 { height: 100%; }
.h-50 { height: 50%; }
.z-10 { z-index: 10; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.bottom-40 { bottom: 40px; }
.left-40 { left: 40px; }

/* Responsive ajustes */
@media (max-width: 1024px) {
    .dx-cta-split {
        min-height: auto;
    }
    
    /* En tablet/móvil, ambas secciones pasan a ocupar las 12 columnas (apiladas) */
    .dx-cta-img-box,
    .dx-cta-blue-bg {
        grid-column: span 12;
    }
    
    .dx-cta-blue-bg {
        padding: 60px 5%;
    }
    .bottom-40 { bottom: 20px; }
    .left-40 { left: 20px; }
}

   /* ==========================================================================
   COMPONENTE: HÍBRIDO MÈTRICAS (BENTO LIGHT MODE)
   ========================================================================== */

.dx-hybrid-section {
    padding: 100px 0;
    background-color: #f4f5f7; /* Gris extra suave para contrastar con el blanco puro */
    font-family: 'Inter', sans-serif;
}

.dx-hybrid-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* --- LADO IZQUIERDO (Narrativa) --- */
.dx-hybrid-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.dx-hybrid-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    color: #111;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
}

.dx-hybrid-p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 90%;
}

.dx-hybrid-hero-stat {
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.dx-stat-huge {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    color: #111;
    letter-spacing: -0.04em;
    display: flex;
    align-items: flex-start;
}

.dx-color-blue {
    color: #1a1aff;
    font-size: 40px;
    margin: 5px 5px 0;
}

.dx-stat-label {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* --- LADO DERECHO (Bento Grid) --- */
.dx-hybrid-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dx-span-2 {
    grid-column: span 2;
}

.dx-bento-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.dx-bg-blue {
    background-color: #1a1aff;
    border: none;
}

/* Textos internos de tarjetas */
.dx-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

.dx-val-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.dx-val-huge {
    font-size: 46px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.03em;
    margin: 15px 0;
}

.dx-card-foot {
    font-size: 13px;
    color: #888;
}

/* Pastilla Verde */
.dx-pill-green {
    background-color: #e5f8ed;
    color: #0d8246;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

/* Barra progreso en tarjeta azul */
.dx-mini-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.dx-mini-fill {
    width: 85%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
}

/* --- TARJETA FOTO --- */
.dx-card-photo {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    justify-content: flex-end;
}

.dx-photo-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dx-photo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 80%);
    z-index: 2;
}

.dx-quote-content {
    position: relative;
    z-index: 3;
    padding: 30px;
}

.dx-quote-text {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.dx-quote-author {
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
}

/* --- LISTA DE RANKING --- */
.dx-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dx-rank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.dx-rank-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dx-rank-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.dx-badge-black {
    background: #111;
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}

.dx-badge-gray {
    background: #f0f0f0;
    color: #555;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
    .dx-hybrid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dx-hybrid-p { max-width: 100%; }
}

@media (max-width: 600px) {
    .dx-hybrid-bento {
        grid-template-columns: 1fr;
    }
    .dx-span-2 {
        grid-column: span 1;
    }
    .dx-stat-huge { font-size: 60px; }
}

/* ==========================================================================
   COMPONENTE: SPLIT LAYOUT (ALINEADO AL BORDE)
   ========================================================================== */

/* Contenedor interno del texto */
.dx-text-right-align {
    max-width: 550px;
    margin-left: auto; /* Lo empuja hacia la derecha dentro de su columna (mitad izquierda) */
    padding-right: 60px; /* Separación entre el texto y la foto */
    padding-left: 20px; /* Margen de seguridad por si la pantalla se achica */
}

/* Tipografía Ajustada */
.dx-split-title {
    font-size: 42px; /* Más compacto que antes */
    font-weight: 700;
    line-height: 1.1;
    color: #111111;
    letter-spacing: -0.02em;
    margin: 0 0 25px 0; /* Menos espacio hacia abajo */
}

.dx-split-p {
    font-size: 16px; /* Tamaño de lectura normal */
    font-weight: 400;
    line-height: 1.5;
    color: #111111;
    opacity: 0.9;
    margin: 0 0 15px 0; /* Espaciado entre párrafos mucho más apretado */
}

.dx-split-punchline {
    font-size: 18px; /* Ligeramente más grande para destacar */
    font-weight: 700;
    line-height: 1.4;
    color: #111111;
    margin: 0;
}

/* Imagen anclada al borde */
.dx-edge-img {
    min-height: 550px;
    object-position: center; /* O ajusta a 'left center' según tu encuadre */
    border-radius: 20px 0 0 20px; /* Redondea solo el lado izquierdo */
    display: block;
}

/* Botón (Mantenemos el de la versión anterior por si acaso) */
.dx-btn-primary {
    display: inline-block;
    background-color: #1a1aff;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.dx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 26, 255, 0.3);
    background-color: #0000ff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .dx-text-right-align {
        margin-left: 0;
        margin-right: auto; /* En tablet/móvil se alinea a la izquierda normalmente */
        padding-right: 20px;
        padding-bottom: 50px; /* Separación con la imagen que ahora cae abajo */
    }
    
    .dx-split-title { font-size: 36px; }
    
    .dx-edge-img {
        border-radius: 20px; /* En móvil redondeamos todos los bordes */
        min-height: 350px;
        margin: 0 20px; /* Para que no toque los bordes del celular */
        width: calc(100% - 40px);
    }
}

        .relative { position: relative; } .absolute { position: absolute; }


        /* --- BOTONES Y UI ESPECÍFICA --- */
        .dx-quiz-btn {
            flex: 1; min-width: 200px; background-color: #f4f5f7; border: 2px solid transparent;
            color: #111; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700;
            padding: 20px 24px; border-radius: 16px; cursor: pointer; text-align: left;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex; justify-content: space-between; align-items: center;
        }

        .dx-quiz-btn:hover { background-color: #e0e4f5; color: #1a1aff; transform: translateY(-2px); }
        .dx-quiz-btn svg { width: 20px; opacity: 0; transform: translateX(-10px); transition: all 0.3s ease; }
        .dx-quiz-btn:hover svg { opacity: 1; transform: translateX(0); }

        .dx-btn-cta-final {
            display: inline-block; text-decoration: none; padding: 18px 35px; border-radius: 100px;
            font-weight: 700; font-size: 18px; transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .dx-btn-cta-final:hover { transform: scale(1.05); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }

        .transition-opacity { transition: opacity 0.3s ease, transform 0.3s ease; }
        .fade-out { opacity: 0; transform: translateX(-10px); }

        /* Perfil Box en Resultados */
        .dx-profile-badge {
            display: inline-block; background: #FFF; padding: 8px 16px; border-radius: 50px;
            font-size: 14px; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase;
        }

        /* Items de Feedback */
        .dx-feedback-item {
            background: #ffffff; border-radius: 16px; padding: 24px; border: 1px solid #eaeaea;
            display: flex; flex-direction: column; gap: 10px;
        }
        .dx-badge-neu { color: #555; background: #f0f0f0; padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 800; display: inline-block; width: fit-content; }
        
        @media (max-width: 768px) {
            .dx-quiz-btn { min-width: 100%; }
        }

        .dx-quiz-btn {
    margin-bottom: 10px;
}

/* ==========================================================================
   COMPONENTE: RAZONES POR LAS QUE NO VENDES
   ========================================================================== */
.shadow-sm {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra muy suave y elegante */
    border: 1px solid rgba(0, 0, 0, 0.03); /* Borde sutil para despegar del fondo blanco */
}

/* En móvil, invertimos el orden para que la imagen siempre quede arriba del texto */
@media (max-width: 768px) {
    .dx-cause-row {
        gap: 30px;
    }
    .dx-main-title {
        font-size: 36px;
    }
}

/* ==========================================================================
   LISTA FERVOR BX (MÁS COMPACTA)
   ========================================================================== */

.dx-fervor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.dx-fervor-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0; /* Reducido para mayor cohesión visual */
    border-bottom: 1px solid #eaeaea; 
}

/* El círculo azul con el check (Ligeramente más pequeño) */
.dx-check-circle {
    width: 24px; /* Reducido de 28 a 24 */
    height: 24px;
    background-color: #1a1aff; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
}

.dx-check-circle svg {
    width: 12px; /* Reducido para que quepa bien en el nuevo círculo */
    height: 12px;
    color: #ffffff;
}

/* Alineación y botón */
.dx-text-right-align {
    margin-left: auto;
    padding-right: 60px;
    padding-left: 20px;
}

.dx-btn-primary {
    display: inline-block;
    background-color: #1a1aff;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px; /* Un poco más estilizado */
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px; /* Ajustado para que no grite */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    white-space: nowrap; 
}

.dx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 26, 255, 0.3);
    background-color: #0000ff;
}

@media (max-width: 992px) {
    .dx-text-right-align {
        margin-left: 0;
        margin-right: auto;
        padding-right: 20px;
    }
    .contenedor-full > .relative {
        min-height: 800px !important;
    }
}

/* ==========================================================================
   SECCIÓN: SERVICIOS OSCUROS (OWL CAROUSEL)
   ========================================================================== */

.dx-dark-services {
    background-color: #1c1d21;
    color: #ffffff;
}

/* --- CABECERA (TOP) --- */
.dx-services-header {
    margin-bottom: 60px;
    align-items: flex-start;
}

.dx-services-title {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.dx-services-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
}

/* --- TARJETAS DE SERVICIO --- */
.dx-service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dx-service-img-box {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border-radius: 20px;
    overflow: hidden;
    background-color: #2a2b30;
}

.dx-service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dx-service-card h3 {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.dx-service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* --- PIE DE SECCIÓN (BOTTOM) --- */
.dx-services-footer {
    margin-top: 80px;
    max-width: 900px;
}

.dx-services-footer p {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
}

/* --- OWL CAROUSEL OVERRIDES --- */
.dx-services-carousel .owl-nav { display: none; }
.dx-services-carousel .owl-dots { margin-top: 30px !important; }
.dx-services-carousel .owl-dot span { background: rgba(255,255,255,0.2) !important; }
.dx-services-carousel .owl-dot.active span { background: #1a1aff !important; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .dx-services-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .dx-services-title { font-size: 34px; }
    .dx-services-footer p { font-size: 20px; }
    .dx-services-footer { margin-top: 50px; }
}

/* ==========================================================================
   COMPONENTE: ACORDEÓN DE PREGUNTAS FRECUENTES
   ========================================================================== */

/* Contenedor del Acordeón */
.dx-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Separación entre las pastillas */
    width: 100%;
}

/* Cada Item (Pastilla) */
.dx-accordion-item {
    background-color: #f7f8f9; /* Gris muy suave, como en tu referencia */
    border-radius: 8px; /* Bordes redondeados sutiles */
    overflow: hidden; /* Importante para que el contenido oculto no se salga */
    transition: background-color 0.3s ease;
}

/* El botón clickeable */
.dx-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    color: #111111;
    transition: background-color 0.3s ease;
}

.dx-accordion-btn:hover {
    background-color: #f0f2f5;
}

/* El Icono "+" azul */
.dx-accordion-icon {
    color: #1a1aff; /* Azul DiseFix */
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Estado Activo: El item se abre */
.dx-accordion-item.is-open .dx-accordion-icon {
    transform: rotate(45deg); /* El + gira y se convierte en una X */
    color: #111; /* Opcional: la X se pone negra para indicar 'cerrar' */
}

/* Contenido Oculto */
.dx-accordion-content {
    max-height: 0; /* Oculto por defecto */
    padding: 0 24px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dx-accordion-item.is-open .dx-accordion-content {
    max-height: 300px; /* Un valor lo suficientemente grande para que quepa el texto */
    padding: 0 24px 24px 24px; /* Padding inferior activo */
    opacity: 1;
}

.dx-accordion-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
}

/* Responsive */
@media (max-width: 992px) {
    .dx-accordion-btn {
        padding: 18px 20px;
        font-size: 15px;
    }
    .dx-accordion-content {
        padding: 0 20px;
    }
    .dx-accordion-item.is-open .dx-accordion-content {
        padding: 0 20px 20px 20px;
    }
}

  /* ==========================================================================
   COMPONENTE: CTA FINAL (ALINEADO A LA IZQUIERDA)
   ========================================================================== */

/* Fondo con tu imagen + Gradiente para asegurar lectura en la izquierda */
.dx-cta-final-bg {
    /* El gradiente oscurece la parte izquierda donde va el texto y se vuelve transparente a la derecha */
    background-image: 
        linear-gradient(to right, rgba(10, 5, 20, 0.95) 0%, rgba(10, 5, 20, 0.6) 45%, rgba(10, 5, 20, 0) 100%), 
        url('ruta-a-tu-imagen.jpg'); /* <-- PON AQUÍ LA RUTA DE TU IMAGEN FINAL */
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #0a0514; /* Color de respaldo oscuro */
    min-height: 80vh;
    position: relative;
}

/* Columna de contenido */
.dx-cta-left-content {
    max-width: 550px; /* Limita el ancho para que no pise la laptop */
    padding: 100px 0;
}

/* ==========================================================================
   FORMULARIO APILADO (WIDGET GLASSMORPHISM)
   ========================================================================== */

.dx-glass-form-stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05); /* Cristal base muy sutil */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 450px; /* Tamaño perfecto para no verse gigante */
}

/* Campos de entrada */
.dx-glass-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4); /* Fondo oscurecido para los inputs */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0 15px;
    transition: border-color 0.3s ease;
}

.dx-glass-input-wrapper:focus-within {
    border-color: rgba(90, 90, 255, 0.8); /* Brillo azulado al hacer clic */
}

.dx-glass-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 12px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
}

.dx-glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Botón de envío */
.dx-glass-submit-btn {
    background-color: #1a1aff; /* Tu azul eléctrico */
    color: #ffffff;
    border: none;
    padding: 18px 24px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px; /* Un poquito de aire arriba del botón */
    text-align: center;
}

.dx-glass-submit-btn:hover {
    background-color: #4d4dff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 255, 0.3);
}

/* ==========================================================================
   CAMPOS DE ENTRADA (BLANCOS)
   ========================================================================== */

.dx-glass-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff; /* Fondo blanco sólido para máxima legibilidad */
    border: 1px solid #eaeaea; /* Borde gris muy suave */
    border-radius: 10px;
    padding: 0 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dx-glass-input-wrapper:focus-within {
    border-color: #1a1aff; /* Borde azul DiseFix al hacer clic */
    box-shadow: 0 0 0 4px rgba(26, 26, 255, 0.15); /* Anillo de enfoque suave */
}

.dx-glass-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 12px;
    color: #111111; /* Texto oscuro */
    font-size: 15px;
    outline: none;
}

.dx-glass-input::placeholder {
    color: #888888; /* Placeholder gris claro */
}

/* El contenedor principal de form se mantiene en cristal */
.dx-glass-form-stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 450px;
}

/* Botón de envío (se mantiene igual, azul eléctrico) */
.dx-glass-submit-btn {
    background-color: #1a1aff; 
    color: #ffffff;
    border: none;
    padding: 18px 24px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px; 
    text-align: center;
}

.dx-glass-submit-btn:hover {
    background-color: #4d4dff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 255, 0.3);
}


.foto-form {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}


.foto-form img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-editor{
    max-width: 1000px;
    margin: 0 auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .dx-cta-final-bg {
        /* En móviles, el gradiente oscurece todo para que el texto se lea sobre la imagen */
        background-image: 
            linear-gradient(to bottom, rgba(10, 5, 20, 0.9) 0%, rgba(10, 5, 20, 0.8) 100%), 
            url('ruta-a-tu-imagen.jpg');
        background-position: center;
    }
    .dx-cta-left-content {
        max-width: 100%;
        text-align: center; /* En móvil centramos todo */
        padding: 80px 20px;
    }
    .dx-glass-form-stacked {
        margin: 0 auto; /* Centrar el formulario en móvil */
    }
}

    /* ==========================================================================
   COMPONENTE: GRAVEDAD COMPACTA + SCORE BAR
   ========================================================================== */

.dx-urgency-card {
    border-radius: 32px;
    padding: 50px;
    border: 1px solid rgba(0,0,0,0.04);
}

/* --- BARRA SEGMENTADA SUPERIOR --- */
.dx-segmented-track {
    display: flex;
    gap: 6px; /* Separación entre cada bloque */
    height: 32px; /* Altura imponente de la barra */
    width: 100%;
}

.dx-seg-fill {
    flex: 1;
    background-color: #d92d20; /* Rojo peligro para indicar severidad */
    border-radius: 4px;
}

.dx-seg-empty {
    flex: 1;
    background-color: rgba(0,0,0,0.08); /* Gris tenue para los espacios vacíos */
    border-radius: 4px;
}

/* --- CUERPO DE 3 COLUMNAS --- */
.dx-uc-body {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr;
    gap: 50px;
    align-items: stretch;
}

/* Píldora */
.dx-ui-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fff;
}

/* Barras horizontales del problema */
.dx-ui-bars-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dx-ui-bar-group span {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.dx-ui-track {
    width: 100%;
    height: 8px;
    background-color: rgba(0,0,0,0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.dx-ui-fill {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

/* Número Central */

.dx-huge-number {
    font-size: 110px;
    line-height: 0.9;
    letter-spacing: -0.05em;
    padding: 0 30px;
    background: #000;
    color: #fff !important;
    padding: 20px;
    min-width: 150px;
    min-height: 150px;
    line-height: 150px;
    border-radius: 50px;
}

/* Botón Outline */
.dx-btn-outline {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #111;
    text-decoration: none;
    border: 2px solid #111;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.dx-btn-outline:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .dx-urgency-card {
        padding: 40px 25px;
    }
    .dx-uc-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dx-huge-number {
        font-size: 90px;
        padding: 0;
    }
    .dx-segmented-track {
        height: 24px; /* Un poco más delgada en móviles */
        gap: 4px;
    }
    .dx-uc-center, .dx-uc-text {
        text-align: left;
        align-items: flex-start;
    }
    .dx-uc-text {
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 30px;
    }
}