/* Navbar */
.site-header {
    position: sticky;
    top: 0;
    background: var(--blanco);
    border-bottom: 1px solid var(--gris-200);
    z-index: 1000;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-weight: 700;
    color: var(--azul-fuerte);
}

.nav-toggle {
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--gris-200);
    background: var(--blanco);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.is-open {
        display: flex;
        flex-direction: column;
    }
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    background: var(--gris-200);
}

.hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.25));
}

.hero-title {
    color: var(--blanco);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Secciones */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--gris-200);
    padding: 16px;
    text-align: center;
    color: var(--gris-700);
}

/* Navbar fijo */
/* Barra fija de 2 cm de alto, azul intenso */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2cm;
    /* altura exacta */
    background: #0d47a1;
    /* azul intenso */
    color: #ffffff;
    z-index: 2000;
    font-family: Tahoma, sans-serif;
    /* tipografía */
}

/* Contenedor interno */
/* Barra fija de 1,5 cm de alto, azul intenso */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5cm;
    /* altura exacta */
    background: #0d47a1;
    /* azul intenso */
    color: #ffffff;
    z-index: 2000;
    font-family: Tahoma, sans-serif;
    /* tipografía */
}

/* Contenedor interno */
.navbar {
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Logo */
.logo {
    font-size: 2rem;
    /* un poco más grande */
    font-weight: 400;
    /* sin negrita fuerte */
    color: #ffffff;
    text-decoration: none;
    font-family: Tahoma, sans-serif;
}

/* Menú principal */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    /* más pequeño */
    font-weight: 500;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1565c0;
    /* azul más claro para contraste */
    min-width: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-content li {
    padding: 8px 16px;
}

.dropdown-content li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    /* más pequeño */
}

.dropdown-content li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mostrar al pasar el mouse */
.dropdown:hover .dropdown-content {
    display: block;
}