﻿/* ======================================================
   1. HERO BANNER
   ====================================================== */
.comunidad-talento-container {
    position: relative;
    width: 100%;
    min-height: 30rem;
    overflow: hidden;
    background: #ECECEC;
    display: flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
}

.comunidad-talento-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.comunidad-talento-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(27deg,rgba(118, 199, 253, 1) 8%, rgba(237, 248, 248, 0.2) 100%);
}

.comunidad-talento-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%; 
    max-width: 100%;
    margin: 0; 
    padding-left: 85px; 
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0; 
}

.comunidad-talento-main-title {
    font-weight: 800;
    font-size: 49px;
    line-height: 1.1;
    margin-bottom: 10px;
    max-width: 650px;
    background: linear-gradient(92deg,rgba(13, 74, 230, 1) 28%, rgba(46, 141, 225, 1) 89%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0D4AE6;
    font-variant-ligatures: none;
}

.comunidad-talento-subtext {
    font-weight: 600;
    font-size: 25px; /* <-- CAMBIO: Aumentado de 20px a 32px (ajuste visual Figma) */
    color: #1A202C;
    margin-top: 0;
    margin-bottom: 60px;
    max-width: 600px;
}

.comunidad-talento-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    background: #0D4AE6;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 74, 230, 0.2);
}

    .comunidad-talento-cta-btn:hover {
        background: #0033a1;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13, 74, 230, 0.3);
        color: white;
        text-decoration: none!important;
    }
.animar-activo .comunidad-talento-content-wrapper {
    animation: fadeLeftContent 0.8s ease-out forwards;
}

@keyframes fadeLeftContent {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .comunidad-talento-container {
        min-height: 400px;
        justify-content: center; /* Asegura centrado vertical si sobra espacio */
    }

    .comunidad-talento-main-title {
        font-size: 32px;
        max-width: 100%; /* Permite que el título use todo el ancho */
    }

    .comunidad-talento-subtext {
        font-size: 18px;
        margin-left: auto; /* Ayuda al centrado del texto */
        margin-right: auto;
    }

    .comunidad-talento-content-wrapper {
        padding-left: 20px;
        padding-right: 20px;
        /* --- ESTILOS DE CENTRADO --- */
        align-items: center; /* Centra botón y título horizontalmente */
        text-align: center; /* Centra el texto dentro de los bloques */
        margin-right: 0; /* CRÍTICO: Quita el margen derecho grande de escritorio */
        width: 100%; /* Asegura ancho completo */
    }

    .comunidad-talento-cta-btn {
        /* --- ESTILOS DE UNA LÍNEA --- */
        white-space: nowrap; /* Fuerza el texto a una sola línea */
        font-size: 14px; /* Reduce un poco la fuente para pantallas angostas */
        padding: 14px 20px; /* Reduce padding lateral para ganar espacio */
        width: auto; /* Evita anchos extraños */
        max-width: 100%; /* Seguridad contra desbordes */
    }
}

/* ======================================================
   2. SECCIÓN FORMAR PARTE
   ====================================================== */

.formar-parte-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: white;
    position: relative;
}

.formar-parte-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 80px;
    font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    color: #545454;
    padding-bottom: 0 !important;
    padding-top: 2rem !important;
    z-index: 1;
}

