/* =========================================================
   SECTORES | CONSTRUCCIÓN
   MOBILE FIRST
========================================================= */


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

.sf-sector-hero {
    padding: 42px 0 52px;

    background-color: #FFFFFF;
}


.sf-sector-hero-content {
    max-width: 570px;
}


.sf-sector-hero h1 {
    margin: 0 0 20px;

    color: #303B43;

    font-size: 2.15rem;
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.7px;
}


.sf-sector-hero h1 span {
    display: block;

    color: #EB7615;
}


.sf-sector-hero p {
    max-width: 520px;

    margin: 0;

    color: #68757D;

    font-size: 0.92rem;
    line-height: 1.7;
}


.sf-sector-button,
.sf-sector-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 24px;

    padding: 11px 18px;

    border-radius: 6px;

    background-color: #EB7615;

    color: #FFFFFF;

    font-size: 0.8rem;
    font-weight: 700;

    text-decoration: none;

    transition: all .25s ease;
}


.sf-sector-button:hover,
.sf-sector-cta-button:hover {
    background-color: #D7620B;

    color: #FFFFFF;

    transform: translateY(-2px);
}


.sf-sector-hero-image,
.sf-sector-solution-image {
    overflow: hidden;

    border-radius: 14px;

    background-color: #E9EDEE;

    box-shadow:
        0 18px 45px rgba(48, 59, 67, 0.10);
}


.sf-sector-hero-image img,
.sf-sector-solution-image img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition: transform .5s ease;
}


.sf-sector-hero-image:hover img,
.sf-sector-solution-image:hover img {
    transform: scale(1.015);
}


/* =========================================================
   RETOS
========================================================= */

.sf-sector-problems {
    padding: 58px 0 62px;

    background-color: #F7F8F9;
}


.sf-sector-heading {
    max-width: 720px;

    margin-bottom: 30px;
}


.sf-sector-heading h2,
.sf-sector-solution-content h2,
.sf-sector-benefit-content h2 {
    margin: 0 0 15px;

    color: #303B43;

    font-size: 1.95rem;
    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.sf-sector-heading h2 span,
.sf-sector-solution-content h2 span,
.sf-sector-benefit-content h2 span {
    color: #EB7615;
}


.sf-sector-heading p,
.sf-sector-solution-content p,
.sf-sector-benefit-content p {
    margin: 0;

    color: #68757D;

    font-size: 0.9rem;
    line-height: 1.65;
}


.sf-problem-item {
    position: relative;

    height: 100%;

    padding: 22px;

    border: 1px solid #E1E5E8;
    border-radius: 10px;

    background-color: #FFFFFF;
}


.sf-problem-number {
    display: block;

    margin-bottom: 18px;

    color: #EB7615;

    font-size: 0.65rem;
    font-weight: 700;
}


.sf-problem-item i {
    display: block;

    margin-bottom: 13px;

    color: #303B43;

    font-size: 1.35rem;
}


.sf-problem-item h3 {
    margin: 0 0 7px;

    color: #303B43;

    font-size: 0.95rem;
    font-weight: 700;
}


.sf-problem-item p {
    margin: 0;

    color: #68757D;

    font-size: 0.78rem;
    line-height: 1.55;
}


/* =========================================================
   SOLUCIÓN
========================================================= */

.sf-sector-solution {
    padding: 58px 0 64px;

    background-color: #FFFFFF;
}


.sf-sector-solution-content {
    max-width: 520px;
}


.sf-sector-checks {
    display: grid;

    gap: 12px;

    margin-top: 24px;
}


.sf-sector-checks div {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #303B43;

    font-size: 0.82rem;
    font-weight: 600;
}


.sf-sector-checks i {
    color: #EB7615;

    font-size: 1rem;
}


/* =========================================================
   BENEFICIO
========================================================= */

.sf-sector-benefit {
    padding: 58px 0 64px;

    background-color: #F7F8F9;
}


.sf-sector-benefit-inner {
    display: flex;

    flex-direction: column;

    gap: 28px;
}


.sf-sector-benefit-content {
    max-width: 560px;
}


.sf-sector-benefit-image {
    overflow: hidden;

    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(48, 59, 67, 0.10);
}


.sf-sector-benefit-image img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 8;

    object-fit: cover;
}


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

.sf-sector-cta {
    padding: 56px 0 60px;

    background-color: #303B43;
}


.sf-sector-cta-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.sf-sector-cta-content > span {
    display: block;

    margin-bottom: 12px;

    color: #EB7615;

    font-size: 0.68rem;
    font-weight: 700;
}


.sf-sector-cta h2 {
    margin: 0 0 15px;

    color: #FFFFFF;

    font-size: 2rem;
    line-height: 1.1;

    font-weight: 700;
}


.sf-sector-cta h2 strong {
    display: block;

    color: #EB7615;

    font-weight: 700;
}


.sf-sector-cta p {
    max-width: 560px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.88rem;
    line-height: 1.6;
}


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

