/* =========================================================
   MATERIALES PAGE
========================================================= */

.materials-page-content{

    padding: 90px 0 120px;

    background: #f3f5f8;

}

/* =========================================================
   HERO
========================================================= */

.materials-hero{

    position: relative;

    height: 560px;

    overflow: hidden;

    display: flex;

    align-items: center;

}

.materials-hero-bg{

    position: absolute;

    inset: 0;

}

.materials-hero-bg img{

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.materials-hero-overlay{

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.70) 0%,
        rgba(0,0,0,.52) 45%,
        rgba(0,0,0,.22) 100%
    );

}

.materials-hero .container{

    position: relative;

    z-index: 2;

}

.materials-hero-content{

    max-width: 760px;

    color: #ffffff;
   

}

.materials-hero-tag{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 4px;
    margin-top: 90px;

    margin-bottom: 22px;

    border-radius: 100px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.24);

    color: #ffffff;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .12em;

}

.materials-hero-content h1{

    font-size: 4rem;

    line-height: 1.02;

    font-weight: 700;

    margin-bottom: 24px;

    color: #ffffff;
    

}

.materials-hero-content p{

    max-width: 680px;

    font-size: 1.08rem;

    line-height: 1.8;

    color: rgba(255,255,255,.92);

}
    #aislamientos-section,
    #refractarios-section{

        scroll-margin-top: 320px;

    }
/* =========================================================
   INTRO
========================================================= */

.materials-intro{

    text-align: center;

    margin-bottom: 70px;

    scroll-margin-top: 180px;

}

.materials-section-tag{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 26px;

    margin-bottom: 22px;

    border-radius: 100px;

    background: #e8edf3;

    border: 1px solid rgba(10,45,92,.10);

    color: #ffffff;

    font-size: .82rem;

    font-weight: 800;

    letter-spacing: .14em;

}

.materials-intro h2{

    font-size: clamp(2.6rem, 5vw, 3rem);

    line-height: 1.04;

    font-weight: 800;

    color: #4b5568;

    margin-bottom: 28px;

}

.materials-intro p{

    max-width: 760px;

    margin: 0 auto;

    font-size: 1.08rem;

    line-height: 1.8;

    color: #5f6b7c;

}

/* =========================================================
   GRID
========================================================= */

.materials-grid{

    display: grid;

    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 42px;

    align-items: stretch;

}

/* =========================================================
   CARD
========================================================= */

.material-card-full{

    display: flex;

    flex-direction: column;

    height: 100%;

    background: #ffffff;

    border-radius: 30px;

    overflow: hidden;

    box-shadow:
    0 14px 40px rgba(15,23,42,.06);

    transition:
    transform .35s ease,
    box-shadow .35s ease;

}

.material-card-full:hover{

    transform: translateY(-6px);

    box-shadow:
    0 24px 60px rgba(15,23,42,.10);

}

/* =========================================================
   IMAGE
========================================================= */

.material-card-full img{

    width: 100%;

    height: 330px;

    object-fit: cover;

    display: block;

    background: #ffffff;

}

/* =========================================================
   CONTENT
========================================================= */

.material-card-full-content{

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 34px 34px 38px;

}

.material-category{

    display: inline-block;

    margin-bottom: 18px;

    color: #e11b22;

    font-size: .82rem;
    
    font-weight: 800;

    letter-spacing: .12em;

    

}

.material-card-full-content h3{

    font-size: 2rem;

    line-height: 1.12;

    font-weight: 800;

    color: #08152f;

    margin-bottom: 18px;

}

.material-card-full-content p{

    font-size: 1.04rem;

    line-height: 1.85;

    color: #465366;

    margin-bottom: 22px;
    font-weight: 500;

}

/* =========================================================
   LIST
========================================================= */

.material-card-full-content ul{

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.material-card-full-content ul li{

    font-size: 1rem;

    line-height: 1.7;

    color: #09152d;

}

.material-card-full-content ul li strong{

    font-weight: 800;

    color: #08152f;

}

/* =========================================================
   BUTTON
========================================================= */

.material-card-full-content .btn-primary{

    margin-top: 15px;

    align-self: flex-start;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 240px;

    min-height: 62px;

    padding: 16px 34px;

    border-radius: 100px;

    text-decoration: none;

    font-size: 1rem;

    font-weight: 700;

}

/* =========================================================
   SPACING ENTRE SECCIONES
========================================================= */

#refractarios-section{

    padding-top: 20px;

    scroll-margin-top: 180px;

}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media screen and (max-width: 1200px){

    .materials-grid{

        gap: 34px;

    }

    .material-card-full img{

        height: 300px;

    }

    .material-card-full-content{

        padding: 30px;

    }

    .material-card-full-content h3{

        font-size: 1.8rem;

    }

}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media screen and (max-width: 768px){

    .materials-hero{

        height: auto;

        min-height: 520px;

        padding: 120px 0 90px;

    }

    .materials-hero-content h1{

        font-size: 2.7rem;

    }

    .materials-page-content{

        padding: 70px 0 90px;

    }

    .materials-intro{

        margin-bottom: 50px;

    }

    .materials-intro h2{

        font-size: 2.6rem;

    }

    .materials-grid{

        grid-template-columns: 1fr;

        gap: 34px;

    }

    .material-card-full{

        border-radius: 26px;

    }

    .material-card-full img{

        height: 260px;

    }

    .material-card-full-content{

        padding: 28px 24px 30px;

    }

    .material-card-full-content h3{

        font-size: 1.7rem;

    }

    .material-card-full-content p{

        font-size: 1rem;

        line-height: 1.75;

    }

    .material-card-full-content ul li{

        font-size: .98rem;

    }

    .material-card-full-content .btn-primary{

        width: 100%;

        min-width: 100%;

    }

    #refractarios-section{

        padding-top: 90px;

    }

}

/* =========================================================
   RESPONSIVE SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px){

    .materials-hero-content h1{

        font-size: 2.2rem;

    }

    .materials-hero-content p{

        font-size: 1rem;

    }

    .materials-intro h2{

        font-size: 2.1rem;

    }

    .material-card-full img{

        height: 220px;

    }

    .material-card-full-content{

        padding: 24px 20px 26px;

    }

    .material-card-full-content h3{

        font-size: 1.3rem;

    }

}