/* =========================================================
   BLUEANDWHITEROAD
   TERMINALES DE IMPACTO
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.terminal-hero {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    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/proyectos/proyecto_4.webp")
        center center / cover no-repeat;

}


.terminal-hero::before {

    content: "";

    position: absolute;

    inset: 0;

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

}


.terminal-hero > .container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1050px;

    text-align: center;

    transform: translateY(20px);

}


.terminal-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;

}


.terminal-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;

}


.terminal-hero > .container > p {

    max-width: 800px;

    margin: 0 auto;

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

    font-size: 17px;

    line-height: 1.8;

}


.terminal-hero-buttons {

    display: flex;

    justify-content: center;

    margin-top: 30px;

}


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

.terminal-stats {

    max-width: 850px;

    margin: 48px auto 0;

    display: grid;

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

    gap: 16px;

}


.terminal-stat {

    padding: 20px 18px;

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

    border-radius: 14px;

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

    backdrop-filter: blur(10px);

}


.terminal-stat h3 {

    margin: 0 0 5px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

}


.terminal-stat p {

    margin: 0;

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

    font-size: 12px;

}


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

.terminal-content {

    padding: 80px 0 90px;

    background: #f6f8fc;

}


.terminal-content > .container {

    max-width: 1120px;

}


.terminal-main-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
   ========================================================= */

.terminal-content h2 {

    margin: 65px 0 22px;

    color: #06275c;

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

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.7px;

}


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

    margin-top: 0;

}


.terminal-content > .container > p {

    max-width: 940px;

    margin: 0 0 18px;

    color: #667085;

    font-size: 16px;

    line-height: 1.85;

}


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

.terminal-grid {

    display: grid;

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

    gap: 18px;

    margin-top: 30px;

}


.terminal-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;

}


.terminal-card:hover {

    transform: translateY(-4px);

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

}


.terminal-card i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    margin-bottom: 18px;

    border-radius: 12px;

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

    color: #1769ff;

    font-size: 20px;

}


.terminal-card h3 {

    margin: 0 0 10px;

    color: #06275c;

    font-size: 18px;

    font-weight: 750;

}


.terminal-card p {

    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.75;

}


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

.terminal-benefits {

    display: grid;

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

    gap: 20px;

    margin-top: 30px;

}


.terminal-benefit {

    padding: 28px;

    border: 1px solid #e4e9f1;

    border-radius: 16px;

    background: #ffffff;

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

}


.terminal-benefit > i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    margin-bottom: 18px;

    border-radius: 12px;

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

    color: #1769ff;

}


.terminal-benefit h3 {

    margin: 0 0 10px;

    color: #06275c;

    font-size: 18px;

    font-weight: 750;

}


.terminal-benefit p {

    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   SYSTEM BOX
   ========================================================= */

.system-box {

    display: grid;

    grid-template-columns: auto 1fr;

    align-items: center;

    gap: 24px;

    margin-top: 30px;

    padding: 32px;

    border-radius: 18px;

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

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

}


.system-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;

}


.system-box h3 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;

}


.system-box p {

    margin: 0;

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

    font-size: 14px;

    line-height: 1.75;

}


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

.terminal-process {

    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
   ========================================================= */

.terminal-quality {

    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
        );

}


.terminal-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;

}


.terminal-quality h3 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;

}


.terminal-quality p {

    margin: 0;

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

    font-size: 14px;

    line-height: 1.75;

}


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

.terminal-faq {

    max-width: 950px;

    margin: 30px auto 0;

}


.terminal-faq details {

    margin-bottom: 12px;

    border: 1px solid #e4e9f1;

    border-radius: 13px;

    background: #ffffff;

    overflow: hidden;

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

}


.terminal-faq summary {

    position: relative;

    cursor: pointer;

    padding: 21px 55px 21px 22px;

    color: #06275c;

    font-size: 15px;

    font-weight: 700;

    list-style: none;

}


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

    display: none;

}


.terminal-faq summary::after {

    content: "+";

    position: absolute;

    right: 22px;

    top: 50%;

    transform: translateY(-50%);

    color: #1769ff;

    font-size: 23px;

}


.terminal-faq details[open] summary::after {

    content: "−";

}


.terminal-faq 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) {

    .terminal-process {

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

    }

}


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

@media (max-width: 850px) {

    .terminal-grid,
    .terminal-benefits {

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

    }

}


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

@media (max-width: 600px) {


    .terminal-hero {

        min-height: 500px;

        padding: 105px 0 55px;

    }


    .terminal-hero > .container {

        transform: translateY(10px);

    }


    .terminal-hero h1 {

        font-size: 34px;

        letter-spacing: -.8px;

    }


    .terminal-hero > .container > p {

        font-size: 14px;

        line-height: 1.7;

    }


    .terminal-stats {

        grid-template-columns: 1fr;

        max-width: 320px;

        margin-top: 32px;

    }


    .terminal-content {

        padding: 55px 0 65px;

    }


    .terminal-main-image {

        height: 230px;

        margin-bottom: 45px;

        border-radius: 14px;

    }


    .terminal-content h2 {

        margin-top: 48px;

        font-size: 29px;

    }


    .terminal-content > .container > p {

        font-size: 14px;

        line-height: 1.75;

    }


    .terminal-grid,
    .terminal-benefits,
    .terminal-process {

        grid-template-columns: 1fr;

    }


    .terminal-card,
    .terminal-benefit {

        padding: 24px;

    }


    .process-card {

        min-height: auto;

        padding: 24px;

    }


    .system-box,
    .terminal-quality {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 28px 22px;

    }


    .system-icon,
    .terminal-quality-icon {

        margin: 0 auto;

    }


    .terminal-faq summary {

        padding: 18px 48px 18px 18px;

        font-size: 14px;

    }


    .terminal-faq p {

        padding: 0 18px 20px;

        font-size: 13px;

    }

}