/* Estilos para la sección Hero Servicios */

.banner-servicios-section {
    position: relative;

    width: 100%;
    min-height: 430px;

    background-image: url("/static/img/serviciosPag/hero/bg-servicios.4c4f89750c51.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* Container */

.banner-servicios-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;

    /* IMPORTANTE */
    padding:
        calc(var(--header-height) + 240px)
        80px
        90px;

    display: flex;
    justify-content: center;

    text-align: center;
}

/* Content */

.banner-servicios-content {
    max-width: 980px;

    animation: bannerFadeUp 1s ease;
}

.banner-servicios-content h2 {
    font-family: var(--font-body);

    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 400;
    line-height: 1.2;

    color: var(--color-dark);

    margin-bottom: 34px;
}

.banner-servicios-content p {
    font-size: 1.08rem;
    line-height: 2.1;

    color: #666666;

    margin-bottom: 10px;
}

/* Animation */

@keyframes bannerFadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Responsive */

@media (max-width: 900px) {

    .banner-servicios-section {
        min-height: auto;
    }

    .banner-servicios-container {

        padding:
            calc(var(--header-height) + 30px)
            32px
            80px;
    }

    .banner-servicios-content h2 {
        font-size: 2.3rem;
    }

    .banner-servicios-content p {
        font-size: 1rem;
        line-height: 1.95;
    }

}

@media (max-width: 600px) {

    .banner-servicios-container {

        padding:
            calc(var(--header-height) + 20px)
            24px
            70px;
    }

    .banner-servicios-content h2 {
        font-size: 1.9rem;
    }

}