/*
Theme Name: Metal Pozuzo
Author: OpenAI
Version: 1.0
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

html,body{
overflow-x:hidden;
font-family:Arial,sans-serif;
background:#0d0d0d;
color:#fff;
}

body.menu-open{
overflow:hidden;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

.container{
width:90%;
max-width:1280px;
margin:auto;
}

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:999;
background:rgba(10,10,10,.92);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,.05);
}

.navbar{
height:80px;
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
display:flex;
align-items:center;
height:42px;
overflow:hidden;
}

.logo img{
max-height:42px;
width:auto;
height:auto;
display:block;
}

.navbar{
height:80px;
display:flex;
align-items:center;
justify-content:space-between;
overflow:hidden;
}

.logo a{
display:flex;
align-items:center;
height:42px;
}

.menu{
display:flex;
gap:40px;
}

.menu a{
position:relative;
font-size:13px;
font-weight:600;
letter-spacing:2px;
text-transform:uppercase;
padding:12px 0;
color:#cfcfcf;
transition:color .25s ease;
}

.menu a::after{
content:'';
position:absolute;
left:0;
bottom:0;
width:0;
height:2px;
background:#ff7a00;
transition:width .3s ease;
}

.menu a:hover{
color:#fff;
}

.menu a:hover::after{
width:100%;
}

.menu-toggle{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.menu-toggle span{
width:28px;
height:3px;
background:#fff;
border-radius:10px;
}

.hero{
min-height:100vh;
display:flex;
align-items:center;
padding-top:80px;
background:
linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
url('https://ktn.pe/wp-content/uploads/2026/05/Hero_01.webp') center/cover;
}

.hero-content{
max-width:700px;
}

.hero h1{
font-size:72px;
line-height:1.1;
margin-bottom:25px;
}

.hero p{
font-size:20px;
color:#ccc;
margin-bottom:40px;
line-height:1.7;
}

.hero-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.btn{
padding:16px 32px;
border-radius:8px;
font-size:15px;
font-weight:700;
display:inline-flex;
align-items:center;
justify-content:center;
transition:.3s;
}

.btn-primary{
background:#ff7a00;
color:#fff;
}

.btn-primary:hover{
background:#ff9b3d;
}

.btn-outline{
border:1px solid #fff;
}

.btn-outline:hover{
background:#fff;
color:#000;
}

section{
padding:140px 0;
position:relative;
}

.section-title{
font-size:48px;
margin-bottom:25px;
}

.section-text{
font-size:18px;
line-height:1.8;
color:#bdbdbd;
max-width:850px;
}

.features{
margin-top:60px;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.feature-card{
background:#151515;
padding:35px;
border-radius:18px;
border:1px solid rgba(255,255,255,.05);
transition:.3s;
}

.feature-card:hover{
transform:translateY(-6px);
border-color:#ff7a00;
}

.feature-card h3{
margin-bottom:12px;
font-size:20px;
}

.feature-card p{
color:#aaa;
line-height:1.6;
}

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:60px;
}

.card{
position:relative;
overflow:hidden;
border-radius:20px;
cursor:pointer;
background:#111;
transition:.4s;
transform:translateY(0);
border:1px solid rgba(255,255,255,.04);
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.4);
border-color:rgba(255,122,0,.4);
}

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:60px;
}

.contact-info,
.contact-form{
background:#151515;
padding:40px;
border-radius:20px;
}

.contact-form form{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:16px;
border:none;
border-radius:10px;
background:#0f0f0f;
color:#fff;
font-size:15px;
}

.contact-form textarea{
height:140px;
resize:none;
}

footer{
padding:40px 0;
border-top:1px solid rgba(255,255,255,.05);
text-align:center;
color:#888;
}

.scroll-top{
position:fixed;
right:20px;
bottom:20px;
width:55px;
height:55px;
background:#ff7a00;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
z-index:999;
font-size:22px;
opacity:0;
pointer-events:none;
transition:.3s;
}

.scroll-top.active{
opacity:1;
pointer-events:auto;
}

@media(max-width:991px){

.hero h1{
font-size:48px;
}

.features{
grid-template-columns:repeat(2,1fr);
}

.grid{
grid-template-columns:1fr 1fr;
}

.contact-grid{
grid-template-columns:1fr;
}

.menu{
position:fixed;
top:0;
right:-100%;
width:280px;
height:100vh;
background:#111;
flex-direction:column;
padding:120px 40px;
transition:.4s;
z-index:998;
}

.menu.active{
right:0;
}

.menu-toggle{
display:flex;
}

}

@media(max-width:768px){

.hero{
text-align:center;
}

.hero-buttons{
justify-content:center;
}

.hero h1{
font-size:38px;
}

.section-title{
font-size:36px;
}

.features{
grid-template-columns:1fr;
}

.grid{
grid-template-columns:1fr;
}

section{
padding:90px 0;
}
}

.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.92);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
pointer-events:none;
transition:.3s;
z-index:9999;
padding:20px;
}

.lightbox.active{
opacity:1;
pointer-events:auto;
}

.lightbox-content{
max-width:1000px;
width:100%;
background:#111;
border-radius:20px;
overflow:hidden;
position:relative;
}

.lightbox-content img{
width:100%;
max-height:70vh;
object-fit:cover;
}

.lightbox-text{
padding:30px;
}

.lightbox-text h3{
font-size:30px;
margin-bottom:15px;
}

.lightbox-text p{
font-size:17px;
line-height:1.7;
color:#ccc;
}

.lightbox-close{
position:absolute;
top:15px;
right:20px;
font-size:42px;
cursor:pointer;
color:#fff;
z-index:2;
}

@media(max-width:768px){

.lightbox-text{
padding:20px;
}

.lightbox-text h3{
font-size:24px;
}

}

.hero-badge{
display:inline-flex;
align-items:center;
gap:10px;
padding:10px 18px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.08);
border-radius:50px;
font-size:14px;
letter-spacing:1px;
text-transform:uppercase;
margin-bottom:25px;
backdrop-filter:blur(10px);
}

.hero h1{
max-width:850px;
}

.hero p{
max-width:620px;
}

.hero-buttons .btn{
min-width:180px;
}

.btn{
position:relative;
overflow:hidden;
}

.btn::before{
content:'';
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:rgba(255,255,255,.12);
transition:.5s;
}

.btn:hover::before{
left:100%;
}

section::before{
content:'';
position:absolute;
top:0;
left:50%;
transform:translateX(-50%);
width:90%;
height:1px;
background:linear-gradient(to right, transparent, rgba(255,255,255,.08), transparent);
}

#nosotros{
background:#111;
}

#proyectos{
background:#0d0d0d;
}

#productos{
background:#111;
}

#contacto{
background:#0d0d0d;
}

.section-title{
position:relative;
display:inline-block;
padding-bottom:15px;
}

.section-title::after{
content:'';
position:absolute;
left:0;
bottom:0;
width:80px;
height:3px;
background:#ff7a00;
border-radius:10px;
}

.grid{
align-items:stretch;
}

.card{
height:100%;
}

.card img{
height:360px;
}

.nosotros-image{
margin-top:70px;
display:flex;
justify-content:center;
align-items:center;
}

.nosotros-image img{
max-width:700px;
width:100%;
height:auto;
filter:drop-shadow(0 30px 60px rgba(0,0,0,.45));
transition:.4s;
}

.nosotros-image img:hover{
transform:translateY(-8px) scale(1.02);
}

.nosotros-layout{
display:grid;
gap:70px;
align-items:center;
margin-top:50px;
}

@media(min-width:992px){

.nosotros-layout{
grid-template-columns:1.1fr .9fr;
}

.nosotros-image{
margin-top:0;
justify-content:flex-end;
}

.nosotros-image img{
max-width:520px;
}

}

.card-overlay{
position:absolute;
inset:0;
display:flex;
flex-direction:column;
justify-content:flex-end;
align-items:center;
text-align:center;
padding:30px;
background:linear-gradient(to top, rgba(0,0,0,.92) 8%, rgba(0,0,0,.45) 45%, transparent 75%);
}

.card-overlay h3{
font-size:26px;
font-weight:700;
line-height:1.2;
margin-bottom:10px;
width:100%;
}

.card-overlay p{
font-size:15px;
line-height:1.6;
color:#d5d5d5;
max-width:280px;
margin:0 auto;
}