@media (min-width: 768px) {

    .sf-sector-hero {
        padding: 68px 0 76px;
    }


    .sf-sector-hero h1 {
        font-size: 2.65rem;
    }


    .sf-sector-heading h2,
    .sf-sector-solution-content h2,
    .sf-sector-benefit-content h2 {
        font-size: 2.45rem;
    }


    .sf-sector-problems,
    .sf-sector-solution,
    .sf-sector-benefit {
        padding: 70px 0 76px;
    }


    .sf-sector-benefit-inner {
        flex-direction: row;

        align-items: center;

        gap: 45px;
    }


    .sf-sector-benefit-content {
        flex: 0 0 42%;
    }


    .sf-sector-benefit-image {
        flex: 1;
    }


    .sf-sector-cta {
        padding: 70px 0 74px;
    }


    .sf-sector-cta h2 {
        font-size: 2.5rem;
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 992px) {

    .sf-sector-hero {
        padding: 82px 0 90px;
    }


    .sf-sector-hero h1 {
        font-size: 2.9rem;
    }


    .sf-sector-hero p {
        font-size: 0.96rem;
    }


    .sf-sector-hero-image,
    .sf-sector-solution-image,
    .sf-sector-benefit-image {
        border-radius: 18px;
    }


    .sf-sector-heading h2,
    .sf-sector-solution-content h2,
    .sf-sector-benefit-content h2 {
        font-size: 2.7rem;
    }


    .sf-sector-problems {
        padding: 80px 0 84px;
    }


    .sf-sector-solution {
        padding: 84px 0 88px;
    }


    .sf-sector-benefit {
        padding: 78px 0 84px;
    }


    .sf-sector-benefit-inner {
        gap: 70px;
    }


    .sf-sector-cta {
        padding: 76px 0 82px;
    }


    .sf-sector-cta h2 {
        font-size: 2.8rem;
    }

}


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

@media (max-width: 400px) {

    .sf-sector-hero {
        padding: 42px 0 48px;
    }


    .sf-sector-hero h1 {
        font-size: 1.9rem;
    }


    .sf-sector-hero p {
        font-size: 0.87rem;
    }


    .sf-sector-heading h2,
    .sf-sector-solution-content h2,
    .sf-sector-benefit-content h2 {
        font-size: 1.8rem;
    }


    .sf-problem-item {
        padding: 19px;
    }


    .sf-sector-problems,
    .sf-sector-solution,
    .sf-sector-benefit {
        padding: 48px 0 54px;
    }


    .sf-sector-cta {
        padding: 48px 0 52px;
    }


    .sf-sector-cta h2 {
        font-size: 1.85rem;
    }


    .sf-sector-cta-button {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SECCIÓN | SECTORES DE INICIATIVA PRIVADA
========================================================= */

.sf-industries {
    padding: 90px 0;
    background: #F7F9FB;
    overflow: hidden;
}

.sf-industries-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.sf-industries-heading h2 {
    margin: 15px 0;
    color: #0E3B5F;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}

.sf-industries-heading h2 span {
    color: #EB7615;
    display: block;
}

.sf-industries-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748B;
    font-size: 16px;
    line-height: 1.8;
}

/* INDUSTRIA DESTACADA */

.sf-industry-highlight {
    min-height: 210px;
    margin: 0 auto 42px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E7EDF2;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(14, 59, 95, 0.06);
}

.sf-industry-caption {
    margin-bottom: 8px;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
}

.sf-industry-highlight h3 {
    margin: 0;
    color: #EB7615;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sf-industry-highlight h3.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.sf-industry-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #64748B;
    font-size: 12px;
}

.sf-industry-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EB7615;
}

/* CINTA HORIZONTAL */

.sf-industries-ribbon {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8px 0 15px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
}

.sf-industries-track {
    display: flex;
    width: max-content;
    gap: 14px;
    animation: sfIndustriesScroll 38s linear infinite;
}

.sf-industries-track span {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    color: #0E3B5F;
    background: #FFFFFF;
    border: 1px solid #E3EAF0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.sf-industries-track span:hover {
    color: #FFFFFF;
    background: #005B81;
    border-color: #005B81;
}

.sf-industries-ribbon:hover .sf-industries-track {
    animation-play-state: paused;
}

@keyframes sfIndustriesScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* TABLET Y MÓVIL */

@media (max-width: 767.98px) {

    .sf-industries {
        padding: 65px 0;
    }

    .sf-industries-heading {
        margin-bottom: 30px;
    }

    .sf-industries-heading p {
        font-size: 14px;
    }

    .sf-industry-highlight {
        min-height: 175px;
        margin-bottom: 28px;
        padding: 25px 15px;
    }

    .sf-industry-indicator {
        font-size: 11px;
    }

    .sf-industries-track {
        gap: 10px;
        animation-duration: 32s;
    }

    .sf-industries-track span {
        padding: 10px 17px;
        font-size: 12px;
    }
}

/* RESPETAR PREFERENCIA DE MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
    .sf-industries-track {
        animation: none;
    }

    .sf-industry-highlight h3 {
        transition: none;
    }
}

.sf-industries-track-copy {
    display: flex;
    gap: 14px;
}