/* ===================================================== */
/* LABORATORIOS PAGE */
/* ===================================================== */

.labs-hero{

    padding: 90px 60px 50px;

    text-align: center;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.labs-subtitle{

    color: #a6ff00;

    letter-spacing: 2px;

    font-size: 13px;

    margin-bottom: 20px;

    opacity: 0.9;
}

.labs-hero h1{

    font-size: 64px;

    line-height: 1;

    margin-bottom: 25px;
}

.labs-hero h1 span{
    color: #a6ff00;
}

.labs-description{

    max-width: 850px;

    margin: auto;

    font-size: 18px;

    line-height: 1.7;

    opacity: 0.8;
}

/* ===================================================== */
/* GRID */
/* ===================================================== */

.labs-grid{

    padding: 60px;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 30px;
}

/* ===================================================== */
/* CARD */
/* ===================================================== */

.lab-card{

    text-decoration: none;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 28px;

    overflow: hidden;

    transition: all 0.35s ease;

    position: relative;
}

.lab-card:hover{

    transform: translateY(-8px);

    border-color: rgba(166,255,0,0.45);

    box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    0 0 25px rgba(166,255,0,0.08);
}

/* ===================================================== */
/* IMAGE */
/* ===================================================== */

.lab-image{

    height: 280px;

    overflow: hidden;

    position: relative;
}

.lab-image::after{

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(10,26,36,0.65),
        rgba(10,26,36,0)
    );
}

.lab-image img{

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.lab-card:hover img{
    transform: scale(1.06);
}

/* ===================================================== */
/* INFO */
/* ===================================================== */

.lab-info{

    padding: 30px;
}

.lab-info small{

    color: #a6ff00;

    letter-spacing: 2px;

    font-size: 12px;

    opacity: 0.9;
}

.lab-info h3{

    color: white;

    font-size: 34px;

    margin: 14px 0 18px;
}

.lab-info p{

    color: rgba(255,255,255,0.75);

    line-height: 1.7;

    margin-bottom: 25px;
}

.lab-info span{

    color: #a6ff00;

    font-weight: bold;

    font-size: 15px;

    transition: 0.3s ease;
}

.lab-card:hover .lab-info span{

    letter-spacing: 1px;
}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media(max-width:768px){

    .labs-hero{

        padding: 70px 30px 40px;
    }

    .labs-hero h1{

        font-size: 48px;
    }

    .labs-description{

        font-size: 16px;
    }

    .labs-grid{

        grid-template-columns: 1fr;

        padding: 30px;
    }

    .lab-image{

        height: 240px;
    }

    .lab-info h3{

        font-size: 28px;
    }

}