html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
    color: #153661;
}

/* ===========================================================
   HEADER
=========================================================== */
.head {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    background: #153661;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.main-nav {
    width: 92%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-left { display: flex; align-items: center; padding-left: 10px; }
.nav-logo { width: 55px; }

/* NAV */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-right a,
.dropdown > a {
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    position: relative;
}

.nav-right a::after,
.dropdown > a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc33;
    transition: .3s;
}

.nav-right a:hover::after,
.dropdown > a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 220px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #153661;
    text-decoration: none;
}

.dropdown-menu a:hover { background: #e8f1ff; }

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ===========================================================
   CONTENIDO NOSOTROS
=========================================================== */
main { padding-top: 90px; }

.nosotros-info {
    padding: 60px 20px;
    text-align: center;
}

.nosotros-info h1 {
    font-size: 36px;
    margin-bottom: 35px;
    color: #153661;
}

/* Tarjetas */
.nosotros-card {
    background: #f8fbff;
    max-width: 750px;
    margin: 25px auto;
    padding: 30px;
    border-left: 5px solid #153661;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.nosotros-card h2 {
    margin-bottom: 15px;
    font-size: 26px;
    color: #153661;
}

.nosotros-card p {
    font-size: 18px;
    line-height: 1.6;
}

/* Redes sociales */
.nosotros-redes {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.nosotros-redes img {
    width: 40px;
    transition: .2s;
    cursor: pointer;
}

.nosotros-redes img:hover { transform: scale(1.15); }

/* Mapa */
.mapa-contenedor {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ===========================================================
   FOOTER
=========================================================== */
.footer {
    background: #153661;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    margin-top: 40px;
}

.footer-left img { height: 110px; }

.footer-center { text-align: center; }

.dev-name {
    margin: 3px 0;
    font-size: 20px;
    font-weight: bold;
    color: #ffcc33;
}

.footer-right {
    display: flex;
    gap: 15px;
}

.footer-right img {
    width: 32px;
    cursor: pointer;
    transition: .2s;
}

.footer-right img:hover { transform: scale(1.15); }

@media(max-width:768px){
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
