/* Estilos específicos para la página del Equipo */
.hero-section {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 116, 144, 0.1));
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.18), transparent 70%);
    pointer-events: none;
}

.hero-section::before {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -120px;
}

.hero-section::after {
    width: 520px;
    height: 520px;
    bottom: -200px;
    right: -160px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.16), transparent 70%);
}

.team-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.team-card {
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid rgba(15, 118, 110, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(13, 148, 136, 0.1), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    /* Ensure the pseudo-element does not intercept pointer events so inner buttons remain clickable */
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    border: 4px solid rgba(14, 116, 144, 0.12);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.12);
}

.specialty-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
    font-weight: 600;
    font-size: 0.75rem;
    margin: 0.15rem;
}

.team-meta {
    font-size: 0.85rem;
    color: var(--secondary-500);
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.75rem;
    color: var(--secondary-600);
}

.pricing-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-700);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
    color: white;
    padding: clamp(4rem, 8vw, 6rem) clamp(3rem, 8vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    /*border-radius: clamp(1.5rem, 4vw, 2.5rem);*/
    margin-bottom: clamp(1.1rem, 4vw, 1.1rem);
    margin-top: clamp(1.1rem, 4vw, 1.1rem);
    box-shadow: var(--shadow-xl);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: cta-float 25s infinite linear;
    pointer-events: none;
}

@keyframes cta-float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.cta-section .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-section .btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.cta-section .btn:hover i {
    transform: scale(1.1);
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #059669;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background: #f8fafc;
    color: #047857;
    border-color: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-outline-primary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-outline-primary:hover {
    background: #ffffff;
    color: #059669;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .hero-section::before {
        width: 320px;
        height: 320px;
        top: -140px;
        left: -120px;
    }

    .hero-section::after {
        width: 360px;
        height: 360px;
        bottom: -160px;
        right: -160px;
    }
}
