/* ============================================
   HERO COLABORADORES - ESTILO NUEVO
   ============================================ */
.colaboradores-hero {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 45px 30px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    margin: 25px 0 35px;
    font-family: 'Montserrat', sans-serif;
    background-image: url('/images/colaboradores/fondo.png?v=1.2');
    background-size:cover;
}

/*.colaboradores-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #fb9423, #d0710a);
}*/

/* Icono superior */
.colaboradores-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5e8, #ffe4c4);
    color: #d0710a;
    font-size: 1.7rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(208, 113, 10, 0.18);
}

/* Título principal */
.colaboradores-hero__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.3;
    margin: 0 0 15px;
    letter-spacing: -0.3px;
}

/* Línea decorativa bajo el título (igual que .section-border) */
.colaboradores-hero__border {
    display: inline-block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, #fb9423, #d0710a);
    margin: 0 auto 22px;
}

/* Texto lead */
.colaboradores-hero__lead {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto 25px;
}

.colaboradores-hero__lead strong {
    color: #d0710a;
    font-weight: 700;
}

/* Texto antes del botón */
.colaboradores-hero__cta-text {
    font-size: 0.95rem;
    color: #718096;
    margin: 0 0 15px;
}

/* Botón CTA principal */
.colaboradores-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #fb9423, #d0710a);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(208, 113, 10, 0.28);
}

.colaboradores-hero__btn:hover {
    background: linear-gradient(135deg, #d0710a, #b86008);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(208, 113, 10, 0.38);
}

.colaboradores-hero__btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.colaboradores-hero__btn:hover i {
    transform: translateX(3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .colaboradores-hero {
        padding: 35px 20px 30px;
        border-radius: 16px;
        margin: 20px 0 30px;
    }

    .colaboradores-hero__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .colaboradores-hero__title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .colaboradores-hero__border {
        margin-bottom: 18px;
    }

    .colaboradores-hero__lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .colaboradores-hero__cta-text {
        font-size: 0.85rem;
    }

    .colaboradores-hero__btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}

/* ============================================
   TARJETAS DE SINDICATOS - ESTILO NUEVO
   ============================================ */
.sindicato-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 130px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* Franja superior naranja (aparece en hover) */
.sindicato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #fb9423, #d0710a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sindicato-card:hover {
    transform: translateY(-5px);
    border-color: #fb9423;
    box-shadow: 0 12px 28px rgba(208, 113, 10, 0.15);
}

.sindicato-card:hover::before {
    transform: scaleX(1);
}

/* Contenedor del logo */
/* Contenedor del logo */
.sindicato-card__logo {
    width: 300px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;              /* reducido de 10px a 6px */
    transition: background 0.3s ease;
}

.sindicato-card__logo img {
    width: 100%;               /* ← CLAVE: fuerza a ocupar todo el ancho */
    height: 100%;              /* ← CLAVE: fuerza a ocupar todo el alto */
    object-fit: contain;       /* respeta proporción sin deformar */
    display: block;
    transition: transform 0.3s ease;
}


/* Cuerpo (nombre + cta) */
.sindicato-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.sindicato-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
    transition: color 0.25s ease;
}

.sindicato-card:hover .sindicato-card__name {
    color: #d0710a;
}

/* CTA inferior */
.sindicato-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fb9423;
    opacity: 0.85;
    transition: all 0.25s ease;
}

.sindicato-card:hover .sindicato-card__cta {
    opacity: 1;
    color: #d0710a;
}

.sindicato-card__cta i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.sindicato-card:hover .sindicato-card__cta i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .sindicato-card {
        min-height: 120px;
        padding: 18px;
        gap: 14px;
    }

    .sindicato-card__logo {
        width: 160px;
        height: 160px;
        padding: 8px;
    }

    .sindicato-card__name {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .sindicato-card {
        min-height: 100px;
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .sindicato-card__logo {
        width: 180px;
        height: 130px;
        padding: 6px;
        border-radius: 10px;
    }

    .sindicato-card__name {
        font-size: 0.95rem;
    }

    .sindicato-card__cta {
        font-size: 0.72rem;
    }
}