/* ==========================
   RECICLADOS HNOS ORTIZ
   STYLE.CSS v2
========================== */

:root{

    --verde:#79be43;
    --verde-hover:#66a634;

    --azul:#06284a;
    --azul-claro:#0c3f72;

    --gris:#f5f7fa;
    --texto:#2d3748;

    --sombra:0 10px 30px rgba(0,0,0,.12);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}


html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    color:var(--texto);

    overflow-x:hidden;

    background:white;

}

/* ==========================
   CONTENEDOR
========================== */

.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}

/* ==========================
   HEADER
========================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:white;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

}

.nav-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:90px;

}

.logo{

    height:75px;

}

.nav-menu{

    display:flex;

    gap:35px;

}

.nav-menu a{

    text-decoration:none;

    color:var(--azul);

    font-weight:700;

    font-size:14px;

    transition:.3s;

}

.nav-menu a:hover{

    color:var(--verde);

}

.phone-box{

    display:flex;

    gap:12px;

    align-items:center;

}

.phone-box i{

    color:var(--verde);

    font-size:24px;

}

.phone-box span{

    display:block;

    font-size:12px;

    color:#666;

}

.phone-box strong{

    color:var(--azul);

}

/* ==========================
   HERO
========================== */

.hero{

    min-height:100vh;

    position:relative;

    display:flex;

    align-items:center;

    background-image:
        linear-gradient(
            rgba(255,255,255,.35),
            rgba(255,255,255,.35)
        ),
        url('../img/hero.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

}

.hero-content{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-left h1{

    font-size:72px;

    font-weight:800;

    line-height:1.05;

    color:var(--azul);

}

.hero-left h1 span{

    color:var(--verde);

    display:block;

}

.hero-left p{

    margin-top:30px;

    max-width:700px;

    font-size:20px;

    line-height:1.8;

}

/* ==========================
   ICONOS HERO
========================== */

.hero-icons{

    display:flex;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

.feature{

    background:white;

    border-radius:15px;

    padding:18px 25px;

    display:flex;

    align-items:center;

    gap:15px;

    box-shadow:var(--sombra);

}

.feature-icon{

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--verde);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

/* ==========================
   PANEL 35000 M2
========================== */

.hero-card{

    background:rgba(6,40,74,.95);

    color:white;

    padding:45px;

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,.3);

}

.hero-card-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:var(--verde);

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    font-size:28px;

}

.hero-card h2{

    font-size:64px;

    color:var(--verde);

    margin:15px 0;

}

.hero-card p{

    line-height:1.8;

}

/* ==========================
   TITULOS
========================== */

section h2{

    text-align:center;

    color:var(--azul);

    font-size:42px;

    margin-bottom:50px;

    font-weight:800;

}

/* ==========================
   EMPRESA
========================== */

.empresa{

    padding:120px 0;

}

.empresa p{

    max-width:1000px;

    margin:20px auto;

    text-align:center;

    line-height:1.9;

    font-size:18px;

}

/* ==========================
   SERVICIOS
========================== */

.servicios{

    background:var(--gris);

    padding:120px 0;

}

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.service-card{

    background:white;

    border-radius:18px;

    padding:40px;

    text-align:center;

    box-shadow:var(--sombra);

    transition:.3s;

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-card i{

    font-size:55px;

    color:var(--verde);

    margin-bottom:20px;

}

.service-card h3{

    color:var(--azul);

    margin-bottom:15px;

}

.service-card p{

    line-height:1.8;

}

/* ==========================
   GALERIA
========================== */

.instalaciones{

    padding:120px 0;

}

.gallery{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:20px;

}

.gallery img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:15px;

    transition:.3s;

}

.gallery img:hover{

    transform:scale(1.03);

}

/* ==========================
   MAPA
========================== */

.map-section{

    width:100%;

}

.map-section iframe{

    width:100%;

    height:500px;

    border:none;

}

/* ==========================
   FOOTER
========================== */

footer{

    background:var(--azul);

    color:white;

}

.footer-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

    padding:80px 10%;

}

.footer-grid i{

    font-size:40px;

    color:var(--verde);

    margin-bottom:20px;

}

.footer-grid h3{

    margin-bottom:15px;

}

.footer-grid p{

    line-height:1.8;

}

.btn-route{

    display:inline-flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    color:white;

    background:var(--verde);

    padding:15px 30px;

    border-radius:10px;

    transition:.3s;

}

.btn-route:hover{

    background:var(--verde-hover);

}

.copyright{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.1);

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1100px){

.hero-content{

grid-template-columns:1fr;

}

.hero-left h1{

font-size:55px;

}

}

@media(max-width:768px){

.nav-menu{

display:none;

}

.phone-box{

display:none;

}

.logo{

height:60px;

}

.hero-left h1{

font-size:40px;

}

.hero{

padding-top:100px;

}

.hero-card h2{

font-size:48px;

}

section h2{

font-size:32px;

}

}

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    cursor:pointer;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

.mobile-open{
    display:flex !important;
    flex-direction:column;
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:white;
    padding:20px;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
}

