/* ===== HERO ===== */
.svc_hero {
    /* background: url('/img/img6.jpg') center/cover no-repeat; */
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* NECESARIO */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlayServicios {
    width: 100%;
    height: 50vh;
    background: rgba(4, 4, 4, 0.567);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* overlay abajo del texto */
}

.svc_hero_content {
    color: white;
    max-width: 700px;
    position: relative;
    z-index: 2; /* texto por encima */
}

.svc_hero_content h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 3px 6px rgba(43, 138, 121, 0.599);
}


.svc_hero_content p {
    color: #eee;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* ===== BLOQUES ===== */
.svc_block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 10%;
    gap: 40px;
}

.svc_block.reverse {
    flex-direction: row-reverse;
}

.svc_img img {
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.svc_text {
    max-width: 500px;
}

.svc_text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.svc_btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: #3c3c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.svc_btn:hover {
    background: #000;
}

/* ===== FOOTER ===== */
.svc_footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #f2f2f2;
    color: #555;
}




/* ________________________________ */
.equip2 {
    padding: 80px 20px;
    background: #f8f9fb;
}

.equip2-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.equip2-title {
    font-size: 40px;
    font-weight: 800;
    color: #0c2b1f;
    margin-bottom: 10px;
}

.equip2-sub {
    font-size: 18px;
    color: #444;
    margin-bottom: 50px;
}

.equip2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.equip2-card {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.equip2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.equip2-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
}

.equip2-card h3 {
    font-size: 20px;
    color: #0c2b1f;
    margin-bottom: 12px;
    font-weight: 700;
}

.equip2-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* — Animaciones scroll — */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}





/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .svc_block,
    .svc_block.reverse {
        flex-direction: column;
        padding: 40px 6%;
        gap: 25px;
        text-align: center;
    }

    .svc_img img {
        width: 100%;
        max-width: 320px;
    }

    .svc_text {
        max-width: 100%;
    }

    .svc_text h2 {
        font-size: 1.6rem;
    }

    .svc_text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .svc_btn {
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
        display: block;
    }
}
