* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* VERSIÓN 2: Más sofisticada con el logo más grande */
.hero__cta-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: white;
    color: #279659;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(39, 150, 89, 0.2);
    border: 2px solid #279659;
}

.hero__cta-linkedin:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(39, 150, 89, 0.35);
    background: linear-gradient(135deg, #279659 0%, #9bd342 100%);
    color: white;
    border-color: transparent;
}

.linkedin-logo {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.linkedin-text {
    color: #fafbfd;
    font-weight: 700;
    transition: color 0.3s ease;
}

.linkedin-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #279659;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero__cta-linkedin:hover .linkedin-text {
    color: white;
}

.hero__cta-linkedin:hover .linkedin-box {
    background: white;
    color: #279659;
}

.team-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #279659 0%, #9bd342 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
/* Elementos decorativos de fondo */
.team-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(155, 211, 66, 0.2) 0%,
            transparent 50%
    ),
    radial-gradient(
            circle at 70% 80%,
            rgba(39, 150, 89, 0.3) 0%,
            transparent 50%
    );
    animation: team-float 20s ease-in-out infinite;
}
.team-section::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: team-pulse 4s ease-in-out infinite;
}
@keyframes team-float {
    0%,
    100% {
        transform: rotate(0deg) translateX(0px);
    }
    50% {
        transform: rotate(180deg) translateX(20px);
    }
}
@keyframes team-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}
.team-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.team-header {
    text-align: center;
    margin-bottom: 5rem;
}
.team-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.team-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.team-grid {
    display: grid;
    /* La clave de la responsividad en el grid */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: start;
    justify-items: center;
}
.team-member {
    position: relative;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    /* ! SE MANTIENEN VISIBLES POR DEFECTO para evitar el problema en móviles. */
    opacity: 1;
    transform: translateY(0);
}
.team-member:hover {
    transform: translateY(-20px);
}
/* Contenedor de la imagen con efectos */
.member-image-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
}
/* Círculo exterior animado */
.member-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #9bd342, #279659, #422715, #9bd342);
    animation: team-rotate 8s linear infinite;
    opacity: 0.8;
}
.team-member:hover .member-ring {
    animation-duration: 2s;
    opacity: 1;
}
@keyframes team-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Círculo medio con glassmorphism */
.member-border {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
/* Imagen del miembro */
.member-photo {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 3;
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-member:hover .member-photo img {
    transform: scale(1.1);
}
/* Badge de Copera */
.copera-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background: linear-gradient(135deg, #422715, #9bd342);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(66, 39, 21, 0.4);
    z-index: 4;
    animation: team-bounce 2s infinite;
}
@keyframes team-bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* Información del miembro */
.member-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.team-member:hover .member-info {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.member-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #422715;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.member-role {
    color: #279659;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.member-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.member-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a551 0%, #a3dc35 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 165, 81, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.member-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.member-social a:hover::before {
    left: 100%;
}
.member-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 165, 81, 0.4);
}
/* Efectos de partículas */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: team-particle-float 6s ease-in-out infinite;
}
.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 4px;
    height: 4px;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 6px;
    height: 6px;
    animation-delay: 2s;
}
.particle:nth-child(3) {
    bottom: 15%;
    left: 20%;
    width: 3px;
    height: 3px;
    animation-delay: 4s;
}
.particle:nth-child(4) {
    bottom: 25%;
    right: 10%;
    width: 5px;
    height: 5px;
    animation-delay: 1s;
}
@keyframes team-particle-float {
    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .team-section {
        padding: 4rem 1rem;
    }
    .team-grid {
        /* Fuerza una sola columna para móviles */
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    /* Reducción de tamaño del componente de imagen */
    .member-image-container {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }
    .member-ring {
        width: 210px;
        height: 210px;
        top: -15px;
        left: -15px;
    }
    .member-border {
        width: 200px;
        height: 200px;
        top: -10px;
        left: -10px;
    }
    .member-photo {
        width: 180px;
        height: 180px;
    }
    .team-title {
        font-size: 2.5rem;
    }
    .team-subtitle {
        font-size: 1.1rem;
    }
    .member-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .team-member:hover {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .member-image-container {
        width: 160px;
        height: 160px;
    }
    .member-ring {
        width: 190px;
        height: 190px;
    }
    .member-border {
        width: 180px;
        height: 180px;
    }
    .member-photo {
        width: 160px;
        height: 160px;
    }
    .member-info {
        padding: 1.5rem 1rem;
    }
    .member-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .team-member {
        opacity: 0; /* Oculta solo en desktop para animar */
        transform: translateY(50px);
        animation: team-slideInUp 0.8s ease forwards;
    }
    .team-member:nth-child(1) {
        animation-delay: 0.2s;
    }
    .team-member:nth-child(2) {
        animation-delay: 0.4s;
    }
    .team-member:nth-child(3) {
        animation-delay: 0.6s;
    }
    @keyframes team-slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


.member-conocer {
    margin-top: 1.5rem;
}

.member-conocer .hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #279659 0%, #9bd342 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(39, 150, 89, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
}

.member-conocer .hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.member-conocer .hero__cta:hover::before {
    left: 100%;
}

.member-conocer .hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39, 150, 89, 0.5);
    background: linear-gradient(135deg, #2aad66 0%, #a8e54a 100%);
}

.member-conocer .hero__cta span {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.member-conocer .hero__cta:hover span {
    transform: translateX(5px);
}

.member-conocer .hero__cta:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(39, 150, 89, 0.4);
}

/* Responsivo para el botón */
@media (max-width: 768px) {
    .member-conocer .hero__cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .member-conocer .hero__cta {
        padding: 0.75rem 1.3rem;
        font-size: 0.9rem;
    }
}




.unified-background-section {
    position: relative;
    background: linear-gradient(135deg, #279659 0%, #9bd342 100%);
    overflow: hidden;
    padding: 0;
}

/* Elementos decorativos de fondo (igual que team-section) */
.unified-background-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(155, 211, 66, 0.2) 0%,
            transparent 50%
    ),
    radial-gradient(
            circle at 70% 80%,
            rgba(39, 150, 89, 0.3) 0%,
            transparent 50%
    );
    animation: team-float 20s ease-in-out infinite;
}

