/* 
   HEADER
    */
header {
    display: flex;
    justify-content: space-around;
    align-items: first baseline;
    flex-wrap: wrap;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ─── BOTÓN MASCOTAS ─── */
.btn-mascota {
    padding: 10px;
    border: none;
    background-color: var(--color-white);
    border-radius: 0.5rem;
}

.btn-mascota a {
    color: var(--color-dark);
    text-decoration: underline;
    font-size: var(--font-base);
}

.btn-mascota:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/*
   BOTÓN HAMBURGUESA
    */
.menu-toggle {
    display: none;          /* Oculto en escritorio */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: var(--font-xl);
    cursor: pointer;
    margin: 0 auto;
}

/* 
   RESPONSIVE — Tablet y móvil (≤ 991px)
 */
@media (max-width: 991.98px) {

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: block;
    }

    /* Header en columna */
    header {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    /* Ocultar menú inicialmente */
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    /* Mostrar menú al hacer click */
    nav ul.active {
        display: flex;
    }
}
