*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f4f6f9;
color:#333;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 60px;
background:#0d47a1;
}

.logo{
font-size:28px;
font-weight:bold;
color:white;
}

nav a{
color:white;
text-decoration:none;
margin-left:25px;
font-weight:bold;
}

nav a:hover{
color:#ffeb3b;
}

.hero{
padding:120px 30px;
text-align:center;
background:linear-gradient(135deg,#1565c0,#42a5f5);
color:white;
}

.hero h1{
font-size:50px;
margin-bottom:20px;
}

.hero p{
font-size:22px;
margin-bottom:40px;
}

.boton{

background:white;
color:#1565c0;
padding:15px 35px;
text-decoration:none;
font-weight:bold;
border-radius:8px;
transition:.3s;
}

.boton:hover{
background:#ffd54f;
}

.info,
.servicios{

display:flex;
gap:30px;
padding:60px;
justify-content:center;
flex-wrap:wrap;

}

.card{

background:white;
padding:30px;
width:360px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.12);

}

.card h2{
margin-bottom:20px;
color:#1565c0;
}

.card ul{
margin-left:20px;
margin-top:15px;
}

.pagina{

padding:60px;

}

.pagina h1{
text-align:center;
margin-bottom:40px;
color:#1565c0;
}

.contacto{

max-width:700px;
margin:auto;
background:white;
padding:40px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,.1);

}

input,
textarea{

width:100%;
padding:15px;
margin-top:20px;
border:1px solid #bbb;
border-radius:8px;

}

textarea{

height:180px;
resize:none;

}

button{

margin-top:20px;
background:#1565c0;
color:white;
padding:15px;
border:none;
border-radius:8px;
cursor:pointer;
font-size:17px;

}

button:hover{

background:#0d47a1;

}

footer{

margin-top:40px;
background:#0d47a1;
color:white;
padding:20px;
text-align:center;

}

@media(max-width:768px){

header{

flex-direction:column;

}

nav{

margin-top:20px;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:18px;

}

.info,
.servicios{

padding:30px;

}

.card{

width:100%;

}

.popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    justify-content:center;
    align-items:center;
}

.popup-contenido{
    background:#fff;
    padding:30px;
    border-radius:10px;
    width:350px;
    text-align:center;
}

.popup-contenido button{
    margin-top:20px;
    padding:10px 25px;
    cursor:pointer;
}

}