*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color:#1f2f3a;
    background:#f5f5f5;
}

header{
    background:#ffffff;
    border-bottom:1px solid #ddd;
    position:sticky;
    top:0;
    z-index:10;
}

.contenedor{
    max-width:1180px;
    margin:auto;
    padding:0 22px;
}

.barra{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:16px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:26px;
    font-weight:bold;
    color:#263f58;
}

.logo img{
    height:56px;
    width:auto;
}

nav a{
    color:#263f58;
    text-decoration:none;
    font-weight:bold;
    margin-left:18px;
}

.hero{
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)), url("../img/IMG_1783.jpg") center/cover;
    color:white;
    padding:110px 22px;
    text-align:center;
}

.hero h1{
    font-size:44px;
    margin:0 0 16px;
}

.hero p{
    font-size:22px;
    max-width:850px;
    margin:0 auto 28px;
}

.boton{
    display:inline-block;
    background:#e4a11b;
    color:#111;
    padding:14px 24px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

section{
    padding:58px 0;
}

h2{
    text-align:center;
    font-size:34px;
    margin:0 0 32px;
    color:#263f58;
}

p{
    font-size:18px;
    line-height:1.65;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:22px;
}

.card{
    background:white;
    padding:24px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.card h3{
    margin-top:0;
    color:#263f58;
}

.destacado{
    background:#263f58;
    color:white;
}

.destacado h2{
    color:white;
}

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.galeria img{
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:9px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
    background:#ddd;
}

.contacto{
    text-align:center;
}

.contacto p{
    margin:8px 0;
}

footer{
    background:#172736;
    color:white;
    text-align:center;
    padding:24px;
}

footer a{
    color:white;
}

@media(max-width:760px){
    .barra{
        flex-direction:column;
    }

    nav a{
        display:inline-block;
        margin:8px;
    }

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

    .hero p{
        font-size:19px;
    }
}
