/* ===== ATHENA LAB - ESTILOS ESPECÍFICOS ===== */

/* Botón Volver */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

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

.btn-back:hover::before {
    left: 100%;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.btn-outline-dark {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-dark:hover {
    background: #ffffff;
    color: #000000;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== LAB HERO ===== */
.lab-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.athena-lab-page {
    background: #000000;
}

.athena-lab-page .lab-hero {
    background: #000000;
}

.lab-hero-content {
    flex: 1;
    max-width: 600px;
}

.lab-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lab-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    max-width: 520px;
}

.lab-hero-content h1 span {
    color: #f59e0b;
}

.lab-hero-content p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.7;
    text-align: justify;
    max-width: 520px;
}

.lab-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lab-hero-image img {
    max-width: 500px;
}

/* ===== LAB ABOUT ===== */
.lab-about {
    padding: 100px 20px;
    background: #f0f0f0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.lab-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.lab-about h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.lab-about h2 span {
    color: #f59e0b;
}

.section-intro {
    text-align: center;
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-text {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
}

.about-text h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-text h3::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.about-text p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
    font-size: 0.95rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 28px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
}

.feature-item i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.feature-item span {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ===== LAB TEAM ===== */
.lab-team {
    padding: 100px 20px;
    background: #e8e8e8;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.lab-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.lab-team h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.lab-team h2 span {
    color: #f59e0b;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1150px;
    margin: 50px auto 0;
}

.team-card {
    background: #ffffff;
    padding: 35px 24px 30px;
    border-radius: 20px;
    border: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

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

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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}

.team-avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 4px solid #f59e0b;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    border-color: #fbbf24;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

.team-avatar i {
    font-size: 2.5rem;
    color: #f59e0b;
}

.team-card h4 {
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-weight: 700;
}

.team-card:hover h4 {
    color: #f59e0b;
}

.team-role {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.team-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.team-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.team-social a:hover::before {
    width: 150%;
    height: 150%;
}

.team-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-social a:first-child:hover {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    border-color: #0077b5;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

.team-social a:last-child:hover {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    border-color: #333333;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.team-social a:hover::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulse-ring 0.8s ease-out;
}

.team-card p {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: justify;
}

/* ===== LAB SERVICES ===== */
.lab-services {
    padding: 100px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.lab-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.lab-services h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.lab-services h2 span {
    color: #f59e0b;
}

.lab-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.lab-service-card {
    background: #ffffff;
    padding: 36px 30px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.lab-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.lab-service-card:hover::after {
    transform: scaleX(1);
}

.lab-service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.12);
}

.lab-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.lab-service-card:hover .lab-service-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.lab-service-icon i {
    font-size: 1.5rem;
    color: #f59e0b;
    transition: color 0.4s ease;
}

.lab-service-card:hover .lab-service-icon i {
    color: #ffffff;
}

.lab-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #1a1a1a;
    font-weight: 700;
}

.lab-service-card:hover h3 {
    color: #f59e0b;
}

.lab-service-card p {
    color: #666666;
    line-height: 1.7;
    font-size: 0.9rem;
    text-align: justify;
}

/* ===== LAB CTA ===== */
.lab-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lab-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.lab-cta h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.lab-cta h2 span {
    color: #f59e0b;
}

.lab-cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
    position: relative;
}

.lab-cta .btn-primary {
    padding: 16px 40px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.lab-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .lab-hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }

    .lab-hero-content h1 {
        font-size: 2.5rem;
    }

    .lab-hero-content p {
        text-align: center;
    }

    .lab-hero-image {
        order: -1;
    }

    .lab-hero-image img {
        max-width: 300px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lab-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lab-hero-content h1 {
        font-size: 2rem;
    }

    .team-grid,
    .lab-services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .about-features {
        margin-top: 30px;
    }
}