.fp-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.fp-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.fp-title {
    font-weight: 700;
    font-size: 42px;
    color: #000;
    margin-bottom: 10px;
}
/* --- 1. Degradado para "Nuestra" (Azul Profundo) --- */
.fp-text-nuestra {
    /* Degradado de azul oscuro a un tono medio */
    background: linear-gradient(92deg,rgba(73, 139, 233, 1) 28%, rgba(101, 166, 235, 0.82) 61%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0D4AE6; /* Fallback */
    font-weight: 800; /* Asegura que se vea grueso */
}

/* --- 2. Degradado para "Comunidad" (Azul Claro / Celeste) --- */
.fp-text-comunidad {
    /* Degradado de azul medio a celeste claro */
    background: linear-gradient(92deg,rgba(13, 74, 230, 0.93) 28%, rgba(101, 166, 235, 0.88) 82%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #4A8BE9; /* Fallback */
    font-weight: 800;
}

/* ======================================================
   CORRECCIÓN: Agrega el punto antes del nombre
   ====================================================== */
.fp-doted-line {
    position: absolute;
    top: 160px;
    left:35%; /* La centramos horizontalmente */
    transform: translateX(-50%); /* La centramos horizontalmente */
    width: 100%;
    max-width: 1000px; /* Esto asegura que se alinee con tu contenido */
    height: 100%;
    z-index: 0; /* Detrás del texto */
    pointer-events: none;
    overflow: visible; /* Dejamos que se vea si sale un poquito */
}
    /* EL SVG DENTRO DE LA LÍNEA */
    .fp-doted-line svg {
        position: absolute;
        top: 40px; /* Bájalo un poco para que empiece donde debe */
        left: -200px; /* EMPUJAMOS LA LÍNEA A LA IZQUIERDA para que haga la curva afuera */
        /* Ajusta este ancho si la línea se ve muy chica o muy grande */
        width: 1200px;
        height: 1000px;
    }

.fp-subtitle {
    font-size: 16px;
    color: #666;
}

.fp-text-gradient {
    background: linear-gradient(92deg,rgba(13, 74, 230, 1) 28%, rgba(46, 141, 225, 0.88) 53%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0D4AE6;
}

/* ESTRUCTURA COLUMNAS */
.fp-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 70px;
    margin-bottom: 100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.fp-col-text { 
    width: 45%;
    flex: 0 0 45%;
    position: relative;
}
/* ======================================================
   3. TARJETA TESTIMONIOS - VERSIÓN COMPACTA & FIXED
   ====================================================== */

.formar-parte-wrapper .fp-col-visual {
    position: relative; /* Asegura que los hijos absolutos se posicionen respecto a esto */
    z-index: 1; /* Crea un contexto de apilamiento para que el brillo no se vaya detrás del fondo de página */
    width: 45%;
    flex: 0 0 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: 17rem; /* Altura fija base */
}

/* --- CÍRCULO ESTILO FIGMA --- */
.formar-parte-wrapper .fp-glow-circle {
    position: absolute;
    /* Posición: Lo empujamos hacia abajo y a la derecha para que quede en la esquina */
    bottom: -80px;
    right: -80px;
    /* Tamaño fijo para que sea 100% circular */
    width: 320px;
    height: 320px;
    /* TRADUCCIÓN EXACTA DE TU CAPTURA DE FIGMA:
       - Inicio (0%): #7CC5F1 al 65% de opacidad -> rgba(124, 197, 241, 0.65)
       - Final (100%): #FFFFFF al 0% de opacidad -> rgba(255, 255, 255, 0)
    */
    background: radial-gradient(circle, rgba(124, 197, 241, 0.65) 0%, rgba(255, 255, 255, 0) 87%);
    /* Desenfoque (Opcional: Si en Figma tiene "Blur", agrega esto. 
       Si es un degradado sólido, quita la línea de filter) */
    /* filter: blur(20px); */

    border-radius: 50%; /* Geometría circular perfecta */
    z-index: -1; /* Detrás de la tarjeta */
    pointer-events: none; /* No estorba el click */
}
/* --- 2. NUEVO: Círculo para la Foto Vacantes (Más Grande y Centrado) --- */
.formar-parte-wrapper .fp-glow-circle-large {
    position: absolute;
    /* Centrado detrás de la imagen */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Tamaño Grande */
    width: 390px;
    height: 390px;
    /* Mismo color base, degradado suave */
    background: radial-gradient(circle, rgba(124, 197, 241, 0.65) 0%, rgba(255, 255, 255, 0) 87%);
    border-radius: 50%;
    z-index: -1; /* Importante: Detrás de la imagen */
    pointer-events: none;
}

.formar-parte-wrapper .fp-glow-circle-middle {
    position: absolute;
    /* Posición: Lo empujamos hacia abajo y a la derecha para que quede en la esquina */
    bottom: 80px;
    right: -399px;
    /* Tamaño fijo para que sea 100% circular */
    width: 320px;
    height: 320px;
    /* TRADUCCIÓN EXACTA DE TU CAPTURA DE FIGMA:
       - Inicio (0%): #7CC5F1 al 65% de opacidad -> rgba(124, 197, 241, 0.65)
       - Final (100%): #FFFFFF al 0% de opacidad -> rgba(255, 255, 255, 0)
    */
    background: radial-gradient(circle, rgba(124, 197, 241, 0.65) 0%, rgba(255, 255, 255, 0) 87%);
    /* Desenfoque (Opcional: Si en Figma tiene "Blur", agrega esto. 
       Si es un degradado sólido, quita la línea de filter) */
    /* filter: blur(20px); */

    border-radius: 50%; /* Geometría circular perfecta */
    z-index: -1; /* Detrás de la tarjeta */
    pointer-events: none; /* No estorba el click */
}

.formar-parte-wrapper .fp-testimonial-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A8BE9 0%, #3974CE 100%);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(57, 116, 206, 0.25);
    position: relative;
    overflow: hidden !important;
    z-index: 10;
}

/* Estructura Swiper */
.formar-parte-wrapper .swiper.testimonial-swiper {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden !important;
}

.formar-parte-wrapper .testimonial-swiper .swiper-wrapper {
    height: 100% !important;
    display: flex;
}

.formar-parte-wrapper .testimonial-swiper .swiper-slide {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding: 28px !important;
    cursor: default;
    flex-shrink: 0 !important;
}

/* --- QUOTE BOX CORREGIDO PARA QUE SIEMPRE SE VEA --- */
.formar-parte-wrapper .quote-box {
    flex: 1; /* Ocupa espacio disponible */
    height: auto;
    /* 🔥 FIX CRÍTICO: Altura mínima para que nunca colapse a 0 */
    min-height: 140px !important;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
    /* Scrollbar sutil */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    color: red !important;
}

    .formar-parte-wrapper .quote-box::-webkit-scrollbar {
        width: 3px;
    }

    .formar-parte-wrapper .quote-box::-webkit-scrollbar-track {
        background: transparent;
    }

    .formar-parte-wrapper .quote-box::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.5);
        border-radius: 3px;
    }

