*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fb;
    color:#333;
}

header{
    background:#0a4f93;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    background:white;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-weight:bold;
}

.hero{
    display:flex;
    align-items:center;
    padding:50px;
    gap:40px;
    background:white;
}

.hero img{
    width:50%;
    border-radius:15px;
}

.hero-texto{
    width:50%;
}

.hero h2{
    font-size:40px;
    color:#0a4f93;
}

.hero p{
    margin:20px 0;
    line-height:1.6;
}

.boton{
    background:#0a4f93;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
}

section{
    padding:60px;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    color:#0a4f93;
}

.productos{
    display:flex;
    justify-content:center;
    gap:30px;
}

.card{
    width:300px;
    background:white;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    overflow:hidden;
    text-align:center;
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    margin:15px;
}

.card p{
    padding:0 15px 20px;
}

.nosotros{
    display:flex;
    gap:40px;
    align-items:center;
}

.nosotros img{
    width:400px;
    border-radius:15px;
}

.nosotros p{
    margin-top:15px;
    line-height:1.7;
}

.imagenes{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.placeholder{
    height:220px;
    border:3px dashed #0a4f93;
    display:flex;
    align-items:center;
    justify-content:center;
    background:white;
    color:#777;
    font-size:20px;
}

.contacto{
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.mapa{
    width:350px;
    height:250px;
    border:3px dashed #0a4f93;
    display:flex;
    justify-content:center;
    align-items:center;
    background:white;
}

.qr img{
    width:180px;
}

footer{
    background:#0a4f93;
    color:white;
    text-align:center;
    padding:20px;
}

@media(max-width:900px){

.hero{
    flex-direction:column;
}

.hero img,
.hero-texto{
    width:100%;
}

.productos{
    flex-direction:column;
    align-items:center;
}

.nosotros{
    flex-direction:column;
}

.contacto{
    flex-direction:column;
    align-items:center;
}

.imagenes{
    grid-template-columns:1fr;
}

}
