/* ================= STAFF HERO SECTION ================= */
.staff-hero {
    background: var(--neutral-white);
    padding:80px 0 !important;
    overflow: hidden;
    position: relative;
}

.staff-hero__dotted-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    top: -10%;
    pointer-events: none;
    z-index: 1;
    background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
    mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
    will-change: transform;
}

.staff-hero .container {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
    position: relative;
    z-index: 2;
}

.staff-hero__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.staff-hero__main-title {
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -1.5px;
}

.staff-hero__showcase {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.staff-hero__content {
    grid-column: 1 / 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.staff-hero__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.staff-hero__description {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    color: var(--paragraph);
    margin-bottom: 1.25rem;
}

.staff-hero__description strong {
    color: var(--text);
    font-weight: 600;
}

.staff-hero__description:last-of-type {
    margin-bottom: 2.2rem;
}

.staff-hero__btn {
    background: #2596BE;
    color: var(--neutral-white) !important;
    font-weight: 500;
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 150, 190, 0.25);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.staff-hero__btn:hover {
    background: #1e7ba0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 150, 190, 0.35);
}

.staff-hero__image-wrapper {
    grid-column: 6 / 13;
    width: 100%;
}

.staff-hero__image-container {
    position: relative;
    width: 100%;
    height: clamp(360px, 42vw, 500px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border: 8px solid rgba(0, 0, 0, 0.05);
}

.staff-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .staff-hero__content {
        grid-column: 1 / 7;
    }
    .staff-hero__image-wrapper {
        grid-column: 7 / 13;
    }
}

@media (max-width: 768px) {
    .staff-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    .staff-hero__showcase {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .staff-hero__content {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    .staff-hero__image-wrapper {
        grid-column: 1 / -1;
        max-width: 580px;
        margin: 0 auto;
    }
    .staff-hero__image-container {
        height: 360px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .staff-hero__main-title {
        font-size: 1.85rem;
    }
    .staff-hero__image-container {
        height: 280px;
        border-radius: 16px;
    }
    .staff-hero__btn {
        width: 100%;
        text-align: center;
    }
}

/* ================= STAFF ROLES SECTION ================= */
.staff-roles {
    padding: var(--section-padding-y) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.staff-roles__layout-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 4rem);
}

.staff-roles__info-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.staff-roles__title {
    font-size: var(--h2);
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.staff-roles__subtitle {
    font-size: var(--p);
    color: var(--paragraph);
    line-height: 1.6;
}

.staff-roles__pretitle {
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: var(--hero-alt);
    padding: 4px 8px;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #dadada;
}

.staff-roles__pretitle .green-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    margin-right: 6px;
}

.staff-roles__cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.staff-roles__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background: var(--card-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    animation: cardFadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.staff-roles__card:nth-child(1) { animation-delay: 0.1s; }
.staff-roles__card:nth-child(2) { animation-delay: 0.2s; }
.staff-roles__card:nth-child(3) { animation-delay: 0.3s; }
.staff-roles__card:nth-child(4) { animation-delay: 0.4s; }
.staff-roles__card:nth-child(5) { animation-delay: 0.5s; }
.staff-roles__card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.staff-roles__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 5;
    border-radius: 0 0 16px 0;
}

.staff-roles__card:hover::after {
    transform: scaleX(1);
    animation: gradientMove 1.5s ease-in-out infinite;
}

.staff-roles__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.staff-roles__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%;
    overflow: hidden;
}

.staff-roles__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.staff-roles__card:hover .staff-roles__image {
    transform: scale(1.08);
}

.staff-roles__blur-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.staff-roles__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.staff-roles__card:hover .staff-roles__overlay {
    opacity: 1;
}

.staff-roles__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 4vw, 2rem);
    z-index: 3;
    transform: translateY(0);
    transition: transform 0.3s ease;
    width: 100%;
}

.staff-roles__card-title {
    color: #ffffff;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.staff-roles__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: white;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 8px;
    margin-top: 0.5rem;
}

.staff-roles__link span {
    position: relative;
}

.staff-roles__link svg {
    transition: transform 0.3s ease;
    stroke: var(--text);
    width: 16px;
    height: 16px;
}

.staff-roles__link:hover {
    background: var(--primary);
    color: white;
    gap: 12px;
}

.staff-roles__link:hover svg {
    transform: translateX(4px);
    stroke: white;
}

.staff-roles__card:hover .staff-roles__blur-layer {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .staff-roles__cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .staff-roles__content {
        padding: 1rem;
    }
    .staff-roles__link {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    .staff-roles__overlay {
        opacity: 0.3;
    }
    .staff-roles__card-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 640px) {
    .staff-roles__cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
    .staff-roles__title {
        font-size: clamp(24px, 6vw, 32px);
    }
    .staff-roles__content {
        padding: 0.875rem;
    }
    .staff-roles__card-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    .staff-roles__link {
        padding: 8px 10px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    .staff-roles__link svg {
        width: 12px;
        height: 12px;
    }
    .staff-roles__pretitle {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .staff-roles__cards-container {
        gap: 0.75rem;
    }
    .staff-roles__content {
        padding: 0.75rem;
    }
    .staff-roles__card-title {
        font-size: 0.8rem;
    }
    .staff-roles__link {
        padding: 6px 8px;
        font-size: 0.65rem;
    }
}

@media (hover: hover) {
    .staff-roles__link {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= AI-READY TALENT SECTION (SIN BLUR) ================= */

.ai-talent {
    background: white;
    padding: calc(var(--section-padding-y) * 0.7) 0;
}

.ai-talent__wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

.ai-talent__container {
    background: #f5f5f5;
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    overflow: hidden;
}

.ai-talent__content {
    grid-column: 1 / 7;
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-talent__badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 150, 190, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
}

.ai-talent__title {
    font-size: var(--h1);
    font-weight: 400;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin: 0;
}

.ai-talent__title .gradient-text {
    background: linear-gradient(135deg, #2596BE, #FF9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-talent__description {
    font-size: var(--p);
    color: var(--paragraph);
    line-height: 1.5;
    margin: 0;
}

.ai-talent__points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0;
}

.ai-talent__point {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.ai-talent__point-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 150, 190, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    min-width: 38px;
    text-align: center;
}

.ai-talent__point-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.ai-talent__point-content p {
    font-size: 0.8rem;
    color: var(--paragraph);
    line-height: 1.4;
    margin: 0;
}

.ai-talent__visual {
    grid-column: 7 / 13;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.ai-talent__image-wrapper {
    position: relative;
    width: 100%;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    clip-path: inset(0% 0% 0% 0% round 28px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.ai-talent__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.ai-talent__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

/* ELIMINADO: .ai-talent-blur y todas sus reglas */

.ai-talent__overlay-content {
    position: absolute;
    inset: 0;
    padding: 2.2rem 2rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    box-sizing: border-box;
}

.ai-talent__text-row p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 500;
    color: white;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.ai-talent__interactive-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
}

.ai-talent__trust-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-talent__avatars {
    display: flex;
    align-items: center;
}

.ai-talent__avatars .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    margin-left: -10px;
    transition: transform 0.2s ease;
}

.ai-talent__avatars .avatar:first-child {
    margin-left: 0;
}

.ai-talent__avatars .avatar:hover {
    transform: translateY(-2px);
}

.avatar-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    border: 2px solid white;
    margin-left: -10px;
}

.ai-talent__rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rating-score {
    font-weight: 700;
    color: white;
    font-size: 0.8rem;
}

.rating-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.ai-talent__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ai-talent__btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    stroke: #1a1a1a;
}

.ai-talent__btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.ai-talent__btn:hover svg {
    transform: translateX(3px);
    stroke: white;
}

/* ================= RESPONSIVE AI TALENT ================= */

@media (max-width: 1024px) {
    .ai-talent__container {
        grid-template-columns: 1fr;
    }
    .ai-talent__content {
        grid-column: 1 / -1;
    }
    .ai-talent__visual {
        grid-column: 1 / -1;
        padding: 0 2rem 2rem 2rem;
    }
    .ai-talent__image-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .ai-talent__content {
        padding: 1.8rem;
        gap: 1.2rem;
    }
    .ai-talent__points {
        gap: 1rem;
    }
    .ai-talent__point-number {
        font-size: 0.8rem;
        min-width: 34px;
    }
    .ai-talent__point-content h4 {
        font-size: 0.85rem;
    }
    .ai-talent__point-content p {
        font-size: 0.75rem;
    }
    .ai-talent__visual {
        padding: 0 1rem 1rem 1rem;
    }
    .ai-talent__image-wrapper {
        min-height: 360px;
    }
    .ai-talent__overlay-content {
        padding: 1.5rem;
        gap: 1rem;
    }
    .ai-talent__text-row p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    .ai-talent__interactive-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .ai-talent__btn {
        width: 100%;
        justify-content: center;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .ai-talent {
        padding: 2rem 0;
    }
    .ai-talent__title {
        font-size: clamp(26px, 6vw, 36px);
    }
    .ai-talent__description {
        font-size: 0.85rem;
    }
    .ai-talent__image-wrapper {
        min-height: 320px;
    }
    .ai-talent__overlay-content {
        padding: 1.2rem;
    }
    .ai-talent__avatars .avatar,
    .avatar-more {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }
    .rating-score {
        font-size: 0.7rem;
    }
    .rating-text {
        font-size: 0.6rem;
    }
    .ai-talent__btn {
        font-size: 0.75rem;
        padding: 7px 16px;
    }
}