/* ===== HERO ===== */
.drh-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-image: url("../img/background-hero.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* Contenedor del contenido */
.drh-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 60px 8%;
}
/* Logo */
.drh-hero-logo {
    margin-bottom: 35px;
}
.drh-hero-logo img {
    display: block;
    width: 225px;
    max-width: 100%;
    height: auto;
}
/* Texto */
.drh-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}
.hero-sub{
    position: relative;
    background-color: white;
    min-height: 200px;
    align-content: center;
}
.hero-line{
    background-color: rgb(182, 182, 182);
    min-height: 100px;
    text-align: center;
}
.hero-sub h3{
    font-size: 20px;
    font-weight: 100;
    color: black;
    padding: 25px;
}

/* ====== ABOUT US ======*/
.about {
    width: 100%;
    min-height: 500px;
    background: #9b9b9b;
    display: flex;
    align-items: center;
    overflow: hidden;
}
/* Contenedor */
.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.about-content {
    width: 52%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* Logo */
.about-logo {
    margin-left: 150px;
    margin-bottom: 65px;
}
.about-logo img {
    width: 180px;
    height: auto;
    display: block;
}
/* Texto */
.about-text {
    width: 100%;
    max-width: 510px;
}
.about-text p {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
}
.about-text p:last-child {
    margin-bottom: 0;
}

.about-product {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-product img {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
}

/* ====== SERVICIOS ====== */
.service{
    align-items: center;
    padding: 50px;
}
.service-title{
    padding-top: 50px;
    text-align: center;
}
.service-title h1{
    color: #942a27;
    font-weight: 600;
}
.service-content{
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    margin: 0 auto;
    align-items: center;
}
.service-text{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 50px 25px; 
}
.service-text p{
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
}

/* ====== TARJETAS INDUSTRIAS ======*/
@media(max-width:768px){

.cards-sectores{
    gap:20px;
    display: flex;
}
.sector-card{
    min-height:auto;
}
}
.sectores{
    background:#680501;
    padding:90px 0;
}
.contenedor{
    width:min(1200px,92%);
    margin:auto;
}
.cards-sectores{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}
.sector-card{
    background:#c7c6c6;
    overflow:hidden;
    transition:.35s;
    position:relative;
    flex-direction:column;
    min-height:300px;
}
.sector-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(0,0,0,.30);
}
.sector-img{
    overflow:hidden;
    height:220px;
}
.sector-img img{
    width:100%;
    height:180px !important;
    object-fit:cover;
    transition:.45s;
    margin-top: -45px;
}
.sector-card:hover img{
    transform:scale(1.08);
}
.sector-linea{
    width:45%;
    height:25px;
    background:#ad280d;
    margin:-5px auto 20px;
    position:relative;
    z-index:3;

}
.sector-body{
    padding:0px 28px 20px;
    text-align:center;
    display:flex;
    flex-direction:column;
    flex:1;
    background-color: #c7c6c6;
    margin-top: -30px;
}
.sector-body h3{
    color:#631513;
    font-size:18px;
    font-weight: 600;
}
.sector-body p{

    color:#5e1c19;
    font-size: 15px;
    line-height:1.25;
    font-weight: 400;
}


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

@media (max-width: 991px) {

    .drh-about {
        min-height: auto;
    }

    .drh-about-container {
        padding: 60px 35px;
        gap: 30px;
    }

    .drh-about-content {
        width: 55%;
    }

    .drh-about-logo {
        margin-left: 80px;
        margin-bottom: 45px;
    }

    .drh-about-logo img {
        width: 160px;
    }

    .drh-about-text p {
        font-size: 16px;
    }

    .drh-about-product {
        width: 45%;
    }

    .drh-about-product img {
        max-width: 350px;
    }
}


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

@media (max-width: 767px) {

    .drh-about-container {
        padding: 50px 25px;

        flex-direction: column;
        gap: 40px;
    }

    .drh-about-content {
        width: 100%;

        align-items: center;
    }

    .drh-about-logo {
        margin-left: 0;
        margin-bottom: 35px;
    }

    .drh-about-logo img {
        width: 160px;
    }

    .drh-about-text {
        max-width: 600px;
    }

    .drh-about-text p {
        font-size: 16px;
        line-height: 1.4;

        text-align: center;
    }

    .drh-about-product {
        width: 100%;
    }

    .drh-about-product img {
        width: 80%;
        max-width: 350px;
    }
}


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

@media (max-width: 480px) {

    .drh-about-container {
        padding: 40px 20px;
    }

    .drh-about-logo {
        margin-bottom: 30px;
    }

    .drh-about-logo img {
        width: 145px;
    }

    .drh-about-text p {
        font-size: 15px;
        line-height: 1.45;
    }

    .drh-about-product img {
        width: 90%;
    }
}


/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {
    .drh-hero {
        min-height: 430px;
        background-position: center;
    }
    .drh-hero-content {
        align-items: center;
        padding: 50px 30px;
    }
    .drh-hero-logo {
        margin-bottom: 28px;
    }
    .drh-hero-logo img {
        width: 200px;
    }
    .drh-hero h1 {
        font-size: 25px;
    }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 600px) {
    .drh-hero {
        min-height: 400px;
        background-position: 42% center;
    }
    .drh-hero-content {
        padding: 40px 20px;
    }
    .drh-hero-logo {
        margin-bottom: 25px;
    }
    .drh-hero-logo img {
        width: 175px;
    }
    .drh-hero h1 {
        font-size: 20px;
        line-height: 1.25;
    }
}