/* =========================================================
   HERO PROYECTOS
========================================================= */

.projects-hero{

    position: relative;

    height: 560px;

    overflow: hidden;

    display: flex;

    align-items: center;

}

.projects-hero-bg{

    position: absolute;

    inset: 0;

}

.projects-hero-bg img{

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.projects-hero-overlay{

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.68) 0%,
        rgba(0,0,0,.52) 45%,
        rgba(0,0,0,.28) 100%
    );

}

.projects-hero .container{

    position: relative;

    z-index: 2;

}

.projects-hero-content{

    max-width: 720px;

    color: #ffffff;

}

.projects-hero-tag{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 22px;

    margin-bottom: 18px;

    border-radius: 100px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.22);

    color: #ffffff;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .12em;

}

.projects-hero-content h1{

    font-size: 3.2rem;

    line-height: 1.05;

    margin-bottom: 18px;

    font-weight: 800;

    color: #ffffff;

}

.projects-hero-content p{

    max-width: 640px;

    font-size: 1.08rem;

    line-height: 1.7;

    color: rgba(255,255,255,.90);

}

/* BREADCRUMB */

.projects-breadcrumb{

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    font-size: .95rem;

}

.projects-breadcrumb a{

    color: #ffffff;

    text-decoration: none;

    transition: .3s ease;

}

.projects-breadcrumb a:hover{

    color: #e31b23;

}

.projects-breadcrumb span{

    color: #e31b23;

    font-weight: 700;

}
/* =========================================================
   PROJECTS SECTION
========================================================= */

.projects-section{

    position: relative;

    margin-top: -140px;

    padding: 90px 0 120px;

    background: #f5f7fa;

    z-index: 5;

}



/* =========================================================
   PROJECTS GRID
========================================================= */

.projects-grid{

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 34px;

}

/* =========================================================
   PROJECT CARD
========================================================= */

.project-card{

    background: #ffffff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
    0 10px 35px rgba(0,0,0,.06);

    transition: .35s ease;

    border: 1px solid rgba(0,0,0,.04);

}

.project-card:hover{

    transform: translateY(-8px);

    box-shadow:
    0 18px 50px rgba(0,0,0,.12);

}

/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-card-image{

    width: 100%;

    height: 280px;

    overflow: hidden;

}

.project-card-image img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;

}

.project-card:hover .project-card-image img{

    transform: scale(1.06);

}

/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-card-content{

    padding: 28px 30px 32px;

}

.project-card-content h3{

    font-size: 1rem;

    line-height: 0.2;

    color: #0f172a;

    margin-bottom: 20px;

    font-weight: 500;

}

/* =========================================================
   PROJECT INFO
========================================================= */

.project-card-info{

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.project-card-info p{

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: .98rem;

    line-height: 0.5;

    color: #4b5563;

    margin: 0;

}

.project-card-info strong{

    color: #002b5b;

    font-weight: 500;

}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media screen and (max-width: 992px){

    .projects-hero{

        padding: 120px 0 100px;

    }

    .projects-hero-content h1{

        font-size: 3rem;

    }

    .projects-grid{

        grid-template-columns: 1fr;

        gap: 28px;

    }

    .project-card-image{

        height: 250px;

    }

    .rd-projects-button{

        padding: 14px 26px;

        font-size: .90rem;

    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media screen and (max-width: 768px){

    .projects-hero{

        padding: 100px 0 80px;

    }

    .projects-hero-content{

        text-align: center;

    }

    .projects-hero-content h1{

        font-size: 2.3rem;

    }

    .projects-hero-content p{

        font-size: 1rem;

    }

    .projects-breadcrumb{

        justify-content: center;

    }

    .projects-section{

        padding: 70px 0 90px;

    }

    .project-card-image{

        height: 210px;

    }

    .project-card-content{

        padding: 24px 22px 28px;

    }

    .project-card-content h3{

        font-size: 1.2rem;

    }

    .project-card-info p{

        font-size: .9rem;

        line-height: 1.5;

    }

        .rd-projects-button-wrapper{

        margin: 5px 0 25px;

        padding: 0 20px;

    }

    .rd-projects-button{

        max-width: 300px;

        padding: 10px 16px;

        font-size: .7  rem;

        text-align: center;

        line-height: 1.25;

}

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px){

    .projects-hero-content h1{

        font-size: 1.95rem;

    }

    .project-card-image{

        height: 190px;

    }

        .rd-projects-button-wrapper{

        padding: 0 15px;

        margin: 0 0 20px;

    }

    .rd-projects-button{

        max-width: 100%;

        padding: 12px 16px;

        font-size: .80rem;

        line-height: 1.3;

    }

}






/* ==========================================
   BOTÓN OBRAS REPÚBLICA DOMINICANA
========================================== */

.rd-projects-button-wrapper{

    grid-column: 1 / -1;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 10px 0 35px;

}

.rd-projects-button{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 30px;

    background: #d71920;

    color: #ffffff;

    text-decoration: none;

    border-radius: 10px;

    font-size: .95rem;

    font-weight: 700;

    line-height: 1.4;

    transition: .3s ease;

}

.rd-projects-button:hover{

    background: #b7151b;

}