/* =========================================================
   BLUEANDWHITEROAD
   CONTENCIÓN VIAL
   CSS ESPECÍFICO DE PÁGINA
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

.impacto-hero,
.impacto-content {

    --cv-dark: #061f49;

    --cv-blue: #1769ff;

    --cv-light-blue: #25b8f2;

    --cv-title: #06275c;

    --cv-text: #667085;

    --cv-bg: #f6f8fc;

    --cv-border: #e4e9f1;

    --cv-shadow:
        0 12px 35px rgba(6, 31, 73, .08);

}


/* =========================================================
   HERO
   ========================================================= */
/* =========================================================
   HERO - AJUSTE DE POSICIÓN
   ========================================================= */

.impacto-hero {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    /*
       Dejamos espacio suficiente para que el contenido
       no quede debajo del header.
    */
    padding: 125px 0 75px;

    background:

        linear-gradient(90deg,
            rgba(4, 25, 57, .96) 0%,
            rgba(5, 38, 86, .88) 48%,
            rgba(5, 38, 86, .68) 100%),

        url("../img/servicios/contencion/1.webp") center center / cover no-repeat;

}


.impacto-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(180deg,
            rgba(6, 31, 73, .05),
            rgba(6, 31, 73, .28));

    pointer-events: none;

}


.impacto-hero>.container {

    position: relative;

    z-index: 2;

    width: 100%;

    text-align: center;

    transform: translateY(25px);

}


.impacto-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(180deg,
            rgba(6, 31, 73, .05),
            rgba(6, 31, 73, .28));

    pointer-events: none;

}


.impacto-hero>.container {

    position: relative;

    z-index: 2;

    text-align: center;

}


.impacto-tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    padding: 8px 17px;

    border: 1px solid rgba(255, 255, 255, .30);

    border-radius: 999px;

    background: rgba(255, 255, 255, .10);

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    backdrop-filter: blur(8px);

}


.impacto-hero h1 {

    max-width: 950px;

    margin: 0 auto 20px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.5px;

}


.impacto-hero>.container>p {

    max-width: 800px;

    margin: 0 auto;

    color: rgba(255, 255, 255, .88);

    font-size: 17px;

    line-height: 1.8;

}


.hero-buttons {

    display: flex;

    justify-content: center;

    margin-top: 30px;

}


.impacto-hero .btn-primary {

    background:

        linear-gradient(135deg,
            #1769ff,
            #0b52d6);

    box-shadow:

        0 12px 28px rgba(23, 105, 255, .28);

}


/* =========================================================
   STATS
   ========================================================= */

.impacto-hero .stats-grid {

    max-width: 850px;

    margin: 48px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

}


.impacto-hero .stat-card {

    padding: 20px 18px;

    border: 1px solid rgba(255, 255, 255, .20);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .09);

    backdrop-filter: blur(10px);

}


.impacto-hero .stat-card h3 {

    margin: 0 0 5px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

}


.impacto-hero .stat-card p {

    margin: 0;

    color:
        rgba(255, 255, 255, .76);

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.impacto-content {

    padding: 80px 0 90px;

    background: #f6f8fc;

}


.impacto-content>.container {

    max-width: 1120px;

}


/* =========================================================
   IMAGEN PRINCIPAL
   ========================================================= */

.impacto-image {

    width: 100%;

    max-width: 1050px;

    height: 420px;

    object-fit: cover;

    margin: 0 auto 65px;

    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(6, 31, 73, .12);

}


/* =========================================================
   TITULOS
   ========================================================= */

.impacto-content h2 {

    margin: 65px 0 22px;

    color: #06275c;

    font-size: clamp(29px, 4vw, 42px);

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.7px;

}


.impacto-content h2:first-of-type {

    margin-top: 0;

}


.impacto-content>.container>p {

    max-width: 940px;

    margin: 0 0 18px;

    color: #667085;

    font-size: 16px;

    line-height: 1.85;

}


/* =========================================================
   APLICACIONES
   ========================================================= */

.impacto-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 30px;

}


.impacto-card {

    min-height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 25px;

    border: 1px solid #e4e9f1;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(6, 31, 73, .06);

    color: #06275c;

    text-align: center;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.impacto-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(6, 31, 73, .11);

}


.impacto-card i {

    color: #1769ff;

    font-size: 24px;

}


.impacto-card span {

    font-size: 15px;

    font-weight: 750;

}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;

}


.benefit-card {

    padding: 28px;

    border: 1px solid #e4e9f1;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(6, 31, 73, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.benefit-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(6, 31, 73, .11);

}


.benefit-card>i {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background:
        rgba(23, 105, 255, .10);

    color: #1769ff;

    font-size: 20px;

}


.benefit-card h3 {

    margin: 0 0 10px;

    color: #06275c;

    font-size: 18px;

    line-height: 1.35;

    font-weight: 750;

}


.benefit-card p {

    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   SOLUCIONES
   ========================================================= */

.solution-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;

}


