*{box-sizing:border-box;margin:0;padding:0}

body{
font-family:'Poppins',sans-serif;
background:#f5f7fb;
color:#222;
scroll-behavior:smooth;
}

/* HEADER */
header{
position:sticky;
top:0;
z-index:999;
background:rgba(10,10,15,.90);
backdrop-filter:blur(8px);
box-shadow:0 4px 15px rgba(0,0,0,.3);
}

/* NAV */
nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:0 40px; /* SIN padding vertical */
height:auto;
}

/* LOGO GRANDE */
.logo img{
height:90px;
display:block;
}

/* MENU */
.menu{
display:flex;
gap:30px;
align-items:center;
}

.menu a{
color:#eee;
text-decoration:none;
font-weight:600;
padding:8px 0;
line-height:1;
position:relative;
}

.menu a::after{
content:"";
position:absolute;
bottom:-4px;
left:0;
width:0%;
height:2px;
background:#4da3ff;
transition:.3s;
}

.menu a:hover::after{width:100%}

/* HAMBURGER */
.hamburger{
display:none;
font-size:26px;
color:white;
cursor:pointer;
}

/* HERO */
.banner{
background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
url('https://images.unsplash.com/photo-1518770660439-4636190af475');
background-size:cover;
background-position:center;
color:white;
text-align:center;
padding:140px 20px;
}

.banner h1{font-size:48px;margin-bottom:15px}
.banner p{font-size:20px;margin-bottom:30px}

.btn{
background:linear-gradient(135deg,#1f6feb,#4da3ff);
border:none;
padding:14px 28px;
border-radius:8px;
cursor:pointer;
font-weight:600;
color:white;
transition:.3s;
box-shadow:0 5px 20px rgba(0,0,0,.3);
}

.btn:hover{
transform:translateY(-3px);
box-shadow:0 8px 25px rgba(0,0,0,.5);
}

/* SECTIONS */
.section{
padding:80px 20px;
max-width:1200px;
margin:auto;
}

.section h2{
text-align:center;
margin-bottom:50px;
font-size:34px;
}

/* SERVICES */
.services{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.1);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card h3{padding:15px}
.card p{padding:0 15px 20px}

/* FOOTER */
footer{
background:#0f0f14;
color:#aaa;
padding:60px 20px 20px;
margin-top:40px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-section h3{color:white;margin-bottom:15px}

.footer-section a{
color:#bbb;
text-decoration:none;
display:block;
margin-bottom:8px;
}

.footer-section a:hover{color:#4da3ff}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid #333;
padding-top:15px;
font-size:14px;
}

/* RESPONSIVE */
@media(max-width:768px){

.logo img{
height:70px; /* más pequeño en móvil */
}

.menu{
position:absolute;
top:70px;
left:0;
width:100%;
background:#111;
flex-direction:column;
display:none;
}

.menu a{
padding:15px;
}

.hamburger{
display:block;
}

.banner h1{font-size:34px}
}