*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#f5f5f5;
color:#222;
}

header{
position:fixed;
top:0;
width:100%;
background:white;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.logo{
font-size:28px;
font-weight:700;
color:#8b5a2b;
}

nav{
display:flex;
gap:30px;
}

nav a{
text-decoration:none;
color:#222;
font-weight:500;
}

.btn-nav{
background:#8b5a2b;
color:white;
padding:12px 25px;
border-radius:8px;
text-decoration:none;
}

.hero{
height:100vh;
background:url('Catalogo/Cocinasintegrales/Diseños\ Fajardo\ \(29\).png')
center/cover;
display:flex;
align-items:center;
padding:0 8%;
position:relative;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
left:0;
top:0;
}

.hero-content{
position:relative;
z-index:2;
max-width:700px;
color:white;
}

.hero-content h1{
font-size:70px;
line-height:1.1;
}

.hero-content span{
color:#d9a35f;
display:block;
}

.hero-content p{
margin-top:20px;
font-size:20px;
}

.hero-buttons{
margin-top:30px;
display:flex;
gap:15px;
}

.btn-principal,
.btn-secundario{
padding:15px 30px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.btn-principal{
background:#d9a35f;
color:white;
}

.btn-secundario{
border:2px solid white;
color:white;
}

.beneficios{
padding:80px 8%;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
background:white;
}

.card-beneficio{
padding:30px;
background:#fff;
border-radius:15px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.catalogo{
padding:100px 8%;
}

.catalogo h2{
margin-bottom:40px;
font-size:40px;
}

.productos{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.producto{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,.1);
transition:.3s;
}

.producto:hover{
transform:translateY(-10px);
}

.producto img{
width:100%;
height:250px;
object-fit:cover;
}

.producto h3{
padding:15px;
}

.producto p{
padding:0 15px 20px;
}

.cotizacion{
padding:100px 8%;
background:#111;
color:white;
text-align:center;
}

.formulario{
max-width:600px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

.formulario input,
.formulario select{
padding:15px;
border:none;
border-radius:8px;
}

.formulario button{
padding:15px;
background:#d9a35f;
border:none;
color:white;
font-size:18px;
cursor:pointer;
border-radius:8px;
}

#resultado{
margin-top:20px;
color:#d9a35f;
}

footer{
padding:50px;
background:#000;
color:white;
text-align:center;
}

@media(max-width:768px){

.hero-content h1{
font-size:45px;
}

header{
flex-direction:column;
gap:15px;
}

nav{
flex-wrap:wrap;
justify-content:center;
}

.hero-buttons{
flex-direction:column;
}

}

.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    justify-content:center;
    align-items:center;
    z-index:9999;
    animation:fade .3s;
}

.modal img{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.6);
    animation:zoom .3s;
}

.cerrar{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.cerrar:hover{
    transform:scale(1.2);
    color:#ddd;
}

@keyframes fade{
    from{opacity:0;}
    to{opacity:1;}
}

@keyframes zoom{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}
.galeria img{
    width:250px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.galeria img:hover{
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

/*=========================
    PÁGINA COCINAS
=========================*/

body{
    background:#ececec;
    font-family:'Poppins',sans-serif;
}

h1{
    text-align:center;
    font-size:42px;
    color:#8B5A2B;
    margin:40px 0 10px;
}

.subtitulo{
    text-align:center;
    color:#666;
    margin-bottom:40px;
    font-size:18px;
}

.galeria{
    width:90%;
    max-width:1400px;
    margin:0 auto 60px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.galeria img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:18px;
    background:white;
    padding:8px;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.galeria img:hover{
    transform:translateY(-8px) scale(1.03);
    box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.volver{
    position:fixed;
    top:25px;
    left:25px;
    background:#8B5A2B;
    color:white;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.volver:hover{
    background:#a56a37;
    transform:translateY(-2px);
}

@media(max-width:768px){

    h1{
        font-size:32px;
    }

    .galeria{
        grid-template-columns:1fr;
    }

    .galeria img{
        height:260px;
    }

}
/* ===== VISOR ===== */

.lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox.activo{
    display:flex;
}

.lightbox img{
    max-width:85%;
    max-height:85%;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.6);
}

/* Botón cerrar */

.cerrar{
    position:absolute;
    top:20px;
    right:35px;
    color:white;
    font-size:45px;
    cursor:pointer;
    user-select:none;
}

/* Flechas */

.flecha{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    color:white;
    font-size:60px;
    cursor:pointer;
    padding:20px;
    user-select:none;
    transition:.3s;
}

.flecha:hover{
    color:#d9a35f;
}

.izquierda{
    left:20px;
}

.derecha{
    right:20px;
}

/* Galería */

.galeria{
    width:90%;
    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.galeria img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.galeria img:hover{
    transform:scale(1.03);
}

.catalogo{
    padding:90px 6%;
}

.catalogo h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#222;
}

.productos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    align-items:stretch;
}

.producto{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    transition:.35s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.producto:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.producto img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.info{
    padding:25px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    flex:1;
}

.info h3{
    font-size:30px;
    margin-bottom:15px;
    color:#1d1d1d;
}

.info p{
    color:#666;
    line-height:1.6;
    font-size:17px;
}