.formar-parte-wrapper .fp-testimonial-quote {
    color: #FFFFFF !important; /* Blanco forzado */
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    display: block !important;
    opacity: 1 !important;
}

.formar-parte-wrapper .author-box {
    flex-shrink: 0 !important; /* No permitimos que se aplaste */
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
}

.formar-parte-wrapper .fp-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #ccc;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.4);
    transition: ease-out 1s;
}

    .formar-parte-wrapper .fp-avatar-circle:hover {
        transform: scale(1.5);
    }

    .formar-parte-wrapper .fp-avatar-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.formar-parte-wrapper .fp-author-text {
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
}

.formar-parte-wrapper .fp-author-name {
    font-weight: 700;
    font-size: 14px;
}

.formar-parte-wrapper .fp-author-role {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: white;
    line-height: 1.3;
    font-variant-ligatures: none; /* Desactiva ligaduras tipográficas (fi, fl, etc.) */
}


.formar-parte-wrapper .fp-company-name {
    font-weight: 800;
    font-size: 10px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Paginación Externa */
.formar-parte-wrapper .external-pagination {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    margin-left: 18px;
    margin-top: 9rem;
    flex-shrink: 0;
    z-index: 20;
    height: auto;
    max-height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

    .formar-parte-wrapper .external-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: #ccc;
        opacity: 0.6;
        margin: 0 !important;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .formar-parte-wrapper .external-pagination .swiper-pagination-bullet-active {
        background: #3974CE;
        opacity: 1;
        width: 9px;
        height: 9px;
        box-shadow: 0 0 0 2px rgba(57, 116, 206, 0.2);
    }

/* Ajuste Responsivo para el Brillo (Mobile) */
@media (max-width: 992px) {
    .formar-parte-wrapper .fp-glow-circle {
        width: 220px;
        height: 220px;
        bottom: -50px;
        right: -50px;
    }

    .formar-parte-wrapper .fp-glow-circle-large {
        width: 350px;
        height: 350px;
    }
}
/* ======================================================
   4. RESTO DE ELEMENTOS
   ====================================================== */
.fp-img-responsive, .fp-img-responsive-2 {
    max-width: 100%;
    height: auto;
    display: block;
}

.fp-badge-icon {
    position: absolute;
    /* Quitamos top y left de aquí para controlarlos individualmente */
    width: 45px;
    height: 45px;
    background-color: #3974CE;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(57, 116, 206, 0.3);
    font-size: 20px;
}
/* --- POSICIONES INDIVIDUALES (DESKTOP) --- *//* Posición 1: Voces de la comunidad */
.fp-badge-icon.badge-pos-1 {
    right: 450px;
    top: -60px;
}

/* Posición 2: Vacantes (Este está a la derecha, quizás quieras moverlo diferente) */
.fp-badge-icon.badge-pos-2 {
    left: -130px; /* Puedes cambiar esto, ej: right: -50px o top: -60px */
    top: 26px;
}

/* Posición 3: Únete a la comunidad */
.fp-badge-icon.badge-pos-3 {
    left: -54px; 
    top: -30px;
}

.fp-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.fp-section-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 25px;
}

.fp-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 25px;
    /* --- LO NUEVO --- */
    max-width: 85%; /* Esto obliga al texto a bajar de línea antes, haciéndolo menos ancho */
    display: block;
    width: 100% !important;
}

