/* =====================================================
   SERVICIOS - ARQUIMELO
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --services-red: #c1121f;

    --services-dark: #595959;

    --services-white: #ffffff;

    --services-text: #eeeeee;

}



/* =====================================================
   BODY
===================================================== */

body.page-servicios {

    margin: 0;

    background: var(--services-dark);

    color: var(--services-white);

    overflow-x: hidden;

}



/* =====================================================
   BANNER
===================================================== */

.services-banner {

    position: relative;

    width: 100%;

    height: 390px;

    overflow: hidden;

    background-image:
        url("bannerservicios.avif");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    display: flex;

    align-items: center;

}



/* OSCURECER BANNER */

.services-banner-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.20)
        );

    z-index: 1;

}



/* TEXTO DEL BANNER */

.services-banner-content {

    position: relative;

    z-index: 2;

    width: min(1100px, 90%);

    margin: 0 auto;

    padding-top: 80px;

}


.services-banner h1 {

    margin: 0;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: clamp(36px, 4vw, 50px);

    font-weight: 400;

    letter-spacing: 1px;

}



/* =====================================================
   CONTENEDOR SERVICIOS
===================================================== */

.services-list {

    background: var(--services-dark);

    padding:

        72px
        0
        20px;

}



.services-wrapper {

    width: min(950px, 90%);

    margin: 0 auto;

}



/* =====================================================
   CADA SERVICIO
===================================================== */

.service-row {

    display: grid;

    grid-template-columns:

        340px
        minmax(0, 1fr);

    column-gap: 42px;

    align-items: start;

    margin-bottom: 82px;

}



/* =====================================================
   IMÁGENES
===================================================== */

.service-image {

    width: 340px;

    height: 245px;

    overflow: hidden;

    border-radius: 5px;

    background: #444;

}



.service-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease;

}



/* EFECTO AL PASAR EL MOUSE */

.service-row:hover
.service-image img {

    transform: scale(1.04);

}



/* =====================================================
   TEXTO
===================================================== */

.service-text {

    min-width: 0;

    padding-top: 4px;

}



/* =====================================================
   TÍTULO + NÚMERO
===================================================== */

.service-title {

    display: grid;

    grid-template-columns:

        58px
        minmax(0, 1fr);

    column-gap: 14px;

    align-items: start;

    margin-bottom: 18px;

}



/* NÚMERO */

.service-number {

    font-family: 'Oswald', sans-serif;

    font-size: 31px;

    line-height: 1;

    font-weight: 600;

    color: #ffffff;

}



/* TÍTULO */

.service-title h2 {

    margin: 0;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 5px;

}



/* =====================================================
   PÁRRAFOS
===================================================== */

.service-text p {

    margin:

        0
        0
        10px;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 15.5px;

    line-height: 1.65;

    font-weight: 400;

    text-align: justify;

}



/* =====================================================
   CTA
===================================================== */

.services-cta {

    display: flex;

    justify-content: center;

    align-items: center;

    background: var(--services-dark);

    padding:

        10px
        20px
        58px;

}



.services-cta .btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

}



/*=========================================
    FOOTER
=========================================*/

footer {
    background: var(--primary);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-logo-img {
    height: 86px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-logo span span {
    color: var(--primary);
}

.footer-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 14px;
    max-width: 320px;
}

.footer-title {
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    color:  #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1f2937;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #ffffff;
    color: var(--white);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 22px 0;
    text-align: center;
    color: #f8f9fa;
    font-size: 14px;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 991px) {


    .services-banner {

        height: 350px;

    }


    .services-banner-content {

        padding-top: 60px;

    }


    .services-wrapper {

        width: 88%;

    }


    .service-row {

        grid-template-columns:

            280px
            minmax(0, 1fr);

        column-gap: 28px;

        margin-bottom: 70px;

    }


    .service-image {

        width: 280px;

        height: 215px;

    }


    .service-title {

        grid-template-columns:

            50px
            minmax(0, 1fr);

    }


    .service-number {

        font-size: 28px;

    }


    .service-title h2 {

        font-size: 19px;

    }


    .service-text p {

        font-size: 14px;

        line-height: 1.6;

    }

}



/* =====================================================
   RESPONSIVE - CELULAR
===================================================== */

@media (max-width: 768px) {


    .services-banner {

        height: 310px;

        background-position: center center;

    }


    .services-banner-content {

        width: 88%;

        padding-top: 55px;

    }


    .services-banner h1 {

        font-size: 36px;

    }


    .services-list {

        padding-top: 55px;

    }


    .services-wrapper {

        width: 90%;

    }


    .service-row {

        display: flex;

        flex-direction: column;

        gap: 25px;

        margin-bottom: 65px;

    }


    .service-image {

        width: 100%;

        height: 260px;

    }


    .service-text {

        width: 100%;

    }


    .service-title {

        grid-template-columns:

            48px
            minmax(0, 1fr);

        gap: 10px;

        margin-bottom: 17px;

    }


    .service-number {

        font-size: 28px;

    }


    .service-title h2 {

        font-size: 19px;

        line-height: 1.35;

    }


    .service-text p {

        font-size: 14px;

        line-height: 1.7;

        text-align: left;

    }


    .services-cta {

        padding-bottom: 50px;

    }

}



/* =====================================================
   RESPONSIVE - CELULAR PEQUEÑO
===================================================== */

@media (max-width: 480px) {


    .services-banner {

        height: 280px;

    }


    .services-banner-content {

        width: 90%;

        padding-top: 50px;

    }


    .services-banner h1 {

        font-size: 32px;

    }


    .service-image {

        height: 220px;

    }


    .service-title {

        grid-template-columns:

            42px
            minmax(0, 1fr);

    }


    .service-number {

        font-size: 25px;

    }


    .service-title h2 {

        font-size: 17px;

    }


    .service-text p {

        font-size: 13.5px;

    }

}