.unified-background-section::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: team-pulse 4s ease-in-out infinite;
}

/* Partículas en el contenedor unificado */
.unified-background-section .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: team-particle-float 6s ease-in-out infinite;
}

.unified-background-section .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 4px;
    height: 4px;
    animation-delay: 0s;
}

.unified-background-section .particle:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 6px;
    height: 6px;
    animation-delay: 2s;
}

.unified-background-section .particle:nth-child(3) {
    bottom: 15%;
    left: 20%;
    width: 3px;
    height: 3px;
    animation-delay: 4s;
}

.unified-background-section .particle:nth-child(4) {
    bottom: 25%;
    right: 10%;
    width: 5px;
    height: 5px;
    animation-delay: 1s;
}


.unified-background-section .beneficios-section,
.unified-background-section .team-section {
    background: transparent;
    position: relative;
}

.unified-background-section .team-section::before,
.unified-background-section .team-section::after {
    display: none;
}

.beneficios-section {
    padding: 6rem 2rem;
}


@media (max-width: 768px) {
    .unified-background-section::after {
        width: 200px;
        height: 200px;
    }

    .beneficios-section {
        padding: 4rem 1rem;
    }
}

/* ===== SOLUCIÓN DEFINITIVA - ELIMINA EL VERDE 100% ===== */
.presencia-card {
    background: transparent;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.presencia-imagen {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MÉTODO QUE SÍ ELIMINA EL VERDE ===== */
.presencia-img {
    width: 100%;
    height: auto;
    display: block;

    /* ESTA ES LA CLAVE - Cambia el verde a transparente */
    filter:
            brightness(1.1)
            contrast(1.2)
            hue-rotate(180deg)        /* Invierte los colores verdes */
            saturate(0)               /* Quita la saturación del verde */
            invert(0.1);              /* Invierte ligeramente */

    /* Mezcla que ayuda */
    mix-blend-mode: screen;

    /* Optimización */
    transition: all 0.4s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== MÉTODO ALTERNATIVO MÁS AGRESIVO ===== */
/* Si el de arriba no funciona, usa este: */
.presencia-img {
    width: 100%;
    height: auto;
    display: block;

    /* SUPER AGRESIVO - Elimina verdes */
    filter:
            drop-shadow(0 0 0 white)
            brightness(1.3)
            contrast(1.4)
            saturate(0.5)
            hue-rotate(340deg);

    mix-blend-mode: lighten;
    opacity: 0.98;

    transition: all 0.4s ease;
}

/* ===== MÉTODO 3: USANDO BACKDROP FILTER ===== */
/* El más potente de todos */
.presencia-imagen {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
}

.presencia-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;

    /* Combinación ultra potente */
    filter:
            url('#remove-green')      /* Filtro SVG personalizado */
            brightness(1.2)
            contrast(1.3)
            saturate(0.7);

    mix-blend-mode: color-burn;
    isolation: isolate;
}

/* Hover mejorado */
.presencia-card:hover .presencia-img {
    transform: scale(1.03);
    filter:
            brightness(1.25)
            contrast(1.35)
            saturate(0.75);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .presencia-card {
        padding: 1.5rem;
    }

    .presencia-imagen {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .presencia-card {
        padding: 1rem;
    }

    .presencia-imagen {
        max-width: 100%;
    }

    .presencia-card:hover .presencia-img {
        transform: none;
    }
}