

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#020617;
color:white;
overflow-x:hidden;
}

/* NAVBAR */

nav{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:rgba(2,6,23,0.95);
position:sticky;
top:0;
z-index:1000;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
display:flex;
align-items:center;
gap:12px;
font-size:28px;
font-weight:700;
color:#38bdf8;
padding:8px 18px;
border-radius:14px;
}

.logo img{
width:55px;
padding:5px;
border-radius:12px;
background:#0f172a;
box-shadow:
0 0 10px rgba(56,189,248,.5),
0 0 20px rgba(56,189,248,.3);
}
.logo:hover img{
transform:rotate(5deg) scale(1.05);
}



nav a{
color:white;
text-decoration:none;
margin-left:25px;
transition:0.3s;
font-weight:500;
}

nav a:hover{
color:#38bdf8;
}

/* HERO */

.hero{
min-height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:120px 8%;
background:
linear-gradient(rgba(2,6,23,0.55),rgba(2,6,23,0.65)),
url('https://images.openai.com/static-rsc-4/zZBNJackWfrsWAzsuq2vk2lGE9GWHJ-2_Sg_XOHu69aoYP7nMK2-V0B2bbIhSVZ95mNsczN9C3kbKpSCk7KEIh7R8IJfwdFjdSjBazlh6GVYy6oCffWU_SgBmn78n3iY59v3_ucRKBkE8DPmMfrloEmf3docuPmI0CLjuDMMvZGb4sfK0rcEMslKfqh203GC?purpose=fullsize');
background-size:cover;
background-position:center;
position:relative;
overflow:hidden;

}
/* Animacion HERO */

@media(max-width:768px){

.hero{
padding:100px 25px;
min-height:80vh;
}

.hero h1{
font-size:38px;
line-height:1.3;
}

.hero p{
font-size:16px;
line-height:1.7;
}

}

.hero::before{
content:'';
position:absolute;
width:500px;
height:500px;
background:#0ea5e9;
filter:blur(140px);
opacity:0.15;
top:-100px;
right:-100px;
border-radius:50%;
}

.hero-content{
max-width:900px;
position:relative;
z-index:2;
}

.hero h1{
font-size:65px;
margin-bottom:25px;
line-height:1.2;
}

.hero p{
font-size:20px;
line-height:1.8;
color:#cbd5e1;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:15px 35px;
background:#0ea5e9;
color:white;
text-decoration:none;
border-radius:12px;
font-weight:600;
transition:0.3s;
}

.btn:hover{
background:#0284c7;
transform:translateY(-5px);
}

/* SERVICIOS */

.servicios{
padding:100px 8%;
}

.titulo{
text-align:center;
margin-bottom:70px;
}

.titulo h2{
font-size:45px;
margin-bottom:15px;
}

.titulo p{
color:#94a3b8;
}

@media(max-width:768px){

.cards{
grid-template-columns:1fr;
}

.card img{
height:220px;
}

}
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:35px;
}

.card{
background:rgba(15,23,42,0.85);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border-radius:20px;
overflow:hidden;
transition:0.4s;
border:1px solid rgba(255,255,255,0.06);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(14,165,233,0.25);
}

.card img{
width:100%;
height:240px;
object-fit:cover;
filter:brightness(0.85);
transition:0.5s;
}

.card:hover img{
transform:scale(1.05);
filter:brightness(1);
}

.card-content{
padding:30px;
}

.card-content h3{
font-size:25px;
margin-bottom:15px;
color:#38bdf8;
}

.card-content p{
line-height:1.8;
color:#cbd5e1;
}

/* INFO */
@media(max-width:768px){

.info-container{
flex-direction:column;
}

.info-text,
.info-img{
width:100%;
}

.info-text h2{
font-size:34px;
text-align:center;
}

.info-text p{
text-align:center;
}

}

.info{
padding:100px 8%;
background:#0f172a;
}

.info-container{
display:flex;
align-items:center;
gap:60px;
flex-wrap:wrap;
}

.info-img{
flex:1;
}

.info-img img{
width:100%;
border-radius:20px;
}

.info-text{
flex:1;
}

.info-text h2{
font-size:45px;
margin-bottom:25px;
}

.info-text p{
line-height:1.9;
color:#cbd5e1;
margin-bottom:20px;
}

/* WHATSAPP */
@media(max-width:768px){

.whatsapp{
width:60px;
height:60px;
bottom:20px;
right:20px;
}

.whatsapp img{
width:32px;
}

}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
z-index:1000;
background:#25D366;
width:70px;
height:70px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
box-shadow:
0 0 15px rgba(37,211,102,.7),
0 0 35px rgba(37,211,102,.5);
transition:.4s;
animation:pulse 2s infinite;
}

.whatsapp img{
width:38px;
}

.whatsapp:hover{
transform:scale(1.12);
}

@keyframes pulse{
0%{transform:scale(1);}
50%{transform:scale(1.08);}
100%{transform:scale(1);}
}

/* FOOTER */
@media(max-width:768px){

footer{
padding:30px 20px;
}

footer h3{
font-size:24px;
}

footer p{
font-size:14px;
line-height:1.7;
}

}

footer{
background:#020617;
text-align:center;
padding:35px;
color:#94a3b8;
border-top:1px solid rgba(255,255,255,0.05);
}

footer h3{
color:#38bdf8;
font-size:28px;
margin-bottom:10px;
}

/* RESPONSIVE */

@media(max-width:768px){

nav{
flex-direction:column;
gap:15px;
padding:20px;
}

.logo{
width:100%;
justify-content:center;
}

nav div{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
}

nav a{
margin-left:0;
font-size:15px;
}

}