.fp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .fp-check-list li {
        position: relative;
        padding-left: 35px;
        margin-bottom: 12px;
        font-size: 16px;
        font-weight: 800;
        color: #333;
    }

        .fp-check-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            background-color: #3974CE;
            color: white;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
        }
.fp-formdesc {
    font-size: 0.77rem;
    line-height: 1.6;
    font-family: "Plus Jakarta Sans", Montserrat, sans-serif;
}

.fp-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0D4AE6;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 74, 230, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .fp-btn-primary:hover {
        background-color: #0033a1;
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

.fp-link-action {
    font-size: 27px;
    font-weight: 800;
    text-decoration: none;
    /* margin-left: 20px;  <-- OJO: Si usas margin:0 abajo, esto se borra. Mejor especifica los lados */

    background: linear-gradient(90deg, #0D4AE6 0%, #7aa7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    /* --- AGREGA ESTO PARA QUITAR LOS MÁRGENES MOLESTOS --- */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 20px; /* Mantenemos tu margen izquierdo original */
    line-height: 1; /* Ayuda a centrarlo verticalmente con el botón */
}

.fp-img-responsive-2 {
    max-width: 70%;
    margin: 0 auto;
}

/* ======================================================
   CORRECCIONES MÓVIL "NUCLEAR" (Ocultar línea + Ajustar espacios)
   ====================================================== */
@media (max-width: 768px) {

    /* 1. OCULTAR LÍNEA PUNTEADA (A prueba de balas) */
    .formar-parte-container .fp-doted-line,
    .fp-doted-line,
    .fp-doted-line svg {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        z-index: -999 !important;
        pointer-events: none !important;
    }

    /* 2. BADGES VISIBLES Y CENTRADOS */
    .fp-badge-icon {
        display: flex !important; 
        position: static !important; 
        margin: 0 auto 15px auto !important; 
        transform: none !important; 
        /* Ajuste tamaño para móvil */
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
        /* SVG dentro del badge */
        .fp-badge-icon svg {
            width: 14px;
            height: 14px;
        }

    /* 3. REDUCIR EL GAP GIGANTE ENTRE TÍTULO Y CONTENIDO */
    .fp-header {
        margin-bottom: 20px !important;
    }

    /* 4. REDUCIR AIRE GENERAL DE LA SECCIÓN */
    .formar-parte-container {
        padding-top: 30px !important; 
        padding-bottom: 30px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 5. JUNTAR LOS BLOQUES DE TEXTO E IMAGEN */
    .fp-row {
        margin-bottom: 40px !important;
        gap: 30px !important;
    }
}
/* ======================================================
   5. ANIMACIONES DE ENTRADA (NECESARIAS PARA QUE FUNCIONE EL RAZOR)
   ====================================================== */

/* Estado inicial */
.formar-parte-wrapper [data-animate] {
    opacity: 0;
    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);
    will-change: opacity, transform;
}

/* Tipos de animación */
.formar-parte-wrapper [data-animate="fade-up"] {
    transform: translateY(40px);
}

.formar-parte-wrapper [data-animate="fade-left"] {
    transform: translateX(-40px);
}

.formar-parte-wrapper [data-animate="fade-right"] {
    transform: translateX(40px);
}

.formar-parte-wrapper [data-animate="zoom-in"] {
    transform: scale(0.92);
}

/* Estado activo (visible) */
.formar-parte-wrapper [data-animate].animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}


/* ======================================================
   6. SECCIÓN CONFIANZA
   ====================================================== */
.confianza-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}

.confianza-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.confianza-text {
    flex: 1;
    max-width: 45%;
}

.confianza-quotes {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.confianza-title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.confianza-black {
    color: #000000;
}

.gradient-text {
    background: linear-gradient(92deg, #0D4AE6 28%, #2E8DE1 53%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0D4AE6;
}

.confianza-subtitle {
    font-size: 20px;
    color: #545454;
    font-weight: 500;
    margin-top: 10px;
}

/* Panel Azul Derecho */
.confianza-panel {
    flex: 1.2;
    background-color: #0D4AE6;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    color: white;
    box-shadow: 0 20px 40px rgba(13, 74, 230, 0.15);
    position: relative;
    overflow: hidden;
}

    .confianza-panel::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
        pointer-events: none;
    }

.panel-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.panel-intro {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 30px;
}

    .panel-intro span {
        color: #8ABEF5;
    }

.panel-contact {
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline:hover {
        background-color: white;
        color: #0D4AE6;
    }

/* Tarjetas Blancas Internas */
.panel-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    z-index: 2;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #333;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Animación */
.confianza-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .confianza-section.animate {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 992px) {
    .confianza-content {
        flex-direction: column;
        text-align: center;
    }

    .confianza-text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .confianza-quotes {
        margin: 0 auto 20px auto;
    }

    .confianza-panel {
        flex-direction: column;
        padding: 40px 30px;
        text-align: left;
    }

    .panel-left-content {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .fp-link-action{
        margin-left: 0px;
    }
}

/* ======================================================
   7. DIAGRAMA VENN
   ====================================================== */
.card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: transparent;
    padding-bottom: 3rem;
    background: radial-gradient(circle,rgba(118, 199, 253, 0.65) 0%, rgba(237, 248, 248, 1) 29%, rgba(248, 252, 252, 1) 59%, rgba(255, 255, 255, 1) 100%);
}

.dt-card {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background-color: #D9EDFF;
    border-radius: 24px;
    padding: 30px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(13, 74, 230, 0.05);
    overflow: visible;
    justify-content: center;
}

.dt-text-section {
    flex: 1;
    z-index: 2;
    padding-bottom: 7rem;
    padding-left: 2.3rem;
    padding-top: 2.2rem;
}

.dt-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.4;
    margin-bottom: 15px;
    background: linear-gradient(92deg,rgba(13, 74, 230, 1) 28%, rgba(46, 141, 225, 0.82) 61%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0D4AE6;
    align-content: center;
}

.dt-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    opacity: 0.8;
}

.dt-visual-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.venn-container {
    position: relative;
    width: 480px;
    height: 440px;
    transform: scale(0.75);
    transform-origin: center center;
    margin-top: -50px;
    margin-bottom: -50px;
}

.circle.dashed {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 2px dashed #4F9CF9;
    border-radius: 50%;
    opacity: 0.8;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.c-top {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.c-left {
    bottom: 20px;
    left: 15px;
    z-index: 1;
}

.c-right {
    bottom: 20px;
    right: 15px;
    z-index: 1;
}


.center-bubble img{
    width: 350px;
    height: auto;
}
.icon-bubble {
    position: absolute;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(13, 74, 230, 0.12);
    z-index: 10;
    width: 65px;
    height: 65px;
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote sutil */
    cursor: pointer;
}
    .icon-bubble:hover {
        transform: scale(1.15) translateY(-5px);
        box-shadow: 0 15px 35px #4F9CF9;
        z-index: 100; /* Asegura que quede encima de todo */
        border: 2px dashed #4F9CF9; /* Opcional: añade borde azul al pasar */
    }

/* 3. FIX CRÍTICO para los iconos centrados (Arriba y Abajo) */
/* Estos tienen un translateX(-50%) original que NO debemos perder */
.i-top:hover,
.i-bottom-center:hover {
    transform: translateX(-50%) scale(1.15) translateY(-5px) !important;
}

    .icon-bubble.small {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }

/* Coordenadas Iconos */
.i-top {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.i-left-inter {
    top: 100px;
    left: 85px;
}

.i-right-inter {
    top: 100px;
    right: 85px;
}

.i-far-left {
    bottom: 110px;
    left: -15px;
}

.i-far-right {
    bottom: 110px;
    right: -15px;
}

.i-bottom-center {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.center-bubble {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* 1.Preparamos la transición */
.center-bubble img {
    width: 135px;
    height: auto;
    /* La transición debe estar en el estado base para que funcione al entrar Y salir */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform; /* Optimización para animaciones fluidas */
}
    /* 2. Estado Hover: Aplicamos el crecimiento */
    .center-bubble:hover img {
        /* Ajusta el 1.1 (10%) por el valor que prefieras, ej. 1.15 */
        transform: scale(1.173);
    }

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo-rpa {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #0E1044;
    letter-spacing: -1px;
    margin-bottom: 2px;
}

.sub-python {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.dots-deco {
    color: #35A8E0;
    margin-right: 4px;
    font-size: 24px;
    line-height: 0;
    position: relative;
    top: 2px;
}

/* ======================================================
   ANIMACIONES DIAGRAMA VENN
   ====================================================== */

/* Estado inicial (invisible y desplazado) */
.dt-card [data-animate] {
    opacity: 0;
    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);
    will-change: opacity, transform;
}

/* Efecto: Fade desde la izquierda (Para el texto) */
.dt-card [data-animate="fade-right"] {
    transform: translateX(-40px);
}

/* Efecto: Zoom In (Para el diagrama) */
.dt-card [data-animate="zoom-in"] {
    transform: scale(0.9);
}

/* ESTADO FINAL: Cuando JS agrega la clase .animate */
.dt-card [data-animate].animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Retraso para que el diagrama entre después del texto */
.delay-200 {
    transition-delay: 0.2s;
}
/* ======================================================
   FIX PARA EL DIAGRAMA VENN (EVITAR QUE SE SALGA)
   ====================================================== */

/* 1. Estado final en Desktop: Forzar escala 0.75 en lugar de 1 */
.dt-card .venn-container.animate {
    transform: scale(0.75) !important;
    opacity: 1 !important;
}

/* 2. Estado final en Tablet (según tus media queries originales) */
@media (max-width: 1100px) {
    .dt-card .venn-container.animate {
        transform: scale(0.65) !important;
    }
}

/* 3. Estado final en Mobile */
@media (max-width: 992px) {
    .dt-card .venn-container.animate {
        transform: scale(0.60) !important;
    }
}

/* 4. Estado final en Pantallas Pequeñas */
@media (max-width: 500px) {
    .dt-card .venn-container.animate {
        transform: scale(0.52) !important;
    }
}


/* ======================================================
   8. RESPONSIVE GENERAL
   ====================================================== */

@media (max-width: 1100px) {
    .venn-container {
        transform: scale(0.65);
        margin-top: -70px;
        margin-bottom: -70px;
    }
}
/* ======================================================
   RESPONSIVE (MOBILE) - CORREGIDO
   ====================================================== */
@media (max-width: 992px) {

    /* 1. Ajustes generales del contenedor */
    .formar-parte-container {
        padding: 60px 20px;
    }

    .fp-bg-decoration {
        display: none;
    }

    /* 2. Filas en columna y centradas */
    .fp-row {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
        text-align: center !important; /* Fuerza alineación central */
    }

        .fp-row.reverse-mobile {
            flex-direction: column-reverse;
        }

    /* 3. Columna de texto */
    .fp-col-text {
        width: 100%;
        text-align: center !important; /* IMPORTANTE: Centra el contenido */
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Alinea items flex al centro */
    }

    /* --- AQUÍ ESTÁ EL ARREGLO QUE PEDISTE --- */
    /* Anulamos el 85% para que ocupe todo el ancho y se centre */
    .fp-desc {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center;
    }

    /* Lo mismo para la descripción del formulario */
    .fp-formdesc {
        max-width: 100% !important;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* ---------------------------------------- */

    /* 4. Elementos visuales */
    .formar-parte-wrapper .fp-col-visual {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .fp-badge-icon {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto 20px auto; /* Centrado del icono */
    }

    /* Lista de checks (Texto a la izq, pero bloque centrado) */
    .fp-check-list {
        display: inline-block;
        text-align: left;
        margin: 0 auto 30px auto;
    }

    .fp-actions {
        justify-content: center;
        width: 100%;
    }

    /* 5. Ajustes de la tarjeta y carrusel */
    .formar-parte-wrapper .fp-testimonial-card {
        height: 350px;
    }

    .formar-parte-wrapper .external-pagination {
        flex-direction: row;
        margin-top: 18px;
        margin-left: 0;
        justify-content: center; /* Centrar puntitos */
    }

    .formar-parte-wrapper .fp-card-line {
        display: none;
    }

    /* 6. Diagrama Venn Mobile */
    .dt-card {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 0;
        overflow: hidden;
        height: auto;
    }

    .dt-text-section {
        padding: 0;
        margin-bottom: 20px;
        flex: 0 0 auto;
    }

    .dt-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .dt-visual-section {
        width: 100%;
        height: 340px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top: 0;
        overflow: visible;
        flex: 0 0 auto;
    }

    .venn-container {
        width: 480px;
        position: relative;
        left: 0;
        transform-origin: top center;
        transform: scale(10);
        margin: 0;
    }

    /* 7. Ajuste de círculos de fondo en móvil */
    .formar-parte-wrapper .fp-glow-circle {
        width: 220px;
        height: 220px;
        bottom: -50px;
        right: -50px;
    }

    .formar-parte-wrapper .fp-glow-circle-large {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 500px) {
    .venn-container {
        transform: scale(0.52);
    }

    .dt-visual-section {
        height: 300px;
    }

    .i-bottom-center {
        bottom: 60px;
    }
}


/* ======================================================
   9. REDISEÑO MÓVIL (DISEÑO ORBITAL)
   Pegar esto al final de tu archivo CSS
   ====================================================== */

@media (max-width: 768px) {

    /* 1. CONTENEDOR PRINCIPAL: Lo hacemos vertical y limpiamos espacios */
    .dt-card {
        flex-direction: column;
        padding: 40px 15px;
        gap: 20px;
        height: auto !important;
        overflow: visible; /* Importante para que no se corten los iconos */
    }

    /* 2. TEXTO: Centrado arriba */
    .dt-text-section {
        text-align: center;
        padding: 0;
        margin-bottom: 20px;
    }

    .dt-title {
        font-size: 28px;
    }

    /* 3. ÁREA VISUAL: Definimos un cuadrado para la "órbita" */
    .dt-visual-section {
        width: 100%;
        height: 360px; /* Altura fija para contener la órbita */
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        overflow: visible;
    }

    /* 4. CANVAS DEL DIAGRAMA: Reiniciamos la escala */
    /* Aquí está la magia: Quitamos el scale(0.52) para que los iconos sean grandes */
    .venn-container {
        width: 320px;
        height: 320px;
        transform: none !important; /* Forzamos tamaño real */
        margin: 0 auto;
        position: relative;
        left: auto;
    }

    /* Aseguramos que la animación no vuelva a hacerlo pequeño */
    .dt-card .venn-container.animate {
        transform: scale(1) !important;
    }

    /* 5. CÍRCULOS DE FONDO: Simplificamos el Venn a un solo círculo (Órbita) */
    .circle.dashed {
        opacity: 0; /* Ocultamos los círculos complejos */
    }

        /* Usamos uno solo como guía visual */
        .circle.dashed.c-top {
            opacity: 0.4;
            width: 300px;
            height: 300px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 1px dashed #0D4AE6;
            display: block;
        }

    /* 6. ROBOT CENTRAL: Lo centramos absolutamente */
    .center-bubble {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 130px;
        margin: 0;
    }

        .center-bubble img {
            width: 100%;
            height: auto;
        }

    /* 7. REDISTRIBUCIÓN DE ICONOS (EL RELOJ) 
       Colocamos los iconos en coordenadas fijas alrededor del centro
       para que no se encimen.
    */

    /* Ajuste visual de los iconos para que sean fáciles de tocar */
    .icon-bubble {
        width: 55px;
        height: 55px;
        background: white;
        box-shadow: 0 4px 15px rgba(13, 74, 230, 0.2);
    }

    /* --- POSICIONES --- */

    /* Arriba (12:00) - BI */
    .i-top {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Arriba Derecha (2:00) - SAP */
    .i-right-inter {
        top: 50px;
        right: 15px;
        left: auto; /* Reseteamos propiedades conflictivas */
    }

    /* Arriba Izquierda (10:00) - Diamante */
    .i-left-inter {
        top: 50px;
        left: 15px;
    }

    /* Abajo Izquierda (7:00) */
    .i-far-left {
        bottom: 50px;
        left: 20px;
    }

    /* Abajo Derecha (5:00) */
    .i-far-right {
        bottom: 50px;
        right: 20px;
        left: auto;
    }

    /* Abajo Centro (6:00) */
    .i-bottom-center {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

        /* Fix para el hover en móvil: evitamos saltos bruscos */
        .i-top:hover, .i-bottom-center:hover {
            transform: translateX(-50%) scale(1.1);
        }
}
/* ======================================================
   FIX: FORZAR VISIBILIDAD EN DESKTOP
   (Si la animación JS falla, esto asegura que se vean las imágenes)
   ====================================================== */
@media (min-width: 769px) {
    .dt-card [data-animate] {
        opacity: 1 !important; /* Ignoramos la espera de la animación */
        transform: scale(1) !important; /* Quitamos transformaciones que puedan ocultarlo */
    }

    /* Ajuste específico para el contenedor del diagrama en Desktop */
    .dt-card .venn-container {
        transform: scale(0.75) !important; /* Mantenemos tu escala original de diseño */
        opacity: 1 !important;
    }
}