/* =============================================
   ABOUT PAGE - Premium Modernization
   Página "Quiénes Somos" de Élève CR
   ============================================= */

/* ===== HERO SECTION ===== */
.about-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #f0fdfd 0%, #ffffff 40%, #f8fcfc 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 206, 207, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 206, 207, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.about-hero-text {
    flex: 2;
    min-width: 280px;
    animation: aboutFadeInLeft 0.8s ease-out;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 206, 207, 0.1) 0%, rgba(0, 206, 207, 0.05) 100%);
    border: 1px solid rgba(0, 206, 207, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00a8a9;
    font-family: 'Verdana', sans-serif;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.about-hero-badge i {
    font-size: 0.9rem;
}

.about-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-hero-title span {
    color: #00cecf;
    position: relative;
}

.about-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00cecf, transparent);
    border-radius: 2px;
    opacity: 0.3;
}

.about-hero-description {
    font-size: 1.05rem;
    color: #444;
    font-family: 'Open Sans', Verdana, sans-serif;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-hero-description strong {
    color: #1a1a2e;
}

.about-hero-highlight {
    display: inline-block;
    color: #00cecf;
    font-weight: 700;
    margin-top: 16px;
    font-size: 1.08rem;
}

.about-hero-image {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: aboutFadeInRight 0.8s ease-out;
}

.about-hero-image img {
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 12px 30px rgba(0, 206, 207, 0.15));
    transition: transform 0.5s ease;
}

.about-hero-image img:hover {
    transform: scale(1.03) translateY(-5px);
}

/* ===== VIDEO SECTION ENHANCED ===== */
.about-video-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
}

.about-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 206, 207, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-video-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-video-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.about-video-title span {
    color: #00cecf;
}

.about-video-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Verdana', sans-serif;
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-video-frame {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 206, 207, 0.15);
}

.about-video-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(0, 206, 207, 0.3), transparent, rgba(0, 206, 207, 0.1));
    z-index: -1;
    pointer-events: none;
}

.about-video-frame iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* ===== ESPECIALIDADES CLICKABLE ===== */
.especialidad-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.especialidad-card-link .especialidad-card {
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(.4, 1.4, .6, 1.1), box-shadow 0.22s, border-color 0.3s;
}

.especialidad-card-link:hover .especialidad-card {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0, 206, 207, 0.2);
    border-color: rgba(0, 206, 207, 0.4);
}

.especialidad-card-link:hover .especialidad-nombre {
    text-decoration: none;
}

.especialidad-card .especialidad-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 206, 207, 0.08);
    color: #00cecf;
    font-size: 0.85rem;
    margin-top: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-5px);
}

.especialidad-card-link:hover .especialidad-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== TEAM SECTION PREMIUM ===== */
.about-team-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    position: relative;
    overflow: hidden;
}

.about-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 207, 0.2), transparent);
}

.about-team-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 206, 207, 0.1) 0%, rgba(0, 206, 207, 0.03) 100%);
    border: 1px solid rgba(0, 206, 207, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00a8a9;
    font-family: 'Verdana', sans-serif;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-team-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.about-team-title span {
    color: #00cecf;
}

.about-team-subtitle {
    font-size: 1.05rem;
    color: #777;
    font-family: 'Verdana', sans-serif;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.about-team-card {
    background: #ffffff;
    padding: 44px 32px 36px;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00cecf, #00a8a9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.about-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 206, 207, 0.12), 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 206, 207, 0.2);
}

.about-team-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.about-team-photo-wrapper::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00cecf, #00a8a9);
    z-index: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-team-card:hover .about-team-photo-wrapper::after {
    opacity: 1;
    transform: scale(1.05);
}

.about-team-photo-wrapper img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 4px solid #ffffff;
    transition: transform 0.4s ease;
}

.about-team-card:hover .about-team-photo-wrapper img {
    transform: scale(1.05);
}

.about-team-name {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-family: 'Verdana', sans-serif;
}

.about-team-role {
    font-size: 0.9rem;
    color: #00cecf;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Verdana', sans-serif;
}

.about-team-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00cecf, rgba(0, 206, 207, 0.3));
    border-radius: 2px;
    margin: 14px auto 16px;
}

/* ===== CTA SECTION PREMIUM ===== */
.about-cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1a2332 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 206, 207, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 207, 0.3), transparent);
}

.about-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 206, 207, 0.15) 0%, rgba(0, 206, 207, 0.05) 100%);
    border: 1px solid rgba(0, 206, 207, 0.2);
    margin-bottom: 28px;
    font-size: 1.6rem;
    color: #00cecf;
    animation: aboutPulseGlow 3s ease-in-out infinite;
}

.about-cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-cta-title span {
    color: #00cecf;
}

.about-cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Verdana', sans-serif;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00cecf 0%, #00a8a9 100%);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    font-family: 'Verdana', sans-serif;
    box-shadow: 0 8px 30px rgba(0, 206, 207, 0.35);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.about-cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.about-cta-btn-primary:hover::before {
    left: 100%;
}

.about-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 206, 207, 0.45);
    color: #ffffff;
    text-decoration: none;
}

.about-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    font-family: 'Verdana', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.about-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(0, 206, 207, 0.3);
    color: #ffffff;
    text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes aboutFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutFadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutPulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 206, 207, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 206, 207, 0.25);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-hero {
        padding: 60px 20px 40px;
    }

    .about-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-image img {
        max-width: 240px;
    }

    .about-video-title {
        font-size: 1.8rem;
    }

    .about-video-frame iframe {
        height: 320px;
    }

    .about-team-grid {
        gap: 24px;
    }

    .about-team-card {
        min-width: 260px;
        padding: 36px 24px 30px;
    }

    .about-cta-title {
        font-size: 2rem;
    }

    .about-cta-section {
        padding: 70px 20px;
    }
}

@media (max-width: 600px) {
    .about-hero-title {
        font-size: 1.7rem;
    }

    .about-hero-description {
        font-size: 0.95rem;
    }

    .about-hero-image img {
        max-width: 200px;
    }

    .about-video-section {
        padding: 50px 15px;
    }

    .about-video-title {
        font-size: 1.5rem;
    }

    .about-video-frame iframe {
        height: 220px;
    }

    .about-team-section {
        padding: 60px 15px;
    }

    .about-team-title {
        font-size: 1.8rem;
    }

    .about-team-card {
        min-width: unset;
        width: 100%;
        max-width: 320px;
    }

    .about-team-photo-wrapper img {
        width: 100px;
        height: 100px;
    }

    .about-cta-title {
        font-size: 1.6rem;
    }

    .about-cta-description {
        font-size: 1rem;
    }

    .about-cta-btn-primary,
    .about-cta-btn-secondary {
        padding: 15px 30px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}
