/* --- ESTILOS PÁGINA NOSOTROS --- */

/* 1. VIDEO HERO */
.video-hero {
    position: relative;
    height: 85vh;
    /* Casi pantalla completa */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -80px;
    /* Para que quede detrás del header transparente si lo tienes, o ajustar */
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 50, 0.6);
    /* Azul oscuro semitransparente */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.badge-hero {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content .text-highlight {
    color: #4fc3f7;
}

/* Azul cian brillante */

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down span {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* 2. SECCIONES GENERALES */
.about-section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Historia */
.intro {
    background: #fff;
}

.col-text {
    flex: 1;
}

.col-img {
    flex: 1;
}

.col-text h2 {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 20px;
    line-height: 1.2;
}

.divider {
    width: 60px;
    height: 4px;
    background: #0d47a1;
    margin-bottom: 30px;
}

.col-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0px #e3f2fd;
    /* Efecto de marco desplazado */
}

.img-frame img {
    width: 100%;
    display: block;
}

/* 3. ESTADÍSTICAS */
.stats-bar {
    background: #0d47a1;
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* 4. VALORES */
.values {
    background: #f8f9fa;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.vc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    color: #0d47a1;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* 5. ACREDITACIÓN */
.accreditation-banner {
    background: linear-gradient(to right, #1565c0, #0d47a1);
    color: white;
    padding: 80px 20px;
}

.acc-text {
    flex: 2;
}

.acc-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.acc-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.acc-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.acc-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1);
    /* Logo blanco */
}

.btn-white-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-white-outline:hover {
    background: white;
    color: #0d47a1;
}

/* 6. CTA FINAL */
.about-cta {
    text-align: center;
    padding: 100px 20px;
    background: white;
}

.about-cta h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.btn-primary-lg {
    background: #0d47a1;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.3);
    transition: transform 0.2s;
    display: inline-block;
    margin-top: 30px;
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.4);
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- SECCIÓN ACREDITACIÓN Y PDF (NUEVO) --- */
.accreditation-section {
    background: #f4f8fb;
    padding: 100px 20px;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

.acc-logo-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.acc-logo-box img {
    max-width: 100%;
    max-height: 250px;
    /* Ajusta según tu logo */
    object-fit: contain;
}

.acc-info-box {
    flex: 1.5;
    padding-left: 30px;
}

.acc-badge {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

.acc-info-box h3 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
}

.acc-info-box p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Botón de Descarga PDF Estilizado */
.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid #0d47a1;
    border-radius: 12px;
    padding: 15px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 300px;
}

.btn-download-pdf:hover {
    background: #0d47a1;
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.2);
    transform: translateY(-2px);
}

.icon-pdf {
    background: #0d47a1;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: background 0.3s;
}

.btn-download-pdf:hover .icon-pdf {
    background: white;
    color: #0d47a1;
}

.text-pdf {
    display: flex;
    flex-direction: column;
}

.text-pdf .label {
    font-weight: 700;
    color: #0d47a1;
    font-size: 1.05rem;
}

.btn-download-pdf:hover .text-pdf .label {
    color: white;
}

.text-pdf .sub {
    font-size: 0.8rem;
    color: #777;
}

.btn-download-pdf:hover .text-pdf .sub {
    color: rgba(255, 255, 255, 0.8);
}

/* --- SECCIÓN LABORATORIOS (NUEVO) --- */
.labs-collaboration {
    background: white;
}

.row.reverse {
    flex-direction: row-reverse;
    /* Imagen izquierda, texto derecha */
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
    color: #444;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    /* Verde check */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Ajustes */
@media (max-width: 900px) {
    .row.reverse {
        flex-direction: column;
    }

    .acc-info-box {
        padding-left: 0;
        margin-top: 30px;
        text-align: center;
    }

    .btn-download-pdf {
        width: 100%;
        justify-content: center;
        text-align: left;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .video-hero h1 {
        font-size: 2.5rem;
    }

    .row {
        flex-direction: column;
        text-align: center;
    }

    .stats-bar {
        gap: 40px;
    }

    .divider {
        margin: 0 auto 30px;
    }
}