.solution-card {

    padding: 30px;

    border: 1px solid #e4e9f1;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(6, 31, 73, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.solution-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(6, 31, 73, .11);

}


.solution-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border-radius: 13px;

    background:
        linear-gradient(135deg,
            rgba(23, 105, 255, .11),
            rgba(37, 184, 242, .14));

    color: #1769ff;

    font-size: 21px;

}


.solution-card h3 {

    margin: 0 0 10px;

    color: #06275c;

    font-size: 20px;

    font-weight: 750;

}


.solution-card p {

    margin: 0 0 20px;

    color: #667085;

    font-size: 14px;

    line-height: 1.75;

}


.solution-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #1769ff;

    font-size: 13px;

    font-weight: 750;

    transition: gap .2s ease;

}


.solution-link:hover {

    gap: 12px;

}


/* =========================================================
   PROCESO
   ========================================================= */

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 14px;

    margin-top: 30px;

}


.process-card {

    min-height: 220px;

    padding: 24px 20px;

    border: 1px solid #e4e9f1;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 10px 25px rgba(6, 31, 73, .05);

}


.process-card>span {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #061f49;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

}


.process-card h3 {

    margin: 0 0 10px;

    color: #06275c;

    font-size: 16px;

    font-weight: 750;

}


.process-card p {

    margin: 0;

    color: #667085;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   QUALITY BOX
   ========================================================= */

.quality-box {

    display: grid;

    grid-template-columns:
        auto 1fr;

    align-items: center;

    gap: 24px;

    margin-top: 55px;

    padding: 32px;

    border-radius: 18px;

    background:

        linear-gradient(135deg,
            #061f49,
            #092d63);

    box-shadow:
        0 18px 40px rgba(6, 31, 73, .12);

}


.quality-icon {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255, 255, 255, .10);

    color: #25b8f2;

    font-size: 25px;

}


.quality-box h3 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;

}


.quality-box p {

    max-width: 800px;

    margin: 0;

    color:
        rgba(255, 255, 255, .78);

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   FAQ
   ========================================================= */

.faq-grid {

    max-width: 950px;

    margin: 30px auto 0;

}


.faq-item {

    margin-bottom: 12px;

    border: 1px solid #e4e9f1;

    border-radius: 13px;

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 7px 22px rgba(6, 31, 73, .04);

}


.faq-item summary {

    position: relative;

    cursor: pointer;

    padding: 21px 55px 21px 22px;

    color: #06275c;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 700;

    list-style: none;

}


.faq-item summary::-webkit-details-marker {

    display: none;

}


.faq-item summary::after {

    content: "+";

    position: absolute;

    right: 22px;

    top: 50%;

    transform: translateY(-50%);

    color: #1769ff;

    font-size: 23px;

    font-weight: 400;

}


.faq-item[open] summary::after {

    content: "−";

}


.faq-item p {

    margin: 0;

    padding: 0 22px 22px;

    color: #667085;

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   CTA
   ========================================================= */

.cta {

    text-align: center;

}


.cta .container {

    max-width: 850px;

}


.cta h2 {

    color: #06275c;

}


.cta p {

    max-width: 720px;

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {


    .process-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {


    .impacto-grid,
    .benefits-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .solution-grid {

        grid-template-columns: 1fr;

    }


}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    .impacto-hero {

        min-height: 500px;

        padding: 75px 0 55px;

    }


    .impacto-hero h1 {

        font-size: 34px;

        letter-spacing: -.8px;

    }


    .impacto-hero>.container>p {

        font-size: 14px;

        line-height: 1.7;

    }


    .impacto-hero .stats-grid {

        grid-template-columns: 1fr;

        max-width: 320px;

        margin-top: 32px;

    }


    .impacto-hero .stat-card {

        padding: 15px;

    }


    .impacto-content {

        padding: 55px 0 65px;

    }


    .impacto-image {

        height: 230px;

        margin-bottom: 45px;

        border-radius: 14px;

    }


    .impacto-content h2 {

        margin-top: 48px;

        font-size: 29px;

    }


    .impacto-content>.container>p {

        font-size: 14px;

        line-height: 1.75;

    }


    .impacto-grid,
    .benefits-grid,
    .solution-grid,
    .process-grid {

        grid-template-columns: 1fr;

    }


    .impacto-card {

        min-height: 105px;

    }


    .benefit-card,
    .solution-card {

        padding: 24px;

    }


    .process-card {

        min-height: auto;

        padding: 24px;

    }


    .quality-box {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 28px 22px;

    }


    .quality-icon {

        margin: 0 auto;

    }


    .quality-box h3 {

        font-size: 19px;

    }


    .faq-item summary {

        padding: 18px 48px 18px 18px;

        font-size: 14px;

    }


    .faq-item p {

        padding: 0 18px 20px;

        font-size: 13px;

    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 400px) {


    .impacto-hero {

        min-height: 480px;

    }


    .impacto-hero h1 {

        font-size: 30px;

    }


    .impacto-tag {

        font-size: 9px;

        padding: 7px 12px;

    }


    .impacto-image {

        height: 205px;

    }

}